mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibGfx/WOFF2: Reject fonts with a compressed size larger than 10MiB
This prevents a potential OOM condition when the header is malformed.
This commit is contained in:
parent
af633523af
commit
e9be1bcd09
3 changed files with 15 additions and 0 deletions
BIN
Tests/LibGfx/test-inputs/woff2/incorrect_compressed_size.woff2
Normal file
BIN
Tests/LibGfx/test-inputs/woff2/incorrect_compressed_size.woff2
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue