Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed deallocating mask images #7246

Merged
merged 1 commit into from Jul 1, 2023
Merged

Conversation

radarhere
Copy link
Member

Corrects a problem from #7206

@hugovk hugovk added the automerge Automatically merge PRs that are ready label Jul 1, 2023
def fill(mode, size):
nonlocal im

im = Image.core.fill(mode, size)
Copy link
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
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 radarhere merged commit c827f3b into python-pillow:main Jul 1, 2023
55 checks passed
@radarhere radarhere deleted the deallocate branch July 1, 2023 10:36
@radarhere
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PRs that are ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants