about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorkillerra <25255685+killerra@users.noreply.github.com>2024-07-28 11:30:48 +0100
committerGitHub <noreply@github.com>2024-07-28 11:30:48 +0100
commit26ae4124f3cf6fb17c2a058c7209469131d904ea (patch)
treeb82221d1b5582dd9b37d18f5883398b3fa51350f /src
parent6e37f9b237ed12193688c86b6a527f32793f157e (diff)
downloadafl++-26ae4124f3cf6fb17c2a058c7209469131d904ea.tar.gz
fixed lasan defaults evaluation
Diffstat (limited to 'src')
-rw-r--r--src/afl-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-common.c b/src/afl-common.c
index 04a984cb..e7173504 100644
--- a/src/afl-common.c
+++ b/src/afl-common.c
@@ -108,7 +108,7 @@ void set_sanitizer_defaults() {
     if (!have_san_options) { strcpy(buf, default_options); }
     if (have_asan_options) {
 
-      if (NULL != strstr(have_asan_options, "detect_leaks=0")) {
+      if (NULL != strstr(have_asan_options, "detect_leaks=false")) {
 
         strcat(buf, "exitcode=" STRINGIFY(LSAN_ERROR) ":fast_unwind_on_malloc=0:print_suppressions=0:detect_leaks=0:malloc_context_size=0:");