revert fix

This commit is contained in:
vanhauser-thc 2023-05-23 19:46:35 +02:00
parent b10a091408
commit c323e0dc63

View File

@ -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;