about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-10-11 08:53:49 +0200
committervanhauser-thc <vh@thc.org>2022-10-11 08:53:49 +0200
commite6e82948bf95fab90466cb2dfa78457c4d2d80a6 (patch)
tree30236db4d02ab69a654abf2242baeb34813c32e4 /src
parentc5008362c64c4c70d53f7533661c22307bfcbb6e (diff)
downloadafl++-e6e82948bf95fab90466cb2dfa78457c4d2d80a6.tar.gz
fastexit + code format
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 84ae54ff..d116822a 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -2570,6 +2570,7 @@ int main(int argc, char **argv_orig, char **envp) {
 stop_fuzzing:
 
   afl->force_ui_update = 1;  // ensure the screen is reprinted
+  afl->stop_soon = 1;        // ensure everything is written
   show_stats(afl);           // print the screen one last time
   write_bitmap(afl);
   save_auto(afl);