Hi Ross,

it seems that the special case test in RTSPClient::handleGET_PARAMETERResponse() fails when this correct response is sent :

RTSP/1.0 200 OK \r\n
CSeq: 2 \r\n
Date: Wed, Feb 28 2018 10:34:20 GMT \r\n
Session: 55879070\r\n
\r\n

In this case I get a parameterName="\r\n" (strlen=2) and resultValueString=resultValueStringEnd, which fails at
if (resultValueString == resultValueStringEnd) break;

Proposed correction :

--- if (strncasecmp(resultValueString, parameterName, parameterNameLen) == 0) { +++ if (parameterNameLen && _strncasecmp(resultValueString, parameterName, parameterNameLen) == 0) {

Regards,

Eric Heurtel - SOUND4
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to