bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Circular symlinks lead to segfault


From: Paul Eggert
Subject: Re: [Bug-tar] Circular symlinks lead to segfault
Date: Wed, 25 Mar 2015 13:31:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]