Fixed deallocating mask images by radarhere · Pull Request #7246 · python-pillow/Pillow
Navigation Menu
{{ message }}
python-pillow / Pillow Public
- Notifications You must be signed in to change notification settings
- Fork 2.4k
Merged
radarhere merged 1 commit intopython-pillow:mainfrom
Jul 1, 2023Merged
Fixed deallocating mask images#7246
radarhere merged 1 commit intopython-pillow:mainfrom
Fixed deallocating mask images#7246
radarhere merged 1 commit intopython-pillow:mainfrom
Conversation
hugovk approved these changes Jul 1, 2023
nulano reviewed Jul 1, 2023
| def fill(mode, size): | ||
| nonlocal im | ||
|
|
||
| im = Image.core.fill(mode, size) |
Copy link Copy Markdown
Contributor
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to move the decompression bomb check here to simplify the C function.
Copy link Copy Markdown
Member Author
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've created #7247 for this.
radarhere
merged commit
c827f3b
into
python-pillow:main
radarhere
deleted the
deallocate
branch
radarhere
mentioned this pull request
Copy link Copy Markdown
Member Author
radarhere
commented
Jul 2, 2023
radarhere commented
Jul 2, 2023
nulano
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment