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
commite07de6ab44d78ec935aed1e100299c690b08d0c5 (patch)
treeced17d165443c17042e78904e9de3640663ce4a8 /Python/Python-ast.c
parent4aeb3914d79916ff486134a29468890cba0ae292 (diff)
downloadcpython-e07de6ab44d78ec935aed1e100299c690b08d0c5.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