diff options
author | Dominik Maier <domenukk@gmail.com> | 2021-06-01 11:06:42 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2021-06-01 11:06:55 +0200 |
commit | 7e54c8d7f6ad7e07c5c442d2e92eed3da7c4add0 (patch) | |
tree | 84b75e1d089be6a98829efa90646a042e3d2d390 /src/afl-fuzz-redqueen.c | |
parent | 8017f88614d057cee5cf11fd48244d012be77c5e (diff) | |
download | afl++-7e54c8d7f6ad7e07c5c442d2e92eed3da7c4add0.tar.gz |
fixed potential diff by 0
Diffstat (limited to 'src/afl-fuzz-redqueen.c')
-rw-r--r-- | src/afl-fuzz-redqueen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c index cf1e5ea5..22fd0621 100644 --- a/src/afl-fuzz-redqueen.c +++ b/src/afl-fuzz-redqueen.c @@ -438,7 +438,7 @@ static u8 colorization(afl_state_t *afl, u8 *buf, u32 len, if (taint) { if (afl->colorize_success && afl->cmplog_lvl < 3 && - (len / positions == 1 && positions > CMPLOG_POSITIONS_MAX && + (positions > CMPLOG_POSITIONS_MAX && len / positions == 1 && afl->active_paths / afl->colorize_success > CMPLOG_CORPUS_PERCENT)) { #ifdef _DEBUG |