cvs commit: src/bin/sh expand.c
Xin LI
delphij at FreeBSD.org
Sun Jul 10 15:17:54 GMT 2005
delphij 2005-07-10 15:17:54 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_4)
bin/sh expand.c
Log:
MFC 1.47:
Fix a bug when shell expansion is done against dangling symlinks, by
converting the stat() call to a lstat() call, which will cover the
situation. One can exercise this bug by referring a dangling link with
something like */the-link.
Submitted by: Simon 'corecode' Schubert [corecode fs ei tum de]
Obtained from: NetBSD via DragonFlyBSD (NetBSD rev. 1.51 and DragonFly
rev. 1.6)
Revision Changes Path
1.31.2.7 +1 -1 src/bin/sh/expand.c
More information about the cvs-src
mailing list