diff options
author | vanhauser-thc <vh@thc.org> | 2021-04-16 14:53:11 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-04-16 14:53:11 +0200 |
commit | 3c68208dd3f19567239cba8f5ae781f79f64e99c (patch) | |
tree | 19ec5cb810724fd460becd446ad21e4f0dbe2ac4 | |
parent | b03424073e45097c89028977b6a0b3589914568a (diff) | |
download | afl++-3c68208dd3f19567239cba8f5ae781f79f64e99c.tar.gz |
fix compcovtest
-rw-r--r-- | qemu_mode/libcompcov/compcovtest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu_mode/libcompcov/compcovtest.cc b/qemu_mode/libcompcov/compcovtest.cc index b446ebfa..92e3864c 100644 --- a/qemu_mode/libcompcov/compcovtest.cc +++ b/qemu_mode/libcompcov/compcovtest.cc @@ -77,6 +77,9 @@ int main(int argc, char **argv) { printf("Puzzle solved, congrats!\n"); abort(); + + if (argc > 1) { fclose(file); } + return 0; } |