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)
messages: 59411
nosy: alanmcintyre
severity: normal
status: open
title: ZIP files with archive comments longer than 4k not recognized as valid 
by zipfile module
type: behavior
versions: Python 2.6

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1746>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to