From a8f72c67d1ce4ed6256b59fd07f2ed1a08bf68fb Mon Sep 17 00:00:00 2001 From: "jp.liu" Date: Wed, 14 Feb 2007 10:09:12 +0000 Subject: gst/rtsp/rtspurl.c: Fix parsing of password field in url. Fixes #407797. Original commit message from CVS: Patch by: jp.liu * gst/rtsp/rtspurl.c: (rtsp_url_parse): Fix parsing of password field in url. Fixes #407797. --- ChangeLog | 7 +++++++ gst/rtsp/rtspurl.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f2360e2c..c5c80783 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-02-14 Wim Taymans,,, + + Patch by: jp.liu + + * gst/rtsp/rtspurl.c: (rtsp_url_parse): + Fix parsing of password field in url. Fixes #407797. + 2007-02-14 Wim Taymans,,, * gst/wavparse/gstwavparse.c: (gst_wavparse_class_init), diff --git a/gst/rtsp/rtspurl.c b/gst/rtsp/rtspurl.c index dd735565..6ef0220e 100644 --- a/gst/rtsp/rtspurl.c +++ b/gst/rtsp/rtspurl.c @@ -95,7 +95,7 @@ rtsp_url_parse (const gchar * urlstr, RTSPUrl ** url) res->user = g_strndup (p, col - p); col++; - res->passwd = g_strndup (col, col - at); + res->passwd = g_strndup (col, at - col); /* move to host */ p = at + 1; -- cgit