Skip to content
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

Protect against huge image sizes #2845

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

RunDevelopment
Copy link
Member

Fixes #2832.

This adds the assert_image_dimensions util function I proposed to protect against huge image sizes at runtime.

I also implemented a type-based check, but I'm not satisfied with it yet. I'll try to improve the UX a bit more before requesting review.

@RunDevelopment
Copy link
Member Author

Blocked by #2909.

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.

Protect against ludicrous image sizes
1 participant