Skip to content

Commit

Permalink
Merge pull request googleprojectzero#130 from netanel01/winafl_timeou…
Browse files Browse the repository at this point in the history
…t_bug

Fix WinAFl timeouts loop
  • Loading branch information
ivanfratric authored Aug 13, 2018
2 parents d63c48f + 1a488fa commit 45adb6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion afl-fuzz.c
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,9 @@ static u8 run_target(char** argv, u32 timeout) {
//saves us from getting stuck in corner case.
MemoryBarrier();
watchdog_enabled = 0;
return FAULT_NONE;

destroy_target_process(0);
return FAULT_TMOUT;
}
if (result != 'P')
{
Expand Down

0 comments on commit 45adb6b

Please sign in to comment.