[Bug 796835] srtpdec: remove bogus check that accesses uninitialized memory
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jul 19 15:29:28 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796835
--- Comment #1 from Michael Olbrich <m.olbrich at pengutronix.de> ---
Created attachment 373092
--> https://bugzilla.gnome.org/attachment.cgi?id=373092&action=edit
srtpdec: remove bogus check that accesses uninitialized memory
'buf' is uninitialized if gst_structure_get() returns FALSE so it makes no
sense to check it. If gst_structure_get() returns TRUE, then 'buf' point to
a valid buffer that should be used and there is no need to check 'buf'
again.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list