[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #27221] symlink_loop check broken by FTS_CWDFD
From: |
James Youngman |
Subject: |
[bug #27221] symlink_loop check broken by FTS_CWDFD |
Date: |
Sun, 11 Apr 2010 12:41:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2 |
Update of bug #27221 (project findutils):
Status: Need Info => Fixed
Open/Closed: Open => Closed
Fixed Release: None => 4.5.8
_______________________________________________________
Follow-up Comment #4:
So, recent changes to the code have eliminated this particular problem.
However, there is still an architectural risk that code will use pathnames
which are releative to some fd, without using the fd. For example, a
function may call lstat() on a file name rather than fstatat.
At the moment nothing in the design of findutils mitigates this risk. The
"good fix" I referred to earlier would be to modify the code such that
pathnames and file descriptors to which they're relative should travel around
the program as an undivided unit. That would be quite an extensive change.
However, this immmediate bug has been fixed, I think.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27221>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/