x
This commit is contained in:
1 parent
f0666aebbf
commit
1774b362d3
3 files changed
+42
-1
No files matched your search
@@ -15,7 +15,7 @@ fuzz_target!(|data: &[u8]| {
|
||||
|
||||
decoder = decoder.with_limits(limits);
|
||||
|
||||
loop {
|
||||
for _ in 0..128 {
|
||||
if let Err(_) = decoder.read_image() {
|
||||
break;
|
||||
}
|
||||
@@ -23,5 +23,9 @@ fuzz_target!(|data: &[u8]| {
|
||||
if !decoder.more_images() {
|
||||
break;
|
||||
}
|
||||
|
||||
if let Err(_) = decoder.next_image() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user