[gstreamer-bugs] [Bug 531236] [0.11][gstvalue] Deserialization not correct

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon May 5 02:22:09 PDT 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=531236

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[gstvalue] Deserialization  |[0.11][gstvalue]
                   |not correct                 |Deserialization not correct




------- Comment #2 from Sebastian Dröge  2008-05-05 09:22 UTC -------
Ok, so we're currently deserializing "-1" into unsigned integer types and allow
deserializing out of range values into several integer types.

Fixing this might break other things so we should probably wait for this until
0.11 and clean everything up and make it more strict then.

It might make sense to use a copy of GLib's internal g_parse_long_long() for
this as it will give the magnitude of values and it's sign so we can reliably
detect all kind of weird things that happen because of overflows currently.


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




More information about the Gstreamer-bugs mailing list