mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
24183d652e
for more information, see https://pre-commit.ci
10 lines
218 B
Python
10 lines
218 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()
|