[gstreamer-bugs] [Bug 501560] gst_(caps|structure)_from_string() crash if structure name is invalid

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Dec 8 04:56:22 PST 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=501560

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #100578|none                        |committed
               Flag|                            |
         AssignedTo|t.i.m at zen.co.uk             |gstreamer-
                   |                            |bugs at lists.sourceforge.net
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.16




------- Comment #3 from Tim-Philipp Müller  2007-12-08 12:56 UTC -------

 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/gststructure.c: (gst_structure_validate_name),
          (gst_structure_new_valist), (gst_structure_parse_value),
          (gst_structure_from_string):
          Don't crash in _from_string() if the structure name is not valid
          (fixes #501560).  Allow structure names to start with a number
          again (this apparently broke the ubuntu codec installer).

        * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
          (GST_START_TEST):
          Add unit test for the crash; update unit tests for new behaviour.


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




More information about the Gstreamer-bugs mailing list