We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bec8e49 + edd260f commit bec6558Copy full SHA for bec6558
src/decoder/stream.rs
@@ -186,9 +186,6 @@ impl<R: Read> Read for LZWReader<R> {
186
}
187
188
Ok(weezl::LzwStatus::NoProgress) => {
189
- assert_eq!(result.consumed_in, 0);
190
- assert_eq!(result.consumed_out, 0);
191
- assert!(self.reader.buffer().is_empty());
192
return Err(io::Error::new(
193
io::ErrorKind::UnexpectedEof,
194
"no lzw end code found",
tests/fuzz_images/oor_panic/sample-get-lzw-stuck.tiff
6.88 KB
0 commit comments