Skip to content

Fix bulletproof code from libc - #2773

Merged
wiredfool merged 2 commits into
python-pillow:masterfrom
cgohlke:patch-2
Oct 2, 2017
Merged

wiredfool merged 2 commits into
python-pillow:masterfrom
cgohlke:patch-2

Conversation

@cgohlke

@cgohlke cgohlke commented Oct 2, 2017

Copy link
Copy Markdown
Contributor

Fixes #2772 (Image.new segfaults on win-amd64).

Tested on Windows with Python 2.7 and 3.6, 32-bit and 64-bit.

@hugovk

hugovk commented Oct 2, 2017 •

Copy link
Copy Markdown
Member
libImaging\Storage.c(434) : error C2065: 'ssize_t' : undeclared identifier
libImaging\Storage.c(434) : error C2146: syntax error : missing ')' before identifier 'arena'

@wiredfool
wiredfool merged commit e4619d0 into python-pillow:master Oct 2, 2017
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.

4 participants