]> granicus.if.org Git - python/commit
Merge: #12839: Fix crash in zlib module due to version mismatch.
authorNadeem Vawda <nadeem.vawda@gmail.com>
Sun, 28 Aug 2011 09:29:35 +0000 (11:29 +0200)
committerNadeem Vawda <nadeem.vawda@gmail.com>
Sun, 28 Aug 2011 09:29:35 +0000 (11:29 +0200)
commit44c6ef50af9980f33f6373440f0afc9cfa800c86
treec2d25fb835323b271b15b10a55cace32b690e6bf
parent76f570a9c63eca7dda7d88c0827d34ee1ea53270
parent524148ad7a3e5420abf867b1e30017b5ca2311a4
Merge: #12839: Fix crash in zlib module due to version mismatch.

If the version of zlib used to compile the zlib module is incompatible
with the one that is actually linked in, then calls into zlib will fail.
This can leave attributes of the z_stream uninitialized, so we must take
care to avoid segfaulting by trying to use an invalid pointer.

Fix by Richard M. Tew.
Misc/ACKS
Misc/NEWS
Modules/zlibmodule.c