[Bug 796835] srtpdec: remove bogus check that accesses uninitialized memory

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 20 06:54:03 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796835

Michael Olbrich <m.olbrich at pengutronix.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #373092|reviewed                    |none
             status|                            |
 Attachment #373092|0                           |1
        is obsolete|                            |

--- Comment #4 from Michael Olbrich <m.olbrich at pengutronix.de> ---
Created attachment 373097
  --> https://bugzilla.gnome.org/attachment.cgi?id=373097&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