mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
@@ -233,7 +233,8 @@ size_t DeflateDecompressor::read(Bytes bytes)
|
||||
return read(bytes);
|
||||
}
|
||||
|
||||
ASSERT_NOT_REACHED();
|
||||
set_fatal_error();
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (m_state == State::ReadingCompressedBlock) {
|
||||
|
||||
Reference in New Issue
Block a user