]> granicus.if.org Git - php/commit
Limit max length for parser fuzzer
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 26 Sep 2019 08:45:47 +0000 (10:45 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 26 Sep 2019 08:45:47 +0000 (10:45 +0200)
commit7e295da81c83e0e059684567889cf1ff09b3693e
tree2d44eb764880e0e6b28c034abf4b2638fd61d645
parentadcc07dd442be46b3a967fbe2fa2eeb721b3d0f1
Limit max length for parser fuzzer

We're getting some very large inputs (~500KB) on OSS-Fuzz, which
slot down performance a lot. Let's try limiting this, starting
with a still fairly large value of 64KB.

Also remove the max_execution_time limit, so that slow test cases
cause a genuine libfuzzer timeout and we may investigate them.
sapi/fuzzer/fuzzer-parser.c
sapi/fuzzer/fuzzer-sapi.c