1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

gunzip+LibCompress: Increase buffer sizes used by Deflate and gunzip

Co-authored-by: Andreas Kling <kling@serenityos.org>
This commit is contained in:
Timothy Flynn 2023-03-30 14:01:07 -04:00 committed by Andreas Kling
parent 62b575ad7c
commit 9f238793e0
3 changed files with 5 additions and 5 deletions

View file

@ -436,7 +436,7 @@ ErrorOr<void> DeflateDecompressor::decode_codes(CanonicalCode& literal_code, Opt
// Next we extract the code lengths of the code that was used to encode the block.
Vector<u8> code_lengths;
Vector<u8, 286> code_lengths;
while (code_lengths.size() < literal_code_count + distance_code_count) {
auto symbol = TRY(code_length_code.read_symbol(*m_input_stream));