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 freeing pointer in ImageDraw.Outline.transform #5909

Merged
merged 1 commit into from Dec 27, 2021

Conversation

radarhere
Copy link
Member

The following code will crash when trying to free a pointer.

>>> from PIL import ImageDraw
>>> o = ImageDraw.Outline()
>>> o.line(0, 0)
>>> o.transform((0, 0, 0, 0, 0, 0))

This PR fixes it.

@radarhere radarhere added Bug Any unexpected behavior, until confirmed feature. automerge Automatically merge PRs that are ready labels Dec 27, 2021
@radarhere radarhere merged commit 7adab8f into python-pillow:main Dec 27, 2021
@radarhere radarhere deleted the transform branch December 27, 2021 05:48
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 Bug Any unexpected behavior, until confirmed feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant