Skip to content

Overflow in resample.c, with tests#1714

Merged
wiredfool merged 3 commits into
python-pillow:masterfrom
wiredfool:resample-overflow
Feb 4, 2016
Merged

Overflow in resample.c, with tests#1714
wiredfool merged 3 commits into
python-pillow:masterfrom
wiredfool:resample-overflow

Conversation

@wiredfool

Copy link
Copy Markdown
Member

Extension of #1711

@wiredfool

Copy link
Copy Markdown
Member Author

I've added a check in the resize function to check for negative values of the new size. There are several interesting things that could come of that when cast to an unsigned value.

wiredfool added a commit that referenced this pull request Feb 4, 2016
Overflow in resample.c, with tests
@wiredfool wiredfool merged commit 1723dc2 into python-pillow:master Feb 4, 2016
@wiredfool wiredfool deleted the resample-overflow branch October 2, 2017 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant