about summary refs log tree commit diff
path: root/src/afl-fuzz-queue.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2020-09-05 13:19:19 +0200
committervanhauser-thc <vh@thc.org>2020-09-05 13:19:19 +0200
commit2f90f2faba92c0ef5e081ff74b54fb07eb1faaa9 (patch)
tree8ddfccbd1594c3f3c50025eb8cbe23f84a10fa20 /src/afl-fuzz-queue.c
parente30b2c6af6e369844c92c00a20ebdd53473a747c (diff)
downloadafl++-2f90f2faba92c0ef5e081ff74b54fb07eb1faaa9.tar.gz
code-format
Diffstat (limited to 'src/afl-fuzz-queue.c')
-rw-r--r--src/afl-fuzz-queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz-queue.c b/src/afl-fuzz-queue.c
index af52aa45..8c7bfc55 100644
--- a/src/afl-fuzz-queue.c
+++ b/src/afl-fuzz-queue.c
@@ -138,7 +138,8 @@ static u8 check_if_text(struct queue_entry *q) {
     }
 
     // non-overlong 2-byte
-    if (len - offset > 1 && ((0xC2 <= buf[offset + 0] && buf[offset + 0] <= 0xDF) &&
+    if (len - offset > 1 &&
+        ((0xC2 <= buf[offset + 0] && buf[offset + 0] <= 0xDF) &&
          (0x80 <= buf[offset + 1] && buf[offset + 1] <= 0xBF))) {
 
       offset += 2;