[MPlayer-dev-eng] Idea for possible change

Attila Kinali attila at kinali.ch
Sat Jul 31 04:25:46 CEST 2004


On Sat, Apr 03, 2004 at 05:37:21AM +0000, adland wrote:
> problem reported in user mailinglist recently as issue
> url from a playlist with special characters (like " or space)
> in parameters fails 
> 
> [quote]
> 
> Playing 
> rtsp://media1.abc.net.au/rn/mod/atback_29032004_2856.rm?title="Australia 
> Talks Back - 29/03/2004".
> librtsp: buffer overflow in rtsp_get
> 
> possible fix which seems to work is to change libmpdemux/open.c
> to escape the characters for stream url.
> 
> I used the existing function from libmpdemux/url.c
> 
> (Thinking also should limit to only certain protocols like rtsp)

could someone please comment this patch ?

The printf should be changed to mp_msg, but otherwise it
looks ok.

		Attila Kinali




More information about the MPlayer-dev-eng mailing list