After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 347337 - GDP does not correctly deserialize events without a structure/payload
GDP does not correctly deserialize events without a structure/payload
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.8
Other Linux
: Normal blocker
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-12 19:22 UTC by Thomas Vander Stichele
Modified: 2006-07-13 16:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to correctly deserialize "empty" events instead of segfaulting (1.44 KB, text/x-patch)
2006-07-12 19:22 UTC, Thomas Vander Stichele
Details

Description Thomas Vander Stichele 2006-07-12 19:22:06 UTC
instead, it segfaults.  The payload can be 0, and hence the structure should be NULL when deserializing.

patch attached.
Comment 1 Thomas Vander Stichele 2006-07-12 19:22:55 UTC
Created attachment 68833 [details]
patch to correctly deserialize "empty" events instead of segfaulting
Comment 2 Jan Schmidt 2006-07-13 09:34:35 UTC
Looks fine, please commit