mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 05:36:48 +03:00
11 lines
219 B
Python
11 lines
219 B
Python
from PIL import Image
|
|
|
|
TEST_FILE = "Tests/images/fli_overflow.fli"
|
|
|
|
|
|
def test_fli_overflow():
|
|
|
|
# this should not crash with a malloc error or access violation
|
|
with Image.open(TEST_FILE) as im:
|
|
im.load()
|