[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #13381] infinite loop with -follow.
From: |
Andreas Metzler |
Subject: |
[bug #13381] infinite loop with -follow. |
Date: |
Sun, 12 Jun 2005 17:17:49 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13381>
Summary: infinite loop with -follow.
Project: findutils
Submitted by: ametzler
Submitted on: Son 12.06.2005 um 17:17
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: None
Fixed Release: None
_______________________________________________________
Details:
Hello,
this was found by Zhangrong Huang in http://bugs.debian.org/313081
mkdir testingfindagain
ln -s . testingfindagain/symlink
now
find testingfindagain -follow
will generate an endless loop. (For testing I suggest piping into head -c 200,
otherwise you might trigger OOM)
This was introduced between 4.2.18 and 4.2.19 (when changing find.c from r1.72
to r1.73). 4.2.x up to 4.2.18 will output this and exit:
find: Symbolic link `testingfindagain/symlink' is
part of a loop in the directory hierarchy; we have already visited the
directory to which it points.
testingfindagain
testingfindagain/symlink
cu andreas
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
address@hidden | original bugsubmitter
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13381>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [bug #13381] infinite loop with -follow.,
Andreas Metzler <=