[New-bugs-announce] [issue1746] ZIP files with archive comments longer than 4k not recognized as valid by zipfile module
report at bugs.python.org
Sun Jan 6 23:40:17 CET 2008
New submission from Alan McIntyre:
The current behavior of zipfile._EndRecData is to look in the last 4k of
data in a file if it appears it might have an archive comment; this
results in flagging proper ZIP files with comments longer than ~4074
bytes as "not a ZIP file."
I plan on posting a patch for this later, but figured this should be
documented in case I don't get around to it.
components: Library (Lib)
title: ZIP files with archive comments longer than 4k not recognized as valid by zipfile module
versions: Python 2.6
Tracker <report at bugs.python.org>
More information about the New-bugs-announce