Skip to content

Add maximum allowed gif dimension - #9145

Merged
ksen0 merged 3 commits into
processing:mainfrom
limzykenneth:gif-dimension
Sep 7, 2026
Merged

Add maximum allowed gif dimension#9145
ksen0 merged 3 commits into
processing:mainfrom
limzykenneth:gif-dimension

Conversation

@limzykenneth

Copy link
Copy Markdown
Member

Changes:

Add a new static property MAX_GIF_PIXELS with default value of 16,000,000 to prevent gif decompression bomb from taking up browser RAM. The property can be set to a higher value if needed.

PR Checklist

@p5-bot

p5-bot Bot commented Sep 7, 2026

Copy link
Copy Markdown

Continuous Release

CDN link

Published Packages

Commit hash: 14a2a1f

Previous deployments

083e47e


This is an automated message.

@ksen0 ksen0 added the Patch label Sep 7, 2026
@ksen0
ksen0 merged commit 78f4468 into processing:main Sep 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants