mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-06-10 16:47:14 +00:00
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.