From owner-cvs-all Fri Oct 25 0:27:25 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5967537B401; Fri, 25 Oct 2002 00:27:24 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C75443E4A; Fri, 25 Oct 2002 00:27:24 -0700 (PDT) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9P7QamV068264; Fri, 25 Oct 2002 00:26:36 -0700 (PDT) (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9P7QaPs068263; Fri, 25 Oct 2002 00:26:36 -0700 (PDT) Message-Id: <200210250726.g9P7QaPs068263@repoman.freebsd.org> From: Doug Barton Date: Fri, 25 Oct 2002 00:26:36 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/stat stat.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dougb 2002/10/25 00:26:36 PDT Modified files: usr.bin/stat stat.c Log: Adjust the size passed to readlink so that the null termination falls within the range of the path variable. Cribbed from the latest NetBSD source. Obtained from: provos@NetBSD.org Revision Changes Path 1.4 +2 -4 src/usr.bin/stat/stat.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message