1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:08:12 +00:00
serenity/Userland/Libraries/LibCompress
Nico Weber 6d38824985 LibCompress: Tolerate more than 288 entries in CanonicalCode
Webp lossless can have up to 2328 symbols. This code assumed the deflate
max of 288, leading to crashes for webp lossless files using more than
288 symbols (such as Tests/LibGfx/test-inputs/simple-vp8l.webp).

Nothing writes webp files at this point, so the m_bit_codes and
m_bit_code_lengths arrays aren't ever used in practice with more than
288 entries.
2023-04-07 20:49:39 +02:00
..
Brotli.cpp AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
Brotli.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00
BrotliDictionary.cpp Everywhere: Add support for compilation under emscripten 2022-11-26 02:23:15 +03:30
BrotliDictionary.h LibCompress: Implement Brotli decompressor 2022-05-21 22:41:40 +02:00
BrotliDictionaryData.bin LibCompress: Implement Brotli decompressor 2022-05-21 22:41:40 +02:00
CMakeLists.txt LibCompress: Add support for XZ 2023-03-21 10:25:13 +01:00
Deflate.cpp LibCompress: Tolerate more than 288 entries in CanonicalCode 2023-04-07 20:49:39 +02:00
Deflate.h LibCompress: Tolerate more than 288 entries in CanonicalCode 2023-04-07 20:49:39 +02:00
DeflateTables.h LibCompress: Add missing header to DeflateTables.h 2021-10-06 23:52:40 +01:00
Gzip.cpp LibCompress: Add a utility to GZIP compress an entire file 2023-04-01 08:15:49 +02:00
Gzip.h LibCompress: Add a utility to GZIP compress an entire file 2023-04-01 08:15:49 +02:00
Lzma.cpp LibCompress: Copy LZMA repetitions from the buffer in sequence 2023-04-05 07:30:38 -04:00
Lzma.h LibCompress: Use the correct LZMA repetition offset in all cases 2023-03-30 14:39:31 +02:00
Lzma2.cpp LibCompress: Avoid overflowing the size of uncompressed LZMA2 chunks 2023-03-30 14:39:31 +02:00
Lzma2.h LibCompress: Add support for LZMA2 2023-03-21 10:25:13 +01:00
Xz.cpp LibCompress: Implement block size validation for XZ streams 2023-04-01 13:57:54 +02:00
Xz.h LibCompress: Implement block size validation for XZ streams 2023-04-01 13:57:54 +02:00
Zlib.cpp Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
Zlib.h AK: Rename Stream::{read,write} to Stream::{read_some,write_some} 2023-03-13 15:16:20 +00:00