commit | dd1253abdd8564b095f24107547be0b8ce91e653 | [log] [tgz] |
---|---|---|
author | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Nov 11 02:21:22 2012 +0100 |
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Nov 11 02:21:22 2012 +0100 |
tree | 7eee961bf90aa457337ca1f852667db346f06da8 | |
parent | 73e9bd4d259c3c213347e45d4bb5bf20fb51c7f4 [diff] | |
parent | ee7889dec321654d1c50448de7987e1841dd3ad5 [diff] |
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.