mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 20:28:08 +00:00
ensure memory is there before free
This commit is contained in:
@ -2663,7 +2663,12 @@ exit_its:
|
||||
|
||||
afl->queue_cur->colorized = CMPLOG_LVL_MAX;
|
||||
|
||||
ck_free(afl->queue_cur->cmplog_colorinput);
|
||||
if (afl->queue_cur->cmplog_colorinput) {
|
||||
|
||||
ck_free(afl->queue_cur->cmplog_colorinput);
|
||||
|
||||
}
|
||||
|
||||
while (taint) {
|
||||
|
||||
t = taint->next;
|
||||
|
Reference in New Issue
Block a user