commit | ee7889dec321654d1c50448de7987e1841dd3ad5 | [log] [tgz] |
---|---|---|
author | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Nov 11 02:14:36 2012 +0100 |
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Nov 11 02:14:36 2012 +0100 |
tree | 040b7cdbf15885df6cfada7a6fb85cb8ddf845ac | |
parent | 5c89b4ec55bc7ebe799da296e01544a5bcdc4250 [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.