Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jul 2005 15:16:25 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/sh expand.c
Message-ID:  <200507101516.j6AFGP0D087130@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
delphij     2005-07-10 15:16:25 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    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.46.2.1  +1 -1      src/bin/sh/expand.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507101516.j6AFGP0D087130>