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

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	jason_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2001/05/30 20:20:29

Modified files:
	lib/libc/gen   : Tag: OPENBSD_2_9 fts.c 

Log message:
Pull in patch from current:
Errata 002:
Programs using the fts(3) routines (such as rm, find, and most programs that
take a -R flag) can be tricked into changing into the wrong directory if the
parent dir is changed out from underneath it. This is similar to the old fts
bug but happens when popping out of directories, as opposed to descending
into them.
Fix (millert):
When changing directory to '..', verify that we really are where
we should be.  This is similar to the old fts bug but happens when
popping out of directories, as opposed to descending into them.
Patch based on one by Kris Kennaway <kris_(_at_)_obsecurity_(_dot_)_org>.
Issue reported by Nick Cleaton <nick_(_at_)_cleaton_(_dot_)_net>