]> git.ipfire.org Git - thirdparty/curl.git/commit
mqtt: handle POST/PUBLISH without a set POSTFIELDSIZE
authorDaniel Stenberg <daniel@haxx.se>
Thu, 17 Dec 2020 12:34:38 +0000 (13:34 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Dec 2020 11:54:05 +0000 (12:54 +0100)
commitdebf23eead5a67b82bae668929c798196a42adc3
tree4161cb9af5e7ccb8638c89e63dfb6fbac9c8d6d5
parent92fe66c5109211519df1ef32d752dbecc34e53c7
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
lib/mqtt.c
tests/data/Makefile.inc
tests/data/test1198
tests/data/test1199
tests/data/test1916 [new file with mode: 0644]
tests/data/test1917 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1916.c [new file with mode: 0644]