We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f547679 commit 31a6c09Copy full SHA for 31a6c09
1 file changed
test/src/fuzzer-parse_json.cpp
@@ -59,6 +59,10 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
59
{
60
// parse errors are ok, because input may be random bytes
61
}
62
+ catch (const json::out_of_range&)
63
+ {
64
+ // parse errors are ok, because input may be random bytes
65
+ }
66
67
// return 0 - non-zero return values are reserved for future use
68
return 0;
0 commit comments