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

Pillow 9.3.0 webp EXIF changes leads to crash #44

Closed
bigcat88 opened this issue Oct 30, 2022 · 0 comments · Fixed by #46
Closed

Pillow 9.3.0 webp EXIF changes leads to crash #44

bigcat88 opened this issue Oct 30, 2022 · 0 comments · Fixed by #46
Labels
bug Something isn't working fixed Fixed in last version

Comments

@bigcat88
Copy link
Owner

bigcat88 commented Oct 30, 2022

In version 9.3.0 Pillow allows to save EXIF for WEBP format without firsts 6 bytes b'Exif\x00\x00'
python-pillow/Pillow#6582

This code

if not _result and md_block["data"] and md_block["data"][0:4] == b"Exif":
cannot read them.
And this throws and exception during parsing EXIF:
tif_tag = info["exif"][6:]

@bigcat88 bigcat88 added in progress working on it bug Something isn't working labels Oct 30, 2022
bigcat88 added a commit that referenced this issue Oct 31, 2022
bigcat88 added a commit that referenced this issue Oct 31, 2022
@bigcat88 bigcat88 added fixed in upcoming release fix will arrive with next release and removed in progress working on it labels Oct 31, 2022
@bigcat88 bigcat88 added fixed Fixed in last version and removed fixed in upcoming release fix will arrive with next release labels Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Fixed in last version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant