Skip to content

Raise ValueError if PNG sRGB chunk is truncated#6431

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:png_srgb
Jul 11, 2022
Merged

Raise ValueError if PNG sRGB chunk is truncated#6431
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:png_srgb

Conversation

@radarhere
Copy link
Copy Markdown
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