From caa2f3bf4224b585e811ca84f679f83a327b5a35 Mon Sep 17 00:00:00 2001 From: Google AutoFuzz Team Date: Mon, 24 Jun 2019 14:25:00 -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 3fe7c01..eb50b30 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, - LLVMFuzzerTestOneInput(reinterpret_cast(example.c_str()), + fuzz::LLVMFuzzerTestOneInput(reinterpret_cast(example.c_str()), example.size())); }