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

Catch struct.errors when verifying png files #1805

Merged
merged 2 commits into from
Apr 4, 2016

Conversation

wiredfool
Copy link
Member

Convert to SyntaxErrors. fixes #1755

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 90378c8 on wiredfool:verify-struct-error into * on python-pillow:master*.

@hugovk hugovk merged commit cee9a1d into python-pillow:master Apr 4, 2016
@wiredfool wiredfool deleted the verify-struct-error branch October 2, 2017 13:24
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.

Image.verify raises struct.error (instead of IndexError) on Pillow > 2.7.0
3 participants