commit | 252f4dc6c9a418f83749bbfe76b672c800e6a08b | [log] [tgz] |
---|---|---|
author | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Nov 11 02:14:15 2012 +0100 |
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Nov 11 02:14:15 2012 +0100 |
tree | 204af26c5b1c4f1e016659f1090d27cb3108691c | |
parent | 67f089f8607167859e0cc28eb1865917df75fc63 [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.