Skip to content

Commit 6e44edf

Browse files
committed
lower the input limits, I might need to push a config change to oss-fuzz as well to lower the max input size
1 parent 48d226e commit 6e44edf

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)