mirror of
https://github.com/curl/curl.git
synced 2025-03-07 15:27:17 +08:00
- enforce a response body length of 0, if the
response has no Content-lenght. This is according
to the RTSP spec.
- excess bytes in a response body are forwarded to
the client writers which will report and fail the
transfer
Follow-up to d7b6ce6
Fixes #12701
Closes #12706
54 lines
591 B
Plaintext
54 lines
591 B
Plaintext
<testcase>
|
|
|
|
#Informational
|
|
<info>
|
|
<keywords>
|
|
RTSP
|
|
OPTIONS
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
RTSP/7.1 786
|
|
|
|
RTSP/
|
|
</data>
|
|
<datacheck>
|
|
</datacheck>
|
|
</reply>
|
|
|
|
# Client-Side
|
|
<client>
|
|
<server>
|
|
rtsp
|
|
</server>
|
|
<tool>
|
|
lib567
|
|
</tool>
|
|
|
|
<name>
|
|
fuzzing crash issue #12701
|
|
</name>
|
|
<command>
|
|
rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
<verify>
|
|
<protocol>
|
|
OPTIONS rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER RTSP/1.0
|
|
CSeq: 1
|
|
User-Agent: test567
|
|
Test-Number: 567
|
|
|
|
</protocol>
|
|
# 8 == CURLE_WEIRD_SERVER_REPLY
|
|
<errorcode>
|
|
8
|
|
</errorcode>
|
|
</verify>
|
|
|
|
</testcase>
|