]> granicus.if.org Git - curl/commit
RTSP: catch attempted unsupported requests better
authorDaniel Stenberg <daniel@haxx.se>
Fri, 22 May 2015 14:32:42 +0000 (16:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 May 2015 14:32:42 +0000 (16:32 +0200)
commitfda0e74c226b75a1379f43c46a0e0de4297eb9fc
tree80bf8d0ff6aa9314565d7591b77d3ab8a34eeaa7
parent03e2a9b023f60c2190c2b8590f16b2a4f83f21a9
RTSP: catch attempted unsupported requests better

Replace use of assert with code that properly catches bad input at
run-time even in non-debug builds.

This flaw was sort of detected by Coverity CID 1299425 which claimed the
"case RTSPREQ_NONE" was dead code.
lib/rtsp.c