Skip to content

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
@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.

3 participants