Skip to content

Commit 9f3efe9

Browse files
authored
Merge pull request #678 from derwolfe/lower-test-limit-oom
Lower limits for the fuzzer inputs
2 parents 48d226e + 6e44edf commit 9f3efe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fuzz/unpack_pack_fuzzer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
44
try {
55
// NOTE(derwolfe): by default the limits are set at 2^32-1 length. I'm
66
// setting these at far smaller values to avoid OOMs
7-
const int test_limit = 10000;
7+
const int test_limit = 1000;
88
msgpack::object_handle unpacked = msgpack::unpack(reinterpret_cast<const char *>(data),
99
size,
1010
nullptr,

0 commit comments

Comments
 (0)