Pillow/Tests/32bit_segfault_check.py
2021-04-09 19:10:36 +10:00

9 lines
130 B
Python
Executable File

#!/usr/bin/env python3
import sys
from PIL import Image
if sys.maxsize < 2 ** 32:
im = Image.new("L", (999999, 999999), 0)