about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2019-12-28 18:22:15 +0100
committerAndrea Fioraldi <andreafioraldi@gmail.com>2019-12-28 18:22:15 +0100
commit58c7a0f8fe1ae5a31a46ea215f678a3a27fc4537 (patch)
treec298e5013a0807ff0a706766b04e0b6df6279d1e /src/afl-fuzz.c
parent9a2f2f1ee9bb4e72367325a51cbb0e215b0f65c3 (diff)
parentc983e2c5b1c47618a4fac58154cb06020b31bbe3 (diff)
downloadafl++-58c7a0f8fe1ae5a31a46ea215f678a3a27fc4537.tar.gz
Merge branch 'master' of github.com:vanhauser-thc/AFLplusplus
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 7df82b12..ebc11f01 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -717,11 +717,15 @@ int main(int argc, char** argv) {
       u8* qemu_preload = getenv("QEMU_SET_ENV");
       u8* afl_preload = getenv("AFL_PRELOAD");
       u8* buf;
-      
+
       s32 i, afl_preload_size = strlen(afl_preload);
       for (i = 0; i < afl_preload_size; ++i) {
+
         if (afl_preload[i] == ',')
-          PFATAL("Comma (',') is not allowed in AFL_PRELOAD when -Q is specified!");
+          PFATAL(
+              "Comma (',') is not allowed in AFL_PRELOAD when -Q is "
+              "specified!");
+
       }
 
       if (qemu_preload)
@@ -730,7 +734,7 @@ int main(int argc, char** argv) {
         buf = alloc_printf("LD_PRELOAD=%s", afl_preload);
 
       setenv("QEMU_SET_ENV", buf, 1);
-      
+
       ck_free(buf);
 
     } else {