[Live-devel] SIGABRT in base64Decode in liveMedia/Base64.cpp

Piers Hawksley piers.hawksley at panogenics.com
Fri Jun 27 04:40:31 PDT 2014


Hi Ross,

The new version has been running for over 3 hours and it successfully 
combines split base 64 encoded GET_PARAMETER requests:

RTSPClientConnection[0x1de840]::handleRequestBytes() read 271 new 
bytes:R0VUX1BBUkFNRVRFUiBydHNwOi8vMTAuMjYuNy4xMjA6ODU1NC9zdHJlYW05LyBSVFNQLzEuMA0KQ1NlcTogNzINCkF1dGhvcml6YXRpb246IERpZ2VzdCB1c2VybmFtZT0iQWRtaW4iLCByZWFsbT0iTElWRTU1NSBTdHJlYW1pbmcgTWVkaWEiLCBub25jZT0iZjYzMjhiZDNhNzE3MDJjYmE1OWVkYzg3NGJlNmU3ZjQiLCB1cmk9InJ0c3A6Ly8xMC4yNi43LjE
Base64-decoded 268 input bytes into 201 new bytes:GET_PARAMETER 
rtsp://10.26.7.120:8554/stream9/ RTSP/1.0
CSeq: 72
Authorization: Digest username="Admin", realm="LIVE555 Streaming Media", 
nonce="f6328bd3a71702cba59edc874be6e7f4", uri="rtsp://10.26.7
RTSPClientConnection[0x1de840]::handleRequestBytes() read 201 new 
bytes:yMDo4NTU0L3N0cmVhbTkvIiwgcmVzcG9uc2U9IjdkODkyNjk4MjZiYmQxNjA2ZmVjMTE5MDVlODk1MGIzIg0KVXNlci1BZ2VudDogTGliVkxDLzIuMS4zIChMSVZFNTU1IFN0cmVhbWluZyBNZWRpYSB2MjAxNC4wMS4yMSkNClNlc3Npb246IDZBRkEwQ0Y5DQoNCg==
Base64-decoded 204 input bytes into 151 new bytes:.120:8554/stream9/", 
response="7d89269826bbd1606fec11905e8950b3"
User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)
Session: 6AFA0CF9


parseRTSPRequestString() succeeded, returning cmdName "GET_PARAMETER", 
urlPreSuffix "stream9", urlSuffix "", CSeq "72", Content-Length 0, with 
3 bytes following the message.
sending response: RTSP/1.0 200 OK
CSeq: 72
Date: Fri, Jun 27 2014 09:38:13 GMT
Session: 6AFA0CF9
Content-Length: 10

2014.06.27RTSPClientConnection[0x1de840]::handleRequestBytes() 
processing 3 new bytes:pYS

Is the last line (handleRequestBytes() processing 3 new bytes) expected 
? This only occurs (in the debug I have) when the GET_PARAMETER  request 
is split.

Many thanks for fixing this,

Piers



More information about the live-devel mailing list