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

Fixed #24544 -- Fixed get_image_dimensions() on image buffers that Pillow fails to parse (based on artscoop work) #4464

Closed
wants to merge 1 commit into from

Conversation

frifri
Copy link

@frifri frifri commented Apr 7, 2015

It looks like #4401 haven't been updated in a few days.
Since I need this fix as well, I updated @artscoop PR from @timgraham feedback.
The tests should now pass.

…llow fails to parse

Fixed get_image_dimensions() not catching struct.error.
This exception was raised while the function was feeding
chunks of image data to the PIL image parser, which was
expecting more bytes than available.
@timgraham
Copy link
Member

buildbot, test this please.

@timgraham
Copy link
Member

merged in 2fc19b9, thanks!

@timgraham timgraham closed this Apr 7, 2015
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.

3 participants