1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:37:34 +00:00

LibGfx/ILBM: Ensure CMAP chunk size matches expected value

The color map should be 3 bytes per pixel and should contain
`2^nPlanes` pixels. We now return an error if the color map isn't the
size we expect.
This commit is contained in:
Tim Ledbetter 2023-10-30 16:35:40 +00:00 committed by Andreas Kling
parent 61eb754f63
commit f56ae8c0e9
3 changed files with 4 additions and 0 deletions

Binary file not shown.