GNOME Bugzilla – Bug 407797
bug of rtsp_url_parse() in gst/rtsp/rtspurl.c
Last modified: 2007-02-14 10:10:08 UTC
there is a bug of rtsp_url_parse() in gst/rtsp/rtspurl.c. It will be crashed when parse rtsp url which have password. like rtsp://ada:1234@foo.com/foo.avi Change the code res->passwd = g_strndup (col, col - at); to res->passwd = g_strndup (col, at - col); It will works well.
Thanks! Patch by: jp.liu <jp_liu at astrocom dot cn> * gst/rtsp/rtspurl.c: (rtsp_url_parse): Fix parsing of password field in url. Fixes #407797.