-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Segmentation fault when creating gradient images with mode "F" #5272
Copy link
Copy link
Closed
Labels
BugAny unexpected behavior, until confirmed feature.Any unexpected behavior, until confirmed feature.
Description
What did you do?
Python 3.9.1 (default, Jan 13 2021, 15:21:08)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PIL
>>> print(PIL.__version__)
8.0.1
>>> import PIL.Image as pimage
>>> image1 = pimage.linear_gradient("L")
>>> image2 = pimage.linear_gradient("F")
Segmentation faultWhat did you expect to happen?
Not segfaulting.
What actually happened?
Segfaulted.
What are your OS, Python and Pillow versions?
- OS: Red Hat 4.8.5-44
- Python: Python 3.9.1
- Pillow: 8.0.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugAny unexpected behavior, until confirmed feature.Any unexpected behavior, until confirmed feature.