[gstreamer-bugs] [Bug 373003] debug traces prevent segmentation fault when playing RTSP/RTP

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Nov 15 09:47:06 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=373003

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





------- Comment #4 from Wim Taymans  2006-11-15 17:45 UTC -------
Tried with vlc myself and made the following patch to fix a crasher due to
invalid memory access:

        * gst/rtsp/rtspconnection.c: (read_body):
        Don't set a data pointer to NULL and a size > 0 when we deal
        with empty packets.

        * gst/rtsp/rtspmessage.c: (rtsp_message_new_response),
        (rtsp_message_init_response), (rtsp_message_init_data),
        (rtsp_message_unset), (rtsp_message_free),
        (rtsp_message_take_body):
        Check that we can't create invalid empty packets.

Does that also fix it for you?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list