From 13afd0e45500943ff48480d6f43d133b2a15ea7b Mon Sep 17 00:00:00 2001 From: Google AutoFuzz Team Date: Mon, 24 Jun 2019 14:27:36 -0400 Subject: [PATCH] Update main.cpp --- src/test_lib_json/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); }