Merge pull request #678 from derwolfe/lower-test-limit-oom

Lower limits for the fuzzer inputs
This commit is contained in:
Takatoshi Kondo
2018-04-30 09:25:24 +09:00
committed by GitHub

View File

@@ -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<const char *>(data),
size,
nullptr,