[gstreamer-bugs] [Bug 462085] registry feature hash can access invalid memory

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 31 04:53:03 PDT 2007


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

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Jan Schmidt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.14




------- Comment #2 from Jan Schmidt  2007-07-31 11:53 UTC -------
Committed after a brief review on IRC:

2007-07-31  Jan Schmidt  <thaytan at mad.scientist.com>

        * gst/gstregistry.c: (gst_registry_add_feature):
        When replacing an existing feature in the registry, make sure to
        continue holding a reference until we've replaced the name string
        within our feature hash table. Make sure to use g_hash_table_replace
        instead of g_hash_table_insert to ensure the new name string is used
        as a key instead of the old one that we're about to free.
        Fixes: #462085


-- 
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=462085.




More information about the Gstreamer-bugs mailing list