You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/max/.local/lib/python3.8/site-packages/PIL/PngImagePlugin.py", line 940, in load_end
self.png.call(cid, pos, length)
File "/home/max/.local/lib/python3.8/site-packages/PIL/PngImagePlugin.py", line 187, in call
return getattr(self, "chunk_" + cid.decode("ascii"))(pos, length)
AttributeError: 'PngStream' object has no attribute 'chunk_'
The text was updated successfully, but these errors were encountered:
Just to clarify, the issue doesn't relate to exif_transpose(). It's our generic load() method. Testing, the error started after 22e9bee. So this may not be a bug as much as a security measure.
You probably know, but if you don't enable LOAD_TRUNCATED_IMAGES, then the error doesn't appear.
Testcase (extension should be .py):
testcase.txt
Pillow 8.1 works, 8.2 fails
Traceback:
The text was updated successfully, but these errors were encountered: