Message343803
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:32 | berker.peksag | set | recipients:
+ berker.peksag, serhiy.storchaka, matrixise, alter-bug-tracer |
| 2019-05-28 16:25:32 | berker.peksag | set | messageid: <[email protected]> |
| 2019-05-28 16:25:32 | berker.peksag | link | issue36991 messages |
| 2019-05-28 16:25:31 | berker.peksag | create | |
|