mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
LibCompress: Replace ASSERT_NOT_REACHED with set_fatal_error.
We shouldn't assert that the input file is valid.
This commit is contained in:
parent
40e6a3dcc3
commit
f9ba037674
1 changed files with 2 additions and 1 deletions
|
@ -233,7 +233,8 @@ size_t DeflateDecompressor::read(Bytes bytes)
|
||||||
return read(bytes);
|
return read(bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT_NOT_REACHED();
|
set_fatal_error();
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_state == State::ReadingCompressedBlock) {
|
if (m_state == State::ReadingCompressedBlock) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue