diff --git a/Libraries/LibCompress/Deflate.cpp b/Libraries/LibCompress/Deflate.cpp index 0ff47adb99..458096953e 100644 --- a/Libraries/LibCompress/Deflate.cpp +++ b/Libraries/LibCompress/Deflate.cpp @@ -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) {