mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-06-10 16:47:14 +00:00
Add OSS-Fuzz #508370122 reproducer to client_fuzzer corpus
Same root cause as #508342856 (fixed in2d2efe4): an oversized Content-Length value (here 4467440718547775) caused res.body.reserve() to attempt a multi-petabyte allocation. The UBSAN fuzzer job surfaced it as a std::bad_alloc-driven abort, while the ASAN job for #508342856 reported it as allocation-size-too-big. The payload_max_length_ cap introduced in2d2efe4already addresses both.
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
HTTP/1.1 777
|
||||||
|
Content-Length:446744071854775
|
||||||
|
|
||||||
Reference in New Issue
Block a user