[issue10694] zipfile.py end of central directory detection not robust

Serhiy Storchaka report at bugs.python.org
Tue Sep 25 15:33:43 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

This change significantly increased the probability of false positive detection in is_zipfile(). It was around 1/2**32, now it is around 1/2**16. It looks small, but not enough small if you test hundreds of thousands files. See issue28494.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue10694>
_______________________________________


More information about the Python-bugs-list mailing list