Fix the fuzzer by setting limits for depth and ext.

This is a short lived bug in the fuzzer implementation in which the
limits were not set correctly.

Credit to OSS-Fuzz
This commit is contained in:
Chris Wolfe
2018-04-25 07:49:07 -05:00
parent 4cb938ed18
commit 95275ff16e

View File

@@ -10,6 +10,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
nullptr,
nullptr,
msgpack::unpack_limit(test_limit,
test_limit,
test_limit,
test_limit,
test_limit,
test_limit));