GNOME Bugzilla – Bug 762850
jpeg encoder: initialize VAEncSliceParameterBufferJPEG before using it
Last modified: 2016-02-29 10:03:44 UTC
Created attachment 322624 [details] [review] Add memset to initialize VAEncSliceParameterBufferJPEG before using it. We are using to Klockwork(KW) tool to scan code based for gstreamer-vaapi. It is hitting the critical severity in the KW report. It should be doing initialize first before start use it. Else it could be possibility chance using the garbage value.
Pushed, thanks for the patch commit 0bae36bb88324c9cbc94477ef8a0c2be797db18d Author: Lim Siew Hoon <siew.hoon.lim@intel.com> Date: Mon Feb 29 11:55:27 2016 +0200 Add memset to initialize value for VAEncSliceParameterBufferJPEG https://bugzilla.gnome.org/show_bug.cgi?id=762850 Please add bugzilla link to the commit message next time onward :)