mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Reduce input size limit in execute fuzzer
We only have 4 Zend test cases > 8k. Large inputs tend to just make things slower.
This commit is contained in:
parent
4a2ae84188
commit
af0ba0b2d3
@ -20,7 +20,7 @@
|
||||
#include "fuzzer-sapi.h"
|
||||
|
||||
#define MAX_STEPS 1000
|
||||
#define MAX_SIZE (16 * 1024)
|
||||
#define MAX_SIZE (8 * 1024)
|
||||
static uint32_t steps_left;
|
||||
|
||||
/* Because the fuzzer is always compiled with clang,
|
||||
|
@ -13,7 +13,7 @@ if ($argc >= 3) {
|
||||
if ($argc >= 4) {
|
||||
$maxLen = (int) $argv[3];
|
||||
} else {
|
||||
$maxLen = 16 * 1024;
|
||||
$maxLen = 8 * 1024;
|
||||
}
|
||||
|
||||
$it = new RecursiveIteratorIterator(
|
||||
|
Loading…
Reference in New Issue
Block a user