summaryrefslogtreecommitdiff
path: root/Python/getplatform.c
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2011-08-28 11:26:46 +0200
committerNadeem Vawda <nadeem.vawda@gmail.com>2011-08-28 11:26:46 +0200
commit524148ad7a3e5420abf867b1e30017b5ca2311a4 (patch)
treea1641b086435868bbfcafba4232c85cf5111364b /Python/getplatform.c
parentd54fa555cba8bb6d26469a5cc283c468a03f0db8 (diff)
downloadcpython-git-524148ad7a3e5420abf867b1e30017b5ca2311a4.tar.gz
Issue #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.
Diffstat (limited to 'Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions