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
This is fed to crop, which ultimately returns a new image. Or, tries to, as that's a rather large image.
Any potential fix for #2383 could interact badly with this, as the dispose_extent winds up being the tile extents as well.
Crop should really have the DecompressionBomb warning applied, as it can increase the size of the image. But in this case, we're calling into the core image object crop, not Image.crop, so we'd need to either hoist it to a python level function or call the decompression_bomb_check from the C layer.
source: http://lavender.b0.upaiyun.com/ex.gif
The problem appear on this line https://github.com/python-pillow/Pillow/blob/master/PIL/GifImagePlugin.py#L261, self.dispose_extent is very huge.
env: python3.5 on linux, free mem is 2G.
thanks.
The text was updated successfully, but these errors were encountered: