From 26b6000a3cdf7a2287a2669647e1aa15f374ce5f Mon Sep 17 00:00:00 2001 From: Adam Korczynski Date: Sat, 18 Jan 2025 14:03:48 +0000 Subject: [PATCH] fix options Signed-off-by: Adam Korczynski --- src/fuzzers/cpp/JSONLayoutFuzzer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fuzzers/cpp/JSONLayoutFuzzer.cpp b/src/fuzzers/cpp/JSONLayoutFuzzer.cpp index c349e5bca..ef9dd2314 100644 --- a/src/fuzzers/cpp/JSONLayoutFuzzer.cpp +++ b/src/fuzzers/cpp/JSONLayoutFuzzer.cpp @@ -35,15 +35,15 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { // Optional locationinfo if (fdp.ConsumeBool()) { - layout.setOption(LOG4CXX_STR("LOCATIONINFO"), LOG4CXX_STR("locationinfo")); + layout.setOption(LOG4CXX_STR("LOCATIONINFO"), LOG4CXX_STR("true")); } // Optional threadinfo if (fdp.ConsumeBool()) { - layout.setOption(LOG4CXX_STR("THREADINFO"), LOG4CXX_STR("threadinfo")); + layout.setOption(LOG4CXX_STR("THREADINFO"), LOG4CXX_STR("true")); } // Optional prettyprint if (fdp.ConsumeBool()) { - layout.setOption(LOG4CXX_STR("PRETTYPRINT"), LOG4CXX_STR("prettyprint")); + layout.setOption(LOG4CXX_STR("PRETTYPRINT"), LOG4CXX_STR("true")); } // Create random strings we need later