Pillow/Tests/check_fli_overflow.py
2023-12-21 13:13:31 +02:00

11 lines
253 B
Python

from __future__ import annotations
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()