Skip to content

fix(ico): Better error checking for PNG-in-ICO files, tighten res limits#5264

Open
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-icopngerr
Open

fix(ico): Better error checking for PNG-in-ICO files, tighten res limits#5264
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-icopngerr

Conversation

@lgritz

@lgritz lgritz commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

An ICO file might store its contents in PNG format, but it's still constrained to the resolution limits of ICO. Anything bigger should be presumed to be bogus.

An ICO file might store its contents in PNG format, but it's still
constrained to the resolution limits of ICO. Anything bigger should
be presumed to be bogus.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant