mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 04:58:08 +00:00
fix double free on exit for -c 0 on src cmplog
This commit is contained in:
@ -1469,7 +1469,7 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
if (afl->shm.cmplog_mode &&
|
||||
(!strcmp("-", afl->cmplog_binary) || !strcmp("0", afl->cmplog_binary))) {
|
||||
|
||||
afl->cmplog_binary = argv[optind];
|
||||
afl->cmplog_binary = strdup(argv[optind]);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user