commit | 9ea64e38b5e1b947fef9e53e3f63994b79e264e7 | [log] [tgz] |
---|---|---|
author | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Nov 11 02:24:37 2012 +0100 |
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Nov 11 02:24:37 2012 +0100 |
tree | cf40e393504bdc1f39210dc1a7dcdb1aa2e1e59c | |
parent | 5fb7308318d3eeef89979c954592f226d5e7d825 [diff] | |
parent | dd1253abdd8564b095f24107547be0b8ce91e653 [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.