mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:17:35 +00:00
LibGfx/ICC: Avoid buffer overrun when creating TextDescriptionTagData
We now validate that the offsets used cannot overflow, preventing possible buffer overruns.
This commit is contained in:
parent
4b995542c4
commit
c1d7a51391
3 changed files with 11 additions and 3 deletions
|
@ -262,6 +262,7 @@ TEST_CASE(to_lab)
|
|||
TEST_CASE(malformed_profile)
|
||||
{
|
||||
Array test_inputs = {
|
||||
TEST_INPUT("icc/oss-fuzz-testcase-57426.icc"sv),
|
||||
TEST_INPUT("icc/oss-fuzz-testcase-59551.icc"sv),
|
||||
TEST_INPUT("icc/oss-fuzz-testcase-60281.icc"sv)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue