From 6e44edf2900affe0743c867d69f1a2b9ed1bb33f Mon Sep 17 00:00:00 2001 From: Chris Wolfe Date: Sun, 29 Apr 2018 10:49:56 -0500 Subject: [PATCH] lower the input limits, I might need to push a config change to oss-fuzz as well to lower the max input size --- fuzz/unpack_pack_fuzzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/unpack_pack_fuzzer.cpp b/fuzz/unpack_pack_fuzzer.cpp index 70220ffd..c0467610 100644 --- a/fuzz/unpack_pack_fuzzer.cpp +++ b/fuzz/unpack_pack_fuzzer.cpp @@ -4,7 +4,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { // NOTE(derwolfe): by default the limits are set at 2^32-1 length. I'm // setting these at far smaller values to avoid OOMs - const int test_limit = 10000; + const int test_limit = 1000; msgpack::object_handle unpacked = msgpack::unpack(reinterpret_cast(data), size, nullptr,