[Bug 740672] New: queue2 : get_buffering_percent() returns negative percentage may cause segmentation fault

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 25 00:10:23 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740672
  GStreamer | gstreamer (core) | 1.2.3

           Summary: queue2 : get_buffering_percent() returns negative
                    percentage may cause segmentation fault
    Classification: Platform
           Product: GStreamer
           Version: 1.2.3
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mingke.wang at freescale.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=291435)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=291435)
make sure percent >=0 before returning the buffering percent.

get_buffering_percent() has chance to return a negative percentage value. then
gst_message_new_buffering() in update_buffering() returns a NULL message, that
will cause a segmentation fault in gst_message_set_buffering_stats().

-- 
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