1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

LibGfx/ICC: Avoid overflow when constructing NamedColor2TagData

This commit is contained in:
Tim Ledbetter 2023-10-14 21:38:01 +01:00 committed by Andreas Kling
parent a65d8ff2ea
commit 1a4df4ffe7
3 changed files with 11 additions and 3 deletions

View file

@ -262,6 +262,7 @@ TEST_CASE(to_lab)
TEST_CASE(malformed_profile)
{
Array test_inputs = {
TEST_INPUT("icc/oss-fuzz-testcase-59551.icc"sv),
TEST_INPUT("icc/oss-fuzz-testcase-60281.icc"sv)
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B