[issue21109] tarfile: Traversal attack vulnerability

Tal Einat report at bugs.python.org
Wed Sep 26 05:15:41 EDT 2018


Tal Einat <taleinat at gmail.com> added the comment:

shashank, you're making good progress on this!

The tests should also put SafeTarFile through all of the tests for TarFile, considering that it is being described as a drop-in replacement. You should look through the existing tests for other modules which do similar things for methods to implement this cleanly, e.g. Lib/tests/test_binascii.py and Lib/tests/datetimetester.py.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue21109>
_______________________________________


More information about the Python-bugs-list mailing list