Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2fb00b6ed17c by Nadeem Vawda in branch '3.2':
Issue #12839: Fix crash in zlib module due to version mismatch.
http://hg.python.org/cpython/rev/2fb00b6ed17c
--
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ba5000307b5d by Nadeem Vawda in branch '2.7':
Issue #12839: Fix crash in zlib module due to version mismatch.
http://hg.python.org/cpython/rev/ba5000307b5d
New changeset cc9e794bf94f by Nadeem Vawda in branch '3.2':
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Done. Once again, thanks for the report and the patch!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
rmtew richard.m@gmail.com added the comment:
Attached is a patch to fix the issue, generated using p4 diff -du which
should hopefully be usable.
--
keywords: +patch
Added file: http://bugs.python.org/file23044/zlibmodule.patch
___
Python tracker
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Thanks for the bug report and patch. I'll take a look at it over the weekend.
--
assignee: - nadeem.vawda
components: +Extension Modules -None
nosy: +nadeem.vawda
___
Python tracker
New submission from rmtew richard.m@gmail.com:
zlibmodule.c calling inflateInit2 and deflateInit2 will subsequently proceed to
crash in the case where these functions return Z_VERSION_ERROR.
zlib implementation note:
When you compile against zlib, several functions (actually macros) like