about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-09-04 16:02:02 +0200
committervan Hauser <vh@thc.org>2020-09-04 16:02:02 +0200
commit6399f84ba2a15a4e41458509cd40a1d8658c8699 (patch)
treeca5d9529a478c365e6ee26658f21760bf3dbbcde
parent8459bcdf85df975e7a755c8a64e0b04304d71634 (diff)
downloadafl++-6399f84ba2a15a4e41458509cd40a1d8658c8699.tar.gz
fix example
-rw-r--r--examples/aflpp_driver/aflpp_driver_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/aflpp_driver/aflpp_driver_test.c b/examples/aflpp_driver/aflpp_driver_test.c
index 020fb517..b4ff6bc6 100644
--- a/examples/aflpp_driver/aflpp_driver_test.c
+++ b/examples/aflpp_driver/aflpp_driver_test.c
@@ -6,7 +6,7 @@
 
 void __attribute__((noinline)) crashme(const uint8_t *Data, size_t Size) {
 
-  if (Size < 5);
+  if (Size < 5) return;
 
   if (Data[0] == 'F')
     if (Data[1] == 'A')