[issue10298] zipfile: incorrect comment size will prevent extracting

2010-11-03 Thread rep
New submission from rep : Opening (and thus extracting) zip files with appended junk data is not possible with the way the current zipfile implementation checks validity. Basically the problem comes down to the comment size in the end-of-central-directory record being different from the size

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

2011-02-10 Thread rep
rep added the comment: Xuanji: Patch looks good now with the test cases. Regarding the other fix suggested by Kevin I think that we should not introduce custom behaviour here like appending the eofdata to the comment even though the comment size in the record does not say so. In the end we

[issue10298] zipfile: incorrect comment size will prevent extracting

2011-02-10 Thread rep
Changes by rep : -- status: open -> languishing ___ Python tracker <http://bugs.python.org/issue10298> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10298] zipfile: incorrect comment size will prevent extracting

2011-02-10 Thread rep
Changes by rep : -- status: languishing -> pending ___ Python tracker <http://bugs.python.org/issue10298> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10298] zipfile: incorrect comment size will prevent extracting

2011-02-10 Thread rep
rep added the comment: superseded by issue 10694 -- resolution: -> accepted status: pending -> closed ___ Python tracker <http://bugs.python.org/i