mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
12 lines
262 B
Python
12 lines
262 B
Python
from __future__ import annotations
|
|
|
|
from PIL import Image
|
|
|
|
TEST_FILE = "Tests/images/fli_overflow.fli"
|
|
|
|
|
|
def test_fli_overflow() -> None:
|
|
# this should not crash with a malloc error or access violation
|
|
with Image.open(TEST_FILE) as im:
|
|
im.load()
|