[gstreamer-bugs] [Bug 639136] New: [oggparse]code is not safe when using libogg fuctions

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 10 03:37:03 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=639136
  GStreamer | gst-plugins-base | unspecified

           Summary: [oggparse]code is not safe when using libogg fuctions
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: xichuan.yang at tieto.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=177920)
 View: https://bugzilla.gnome.org/attachment.cgi?id=177920
 Review: https://bugzilla.gnome.org/review?bug=639136&attachment=177920

make it safer

The fuction "gst_ogg_parse_submit_buffer"in file gstoggparse.c using the libogg
fuctions:"ogg_sync_buffer, ogg_sync_wrote" to submit the given buffer to the
ogg sync, but it didn't judge the return values. That's not safe. So I did this
change form the fuction "gst_ogg_demux_submit_buffer" int file gstoggdemux.c
Here is the patch:

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