<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Ross,<br>
<br>
it seems that the special case test in
RTSPClient::handleGET_PARAMETERResponse() fails when this correct
response is sent :<br>
<br>
RTSP/1.0 200 OK
\r\n<br>
CSeq: 2
\r\n<br>
Date: Wed, Feb 28 2018 10:34:20 GMT
\r\n<br>
Session: 55879070\r\n<br>
\r\n<br>
<br>
In this case I get a parameterName="\r\n" (strlen=2) and
resultValueString=resultValueStringEnd, which fails at <br>
if (resultValueString == resultValueStringEnd) break;<br>
<br>
Proposed correction :<br>
<br>
--- if (strncasecmp(resultValueString, parameterName,
parameterNameLen) == 0) {<br>
+++ if (parameterNameLen && _strncasecmp(resultValueString,
parameterName, parameterNameLen) == 0) {<br>
<br>
Regards,<br>
<br>
Eric Heurtel - SOUND4<br>
</body>
</html>