[Live-devel] Crash in parseRTSPRequestString()
Anton Yabchinskiy
arn at bestmx.ru
Thu Oct 10 01:57:18 PDT 2013
Hello,
First of all, I'm aware that this message is kind of sparse in detail,
and there is no possibility to gather more information now (the
customers problem is solved and he's lost). But maybe it'll lead you to
some clues.
The RTSP server is an IP camera, connected with RTP/AVP/TCP. Looks like
the actual crash happened on this line of RTSPCommon.cpp, in
parseRTSPRequestString():
while (k2 <= k1 - 1) resultURLPreSuffix[n++] = reqStr[k2++];
The quick fix was to remove the call to handleIncomingRequest() in
RTSPClient.cpp:
if (!parseResponseCode(lineStart, responseCode, responseStr)) {
// This does not appear to be a RTSP response; perhaps it's a RTSP request instead?
handleIncomingRequest();
break; // we're done with this data
}
That's all that's known. I'll provide more info if we'll encounter it
again, or if there will be access to the camera.
If it's of no help at all, please ignore this message.
Regards.
More information about the live-devel
mailing list