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

Raise ValueError if PNG sRGB chunk is truncated #6431

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

radarhere
Copy link
Member

Resolves #6430.

This is like #6253, only for a different PNG chunk.

@hugovk hugovk merged commit 3e852ee into python-pillow:main Jul 11, 2022
@radarhere radarhere deleted the png_srgb branch July 11, 2022 12:01
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.

[PNG] IndexError is raised when the sRGB chunk is broken
2 participants