Skip to content

Commit

Permalink
fix options
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Korczynski <[email protected]>
  • Loading branch information
AdamKorcz committed Jan 18, 2025
1 parent 44a0813 commit 95a57a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fuzzers/cpp/HTMLLayoutFuzzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ 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("TITLE"), LOG4CXX_STR("title"));
LOG4CXX_DECODE_CHAR(title, fdp.ConsumeRandomLengthString());
layout.setOption(LOG4CXX_STR("TITLE"), title);
}

// Header
Expand Down

0 comments on commit 95a57a3

Please sign in to comment.