about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-04-01 01:55:13 +0200
committerDominik Maier <domenukk@gmail.com>2020-04-01 13:10:07 +0200
commiteca55be4fb961bc65cf8c3531fe2e2eb2b7ca614 (patch)
treec19444545043b558d853942711c152574136a40b
parent71372c4d2f0b148cba6a7fd82ca89f2fa1096ef9 (diff)
downloadafl++-eca55be4fb961bc65cf8c3531fe2e2eb2b7ca614.tar.gz
minor changes
-rwxr-xr-xafl-whatsup4
-rw-r--r--src/afl-fuzz-init.c2
-rw-r--r--test/unittests/unit_maybe_alloc.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/afl-whatsup b/afl-whatsup
index c3017689..1a276964 100755
--- a/afl-whatsup
+++ b/afl-whatsup
@@ -171,8 +171,8 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
   TOTAL_CRASHES=$((TOTAL_CRASHES + unique_crashes))
   TOTAL_PENDING=$((TOTAL_PENDING + pending_total))
   TOTAL_PFAV=$((TOTAL_PFAV + pending_favs))
-  
-   if [ "$last_path" -gt "$TOTAL_LAST_PATH" ]; then
+
+  if [ "$last_path" -gt "$TOTAL_LAST_PATH" ]; then
     TOTAL_LAST_PATH=$last_path
   fi
 
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index fe2be4d2..e2495524 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -391,7 +391,7 @@ void read_testcases(afl_state_t *afl) {
 
     if (!S_ISREG(st.st_mode) || !st.st_size || strstr(fn2, "/README.txt")) {
 
-      free(fn2);
+      ck_free(fn2);
       continue;
 
     }
diff --git a/test/unittests/unit_maybe_alloc.c b/test/unittests/unit_maybe_alloc.c
index 93f10889..25b41d46 100644
--- a/test/unittests/unit_maybe_alloc.c
+++ b/test/unittests/unit_maybe_alloc.c
@@ -137,4 +137,4 @@ int main(int argc, char **argv) {
 
     return cmocka_run_group_tests (tests, setup, teardown);
 
-}
\ No newline at end of file
+}