mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 12:18:08 +00:00
fix segfault
This commit is contained in:
@ -2295,6 +2295,7 @@ havoc_stage:
|
|||||||
}
|
}
|
||||||
|
|
||||||
copy_to = rand_below(afl, temp_len - copy_len + 1);
|
copy_to = rand_below(afl, temp_len - copy_len + 1);
|
||||||
|
if (unlikely(copy_to > temp_len)) copy_to = rand_below(afl, temp_len);
|
||||||
|
|
||||||
if (rand_below(afl, 4)) {
|
if (rand_below(afl, 4)) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user