mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-14 15:05:37 +02:00
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:
@@ -10,6 +10,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||||||
nullptr,
|
nullptr,
|
||||||
nullptr,
|
nullptr,
|
||||||
msgpack::unpack_limit(test_limit,
|
msgpack::unpack_limit(test_limit,
|
||||||
|
test_limit,
|
||||||
|
test_limit,
|
||||||
test_limit,
|
test_limit,
|
||||||
test_limit,
|
test_limit,
|
||||||
test_limit));
|
test_limit));
|
||||||
|
Reference in New Issue
Block a user