mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:03:52 +03:00
mqtt: handle POST/PUBLISH without a set POSTFIELDSIZE
Detected by OSS-Fuzz Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28735 Added test 1916 and 1917 to verify. Closes #6338
This commit is contained in:
parent
92fe66c510
commit
debf23eead
8 changed files with 191 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ mqtt
|
|||
MQTT PUBLISH empty payload, single space topic
|
||||
</name>
|
||||
<command option="binary-trace">
|
||||
"mqtt:/%HOSTIP:%MQTTPORT/ " -d ""
|
||||
mqtt://%HOSTIP:%MQTTPORT/%20 -d ""
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue