cmplog fix for qemu and frida

This commit is contained in:
vanhauser-thc
2021-06-22 22:05:28 +02:00
parent 56851fa499
commit ff4d45eed2
3 changed files with 13 additions and 11 deletions

View File

@ -418,8 +418,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
struct rlimit r;
if (!fsrv->cmplog_binary && fsrv->qemu_mode == false &&
fsrv->frida_mode == false) {
if (!fsrv->cmplog_binary) {
unsetenv(CMPLOG_SHM_ENV_VAR); // we do not want that in non-cmplog fsrv