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 407797 - bug of rtsp_url_parse() in gst/rtsp/rtspurl.c
bug of rtsp_url_parse() in gst/rtsp/rtspurl.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.5
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-14 09:14 UTC by jp.liu
Modified: 2007-02-14 10:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jp.liu 2007-02-14 09:14:24 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.
Comment 1 Wim Taymans 2007-02-14 10:10:08 UTC
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.