diff --git a/src/test_lib_json/main.cpp b/src/test_lib_json/main.cpp index eb50b30..3fe7c01 100644 --- a/src/test_lib_json/main.cpp +++ b/src/test_lib_json/main.cpp @@ -2564,7 +2564,7 @@ JSONTEST_FIXTURE(FuzzTest, fuzzDoesntCrash) { const std::string example = "{}"; JSONTEST_ASSERT_EQUAL( 0, - fuzz::LLVMFuzzerTestOneInput(reinterpret_cast(example.c_str()), + LLVMFuzzerTestOneInput(reinterpret_cast(example.c_str()), example.size())); }