diff options
author | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-11-11 02:21:22 +0100 |
---|---|---|
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-11-11 02:21:22 +0100 |
commit | dd1253abdd8564b095f24107547be0b8ce91e653 (patch) | |
tree | 7eee961bf90aa457337ca1f852667db346f06da8 /Python/Python-ast.c | |
parent | 73e9bd4d259c3c213347e45d4bb5bf20fb51c7f4 (diff) | |
parent | ee7889dec321654d1c50448de7987e1841dd3ad5 (diff) | |
download | cpython-git-dd1253abdd8564b095f24107547be0b8ce91e653.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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions