You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2025/01/22 06:08:43 UTC
(logging-log4cxx) branch master updated: Fix wrong variable in fuzzer (#459)
This is an automated email from the ASF dual-hosted git repository.
swebb2066 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
The following commit(s) were added to refs/heads/master by this push:
new 67de7fdf Fix wrong variable in fuzzer (#459)
67de7fdf is described below
commit 67de7fdfab79a1ee9f7489206b465191d95c3532
Author: AdamKorcz <44...@users.noreply.github.com>
AuthorDate: Wed Jan 22 06:08:37 2025 +0000
Fix wrong variable in fuzzer (#459)
Signed-off-by: Adam Korczynski <ad...@adalogics.com>
---
src/fuzzers/cpp/XMLLayoutFuzzer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fuzzers/cpp/XMLLayoutFuzzer.cpp b/src/fuzzers/cpp/XMLLayoutFuzzer.cpp
index 786af637..db3db3bf 100644
--- a/src/fuzzers/cpp/XMLLayoutFuzzer.cpp
+++ b/src/fuzzers/cpp/XMLLayoutFuzzer.cpp
@@ -48,7 +48,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
event->setProperty(LOG4CXX_STR(key1), LOG4CXX_STR(val1));
// Set MDC
- log4cxx::MDC::put(key1, key2);
+ log4cxx::MDC::put(key2, val2);
// Location info
layout.setLocationInfo(true);