Infinitely try to read off images rather than only trying 128
This commit is contained in:
1 parent
885d762def
commit
1c5800daa0
1 file changed
+1
-1
@@ -15,7 +15,7 @@ fuzz_target!(|data: &[u8]| {
|
|||||||
|
|
||||||
decoder = decoder.with_limits(limits);
|
decoder = decoder.with_limits(limits);
|
||||||
|
|
||||||
for _ in 0..128 {
|
loop {
|
||||||
if let Err(_) = decoder.read_image() {
|
if let Err(_) = decoder.read_image() {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user