summaryrefslogtreecommitdiff
path: root/Python/Python-ast.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
commit5b1f95f6f7fa544629a14b3363211563594a3fad (patch)
tree4ffb8f949adaa5a75a4b5fc9d4d8a477cefcf393 /Python/Python-ast.c
parente56bcda15a5e25872b34ad055c2bd203fe2422be (diff)
downloadcpython-5b1f95f6f7fa544629a14b3363211563594a3fad.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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions