diff options
author | vanhauser-thc <vh@thc.org> | 2023-05-23 19:46:35 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-05-23 19:46:35 +0200 |
commit | c323e0dc63e97299da4a2f775f6f1639d5e13bf0 (patch) | |
tree | 53b103e744fb29350eec25b8a098cb598ed58214 | |
parent | b10a0914083911591a8ac816bd4bada6602bf8b5 (diff) | |
download | afl++-c323e0dc63e97299da4a2f775f6f1639d5e13bf0.tar.gz |
revert fix
-rw-r--r-- | src/afl-fuzz-redqueen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c index 7f42db3f..41644cb9 100644 --- a/src/afl-fuzz-redqueen.c +++ b/src/afl-fuzz-redqueen.c @@ -2002,10 +2002,10 @@ static u8 rtn_extend_encoding(afl_state_t *afl, u8 entry, } - u8 lmin = MIN(l0, ol0); + u8 lmax = MAX(l0, ol0); u8 save[40]; u32 saved_idx = idx, pre, from = 0, to = 0, i, j; - u32 its_len = MIN(MIN(lmin, hshape), len - idx); + u32 its_len = MIN(MIN(lmax, hshape), len - idx); its_len = MIN(its_len, taint_len); u32 saved_its_len = its_len; |