mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-12-05 22:18:27 +00:00
* Add chunked_decoder_fuzzer and a seed corpus for multipart_parser_fuzzer * Apply clang-format to chunked_decoder_fuzzer.cc * Simplify chunked_decoder_fuzzer and tidy the seed corpora read_content_chunked() only touches the trailers and headers, which Request and Response share, so decoding into both ran the same code. Decode into a Response only. Drop the SIZE_MAX limit as well: fuzz inputs never get near the 100MB default, so both take the same branches. Adjust the first byte of the chunked seeds to the new selector, and remove the seed for SIZE_MAX. Drop the duplicated number prefixes from the multipart seed names, run both new corpora from the "all" target, and keep the fuzzer rules in the order of FUZZERS. --------- Co-authored-by: Sai Viswas Basetti <saiviswasbasettitw@gmail.com> Co-authored-by: yhirose <yuji.hirose.bug@gmail.com>
21 B
21 B