GNOME Bugzilla – Bug 544306
rtspsrc debug=1 segfaults with some libc
Last modified: 2008-07-23 13:17:29 UTC
printf(" %s", NULL); segfaults on most non glibc libcs. when running rtspsrc with debug=1, gstreamer segfaults in libgstsdp. GST_STR_NULL can be used to fix this, patch follows.
Created attachment 115087 [details] [review] gstsdp segfaults in print_media on windows
Committed, thanks: 2008-07-23 Tim-Philipp Müller <tim.muller at collabora co uk> Patch by: Damien Lespiau <damien.lespiau gmail com> * gst-libs/gst/sdp/gstsdpmessage.c: (print_media): Use GST_STR_NULL to avoid crashes with libcs that don't like NULL strings in printf args (such as the win32 one). Fixes #544306.