[gstreamer-bugs] [Bug 376594] id3demux crashes when reading compressed ID3 frames

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Nov 19 05:25:04 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=376594

  GStreamer | gst-plugins-good | Ver: 0.10.x


Jan Schmidt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thaytan at mad.scientist.com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from Jan Schmidt  2006-11-19 13:23 UTC -------
Thanks!

In my defence, this code was completely untested, because I'd never actually
seen a file with a compressed frame.

Patch committed to CVS:
        * gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame):
        Make sure that g_free always gets called on the same pointer that was
        returned by g_malloc.  Fixes #376594.
        Do not leak memory if decompressed size is wrong.
        Remove unneeded check of return value of g_malloc.
        Patch by: René Stadler <mail at renestadler.de>


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list