[gstreamer-bugs] [Bug 510592] Race condition in WAVE parser

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Jan 19 06:53:38 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=510592

  GStreamer | gst-plugins-good | Ver: HEAD CVS

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at circular-chaos.org
 Attachment #103193|none                        |committed
               Flag|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.7




------- Comment #2 from Sebastian Dröge  2008-01-19 14:53 UTC -------
Thanks, committed. There actually was no way to get a double free (the only
points where this label is used are before the free) but there was a usage of
the variable after free (invalid_blockalign label).

Thanks for spotting.

2008-01-19  Sebastian Dröge  <slomo at circular-chaos.org>

        Based on a patch by:
            Victor STINNER <victor dot stinner at haypocalc dot com>

        * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
        Set variable to NULL after freeing it to prevent double frees
        or make failures by another use of it afterwards more obvious
        and fix use of it after the freeing.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=510592.




More information about the Gstreamer-bugs mailing list