about summary refs log tree commit diff
path: root/src/afl-common.c
diff options
context:
space:
mode:
authorYiyi Wang <91304853+ahuo1@users.noreply.github.com>2024-08-05 22:21:52 +0800
committerGitHub <noreply@github.com>2024-08-05 22:21:52 +0800
commitb928303dd0634793db3605ba7d3cc49e280e955c (patch)
treecdb495fa45536a3f64431ac6a1f01b199fbd14d8 /src/afl-common.c
parent25945d51a4c4130ec5dc7e0fe07f4579e1927e43 (diff)
parent76b26ac2c6fc43e32cd0dfd4f666bd842fbdd3aa (diff)
downloadafl++-b928303dd0634793db3605ba7d3cc49e280e955c.tar.gz
Merge branch 'AFLplusplus:dev' into dev
Diffstat (limited to 'src/afl-common.c')
-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..e5584e93 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=0") || 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:");