about summary refs log tree commit diff
path: root/src/afl-fuzz-redqueen.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-30 10:34:22 +0100
committervan Hauser <vh@thc.org>2020-12-30 10:34:22 +0100
commit0246fe9200ec29afd56a545c41b9888be84eafbf (patch)
treec8e55cc91e9ebf79872c64ab92606aa11f2c4bcf /src/afl-fuzz-redqueen.c
parent5d560c1ece100b2b8c67d080eee323483be9cf37 (diff)
downloadafl++-0246fe9200ec29afd56a545c41b9888be84eafbf.tar.gz
fix 32-bit mode, fix weighting
Diffstat (limited to 'src/afl-fuzz-redqueen.c')
-rw-r--r--src/afl-fuzz-redqueen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c
index 5b3ade1d..37d66aef 100644
--- a/src/afl-fuzz-redqueen.c
+++ b/src/afl-fuzz-redqueen.c
@@ -456,7 +456,8 @@ static u8 cmp_extend_encoding(afl_state_t *afl, struct cmp_header *h,
 
   }
 
-  if (/* SHAPE_BYTES(h->shape) >= 1 && */ *status != 1) { /* avoid CodeQL warning on unsigned overflow */
+  /* avoid CodeQL warning on unsigned overflow */
+  if (/* SHAPE_BYTES(h->shape) >= 1 && */ *status != 1) {
 
     if (its_len >= 1 && *buf_8 == (u8)pattern && *o_buf_8 == (u8)o_pattern) {