[issue6972] zipfile.ZipFile overwrites files outside destination path

Thomas W. Barr report at bugs.python.org
Tue Sep 29 22:53:18 CEST 2009


Thomas W. Barr <twb at rice.edu> added the comment:

Uploading patch. This actually should fix my theoretical symlink bug
since realpath() properly follows symlinks. The only thing that I
haven't been able to test is the behavior of realpath() on
case-insensitive operating systems. This should do the right thing, the
path should be normalized, but can someone confirm this?

----------
Added file: http://bugs.python.org/file15003/zipfile-6972-patch.diff

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


More information about the Python-bugs-list mailing list