New submission from Michael Vogt:

The tarfile.makelink() code crashes with a maximum recursion error when it 
unpacks a tarfile that contains a symlink into a directory that already 
contains this symlink.

Attached is a standalone testcase (that probably better explains whats going on 
:) and a possible fix.

----------
components: Library (Lib)
files: tarfile-extract-crash.py
messages: 233907
nosy: mvo
priority: normal
severity: normal
status: open
title: Crashes when tarfile contains a symlink and unpack directory contain it 
too
type: crash
Added file: http://bugs.python.org/file37688/tarfile-extract-crash.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23228>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to