[issue7467] The zipfile module does not check files' CRCs, including in ZipFile.testzip

Antoine Pitrou report at bugs.python.org
Thu Aug 12 16:05:54 CEST 2010

Antoine Pitrou <pitrou at free.fr> added the comment:

Ok, here is a new patch with a simpler logic. I've also added tests with a deflated zipfile entry with a bad CRC (in addition to the one with a stored zipfile entry).

> Finally, is it possible to determine end of file if length of 'data'
> (computed for crc) is 0?

I'm not sure I understand the question.

Added file: http://bugs.python.org/file18484/zipcrc2.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list