[issue26293] Embedded zipfile fields dependent on absolute position

Serhiy Storchaka report at bugs.python.org
Fri May 13 15:14:12 EDT 2016


Serhiy Storchaka added the comment:

Yes, this may be a bug. After appending all offsets are absolute file positions. Here is a patch that presumably fixes this issue. Unfortunately I can't write tests for this issue. ZipFile is too lenient and all written tests are passes with unpatched code. Please test the patch manually.

----------
keywords: +patch
stage:  -> patch review
versions: +Python 2.7, Python 3.5
Added file: http://bugs.python.org/file42841/zipfile_concatenated.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26293>
_______________________________________


More information about the Python-bugs-list mailing list