summaryrefslogtreecommitdiff
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-11-11 02:14:36 +0100
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-11-11 02:14:36 +0100
commitefe6c429c58489a3b7579d73f85b4e646cc5cfb6 (patch)
treeb91f60f5b5c26ffb688478a7502ba0363676a8da /Python/pymath.c
parent5f45bd03cb9b5e8d3376ca2a17216dc4cbd9ef91 (diff)
downloadcpython-efe6c429c58489a3b7579d73f85b4e646cc5cfb6.tar.gz
Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka.
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions