GNOME Bugzilla – Bug 748351
codecanalyzer: prevent corruption due to uninitialized variable
Last modified: 2015-04-23 11:34:51 UTC
xml_files_path and hex_files_path variable are not initialized. There are chances that corruption happens when uninitialized variables are freed. hence initializing the same to NULL before use. and made two trivial fixes to remove unused variables.
Created attachment 302202 [details] [review] initialize variables before using
Thanks, but in future please submit indentation changes separately from the actual fix: commit 1f58db52bfb51f979e0e1db78471841e4ee68253 Author: Vineeth T M <vineeth.tm@samsung.com> Date: Thu Apr 23 15:53:12 2015 +0900 codecanalyzer: don't try to free uninitialized pointers xml_files_path and hex_files_path variable are not initialized. There are chances that corruption happens when uninitialized variables are freed, so init them to NULL before use. https://bugzilla.gnome.org/show_bug.cgi?id=748351 commit f700eaef8fdb62b77ce4c671d3234b86e5c8e821 Author: Tim-Philipp Müller <tim@centricular.com> Date: Thu Apr 23 12:23:24 2015 +0100 codecanalyzer: run gst-indent on code