[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Circular symlinks lead to segfault
From: |
Pavel Raiskup |
Subject: |
Re: [Bug-tar] Circular symlinks lead to segfault |
Date: |
Thu, 26 Mar 2015 13:58:17 +0100 |
User-agent: |
KMail/4.14.4 (Linux/3.19.1-201.fc21.x86_64; KDE/4.14.6; x86_64; ; ) |
On Wednesday 25 of March 2015 13:31:12 Paul Eggert wrote:
> Yes, it's a problem if you give 'tar' an infinite tree, because tar
> tries very hard to dump the whole thing, and having it check for loops
> would slow it down. The simplest workaround I can think of is to not
> use -h unless you know the tree is finite.
>
> Perhaps you could write a patch to have tar check for loops when the -h
> option is given? It could use the hash-table code already in there.
I believe this is the same issue we discussed some time ago:
https://www.mail-archive.com/address@hidden/msg04542.html
https://lists.gnu.org/archive/html/bug-tar/2014-07/msg00013.html
Pavel