diff options
author | van Hauser <vh@thc.org> | 2024-08-19 16:51:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-19 16:51:42 +0200 |
commit | f27cbdb79349d6f4f6e859a356758b634be72652 (patch) | |
tree | 8e1dbb1b8454c470aa5e0093f6d89c5cc86e9200 /src/afl-common.c | |
parent | db23931e7c1727ddac8691a6241c97b2203ec6fc (diff) | |
parent | 1689a8e053c1f73e16331bfeda28c79e1ed4bbd0 (diff) | |
download | afl++-f27cbdb79349d6f4f6e859a356758b634be72652.tar.gz |
Merge pull request #2190 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-common.c')
-rw-r--r-- | src/afl-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-common.c b/src/afl-common.c index 04a984cb..892745a7 100644 --- a/src/afl-common.c +++ b/src/afl-common.c @@ -108,7 +108,8 @@ 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:"); |