diff options
author | killerra <25255685+killerra@users.noreply.github.com> | 2024-08-02 14:51:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 14:51:42 +0100 |
commit | dd16be405a7e2b77656f3cf90f212fb58a022ab2 (patch) | |
tree | 35c6ee5d92314f691153ca39fa274499a88c99ff /src | |
parent | 4369d6209fc8040d130645ce5578ca4f43f3b7bd (diff) | |
download | afl++-dd16be405a7e2b77656f3cf90f212fb58a022ab2.tar.gz |
Handle detect_leaks 0 and false
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-common.c b/src/afl-common.c index e7173504..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=false")) { + 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:"); |