VLC crashes on RTSP unauthorized response if WWW-Authenticate not returned
VLC 1.1.9 and 1.2-git are crashing on RTSP request, if the reply is Unauthorized without WWW-Authenticate followed by Close as below:
OPTIONS rtsp://192.168.1.22/test.sdp RTSP/1.0
CSeq: 2
User-Agent: LibVLC/1.1.9 (LIVE555 Streaming Media v2011.01.06)
RTSP/1.0 200 OK
Server: Streamer
Cseq: 2
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD
DESCRIBE rtsp://192.168.1.22/test.sdp RTSP/1.0
CSeq: 3
User-Agent: LibVLC/1.1.9 (LIVE555 Streaming Media v2011.01.06)
Accept: application/sdp
RTSP/1.0 401 Unauthorized
Server: Streamer
Cseq: 3
nection: Close}}}