limit to 32 bytes
This commit is contained in:
parent
9a1251875f
commit
1edc70c6f1
@ -293,9 +293,9 @@ fn fuzz(
|
||||
let target = input.target_bytes();
|
||||
let mut buf = target.as_slice();
|
||||
let mut len = buf.len();
|
||||
if len > 4096 {
|
||||
buf = &buf[0..4096];
|
||||
len = 4096;
|
||||
if len > 32 {
|
||||
buf = &buf[0..32];
|
||||
len = 32;
|
||||
}
|
||||
|
||||
unsafe {
|
||||
|
Loading…
x
Reference in New Issue
Block a user