cvs commit: src/sys/isofs/cd9660 cd9660_rrip.c
Joerg Wunsch
joerg at FreeBSD.org
Mon Mar 13 22:32:34 UTC 2006
joerg 2006-03-13 22:32:33 UTC
FreeBSD src repository
Modified files:
sys/isofs/cd9660 cd9660_rrip.c
Log:
When encountering a ISO_SUSP_CFLAG_ROOT element in Rock Ridge
processing, this actually means there's a double slash recorded in the
symbolic link's path name. We used to start over from / then, which
caused link targets like ../../bsdi.1.0/include//pathnames.h to be
interpreted as /pathnahes.h. This is both contradictionary to our
conventional slash interpretation, as well as potentially dangerous.
The right thing to do is (obviously) to just ignore that element.
bde once pointed out that mistake when he noticed it on the
4.4BSD-Lite2 CD-ROM, and asked me for help.
Reviewed by: bde (about half a year ago)
MFC after: 3 days
Revision Changes Path
1.29 +1 -3 src/sys/isofs/cd9660/cd9660_rrip.c
More information about the cvs-src
mailing list