This commit is contained in:
vanhauser-thc
2023-11-22 14:56:57 +01:00
parent e4f3ebcebb
commit d2aef74ad7
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@
- cmplog rtn sanity check on fixed length? + no length 1
- afl-showmap -f support
- afl-fuzz multicore wrapper script
- when trimming then perform crash detection
- either -L0 and/or -p mmopt results in zero new coverage
## Should

View File

@ -931,7 +931,7 @@ u8 trim_case(afl_state_t *afl, struct queue_entry *q, u8 *in_buf) {
detected, it will still work to some extent, so we don't check for
this. */
if (q->len < 5) { return 0; }
if (unlikely(q->len < 5)) { return 0; }
afl->stage_name = afl->stage_name_buf;
afl->bytes_trim_in += q->len;