Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2007 15:11:53 +0000 (UTC)
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   cvs commit: src/usr.sbin/mtree mtree.c
Message-ID:  <200711021511.lA2FBrCW042981@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
keramida    2007-11-02 15:11:53 UTC

  FreeBSD src repository (doc committer)

  Modified files:
    usr.sbin/mtree       mtree.c 
  Log:
  mtree should use getcwd() instead of getwd().  getcwd() is safer,
  because it includes checks for the length of the buffer it uses.
  
  Reviewed by:    phk, cperciva
  MFC after:      3 days
  
  Revision  Changes    Path
  1.30      +1 -1      src/usr.sbin/mtree/mtree.c



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