Message279088
patch for py2.7
The EOCD structure is at EOF.
It either does not contain a comment (this is what the existing code checks first) or it contains a comment of the length that is specified in the structure.
The patch checks consistency specified length vs. real length (end of fixed part of structure up to EOF). If this does not match, it is likely not a zip file, but just a file that happens to have the magic 4 bytes somewhere in its last 64kB. |
|
Date |
User |
Action |
Args |
2016-10-20 22:26:45 | Thomas.Waldmann | set | recipients:
+ Thomas.Waldmann, twouters, alanmcintyre, serhiy.storchaka |
2016-10-20 22:26:45 | Thomas.Waldmann | set | messageid: <1477002405.21.0.814259301844.issue28494@psf.upfronthosting.co.za> |
2016-10-20 22:26:45 | Thomas.Waldmann | link | issue28494 messages |
2016-10-20 22:26:45 | Thomas.Waldmann | create | |
|