Author berker.peksag
Recipients alter-bug-tracer, berker.peksag, matrixise, serhiy.storchaka
Date 2019-05-28.16:25:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The OP's report is valid and they already stated that the file is malformed. More importantly, this can be reproduced with a valid ZIP file as well.

The correct behavior is to get RuntimeError in this case.

_check_compression() needs to be called before _get_decompressor().

There is no issue when getting the compressor object because _check_compression() is called inside _writecheck().
Date User Action Args
2019-05-28 16:25:32berker.peksagsetrecipients: + berker.peksag, serhiy.storchaka, matrixise, alter-bug-tracer
2019-05-28 16:25:32berker.peksagsetmessageid: <>
2019-05-28 16:25:32berker.peksaglinkissue36991 messages
2019-05-28 16:25:31berker.peksagcreate