[Bug 728987] New: qtdemux: 'caps' may be used uninitialized in this function.
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Apr 25 14:53:48 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=728987
GStreamer | gst-plugins-good | git
Summary: qtdemux: 'caps' may be used uninitialized in this
function.
Classification: Platform
Product: GStreamer
Version: git
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: luis at debethencourt.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
When building with -Werror=maybe-uninitialized we get:
qtdemux.c: In function 'qtdemux_parse_tree':
qtdemux.c:7480:18: error: 'caps' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
stream->caps =
^
qtdemux.c:10459:12: note: 'caps' was declared here
GstCaps *caps;
^
Because in qtdemux_video_caps not all cases set the caps pointer to a value and
the pointer isn't initialized at declaration.
Please confirm so I can push.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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