diff --git a/afl-fuzz.c b/afl-fuzz.c index 15ee1e7a..663d3a62 100644 --- a/afl-fuzz.c +++ b/afl-fuzz.c @@ -7661,7 +7661,7 @@ int main(int argc, char** argv) { u8* c; if (sync_id) FATAL("Multiple -S or -M options not supported"); - sync_id = optarg; + sync_id = ck_strdup(optarg); if ((c = strchr(sync_id, ':'))) { @@ -7991,6 +7991,7 @@ int main(int argc, char** argv) { destroy_queue(); destroy_extras(); ck_free(target_path); + ck_free(sync_id); alloc_report(); diff --git a/config.h b/config.h index e610ab26..133a79e5 100644 --- a/config.h +++ b/config.h @@ -21,7 +21,7 @@ /* Version string: */ -#define VERSION "2.34b" +#define VERSION "2.35b" /****************************************************** * * diff --git a/docs/ChangeLog b/docs/ChangeLog index f37f8e10..9ff07584 100644 --- a/docs/ChangeLog +++ b/docs/ChangeLog @@ -16,6 +16,14 @@ Not sure if you should upgrade? The lowest currently recommended version is 2.31b. If you're stuck on an earlier release, it's strongly advisable to get on with the times. +-------------- +Version 2.35b: +-------------- + + - Fixed a minor cmdline reporting glitch, spotted by Leo Barnes. + + - Fixed a silly bug in libdislocator. Spotted by Johannes Schultz. + -------------- Version 2.34b: -------------- diff --git a/docs/sister_projects.txt b/docs/sister_projects.txt index 9c706045..1434e37f 100644 --- a/docs/sister_projects.txt +++ b/docs/sister_projects.txt @@ -173,6 +173,13 @@ afl-cov (Michael Rash) https://github.com/mrash/afl-cov +afl-sancov (Bhargava Shastry) +----------------------------- + + Similar to afl-cov, but uses clang sanitizer instrumentation. + + https://github.com/bshastry/afl-sancov + RecidiVM (Jakub Wilk) --------------------- diff --git a/libdislocator/libdislocator.so.c b/libdislocator/libdislocator.so.c index 1d4648f3..8a3e28c7 100644 --- a/libdislocator/libdislocator.so.c +++ b/libdislocator/libdislocator.so.c @@ -89,7 +89,8 @@ static void* __dislocator_alloc(size_t len) { void* ret; - if (total_mem + len > max_mem) { + + if (total_mem + len > max_mem || total_mem + len <= total_mem) { if (hard_fail) FATAL("total allocs exceed %u MB", max_mem / 1024 / 1024);