Skip to content

golang: limit size of decoded tiffs #13402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 7, 2025
Merged

Conversation

neild
Copy link
Contributor

@neild neild commented Jun 5, 2025

A small tiff can decode into a large image.

Users who want to limit memory consumption need to validate images prior to decompression.

Skip decompressing tiffs larger than 16k in either dimension.

neild and others added 2 commits June 5, 2025 18:11
A small tiff can decode into a large image.

Users who want to limit memory consumption need to validate
images prior to decompression.

Skip decompressing tiffs larger than 16k in either dimension.
@DavidKorczynski DavidKorczynski enabled auto-merge (squash) June 7, 2025 13:30
@DavidKorczynski DavidKorczynski merged commit 19c9aa0 into google:master Jun 7, 2025
15 checks passed
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.

2 participants