diff options
author | van Hauser <vh@thc.org> | 2024-08-03 10:19:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-03 10:19:15 +0200 |
commit | 76b26ac2c6fc43e32cd0dfd4f666bd842fbdd3aa (patch) | |
tree | 0ee8b77a609a6b044df5bfe1b8b685770ccbdcc2 /src | |
parent | 2e57d865769541ca5fe8463e959c671f0eb7558a (diff) | |
parent | dd16be405a7e2b77656f3cf90f212fb58a022ab2 (diff) | |
download | afl++-76b26ac2c6fc43e32cd0dfd4f666bd842fbdd3aa.tar.gz |
Merge pull request #2174 from killerra/dev
Fixed lsan defaults evaluation
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 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:"); |