Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2000 14:08:11 -0500
From:      Chris Faulhaber <jedgar@fxp.org>
To:        Warner Losh <imp@village.org>
Cc:        Chris Faulhaber <jedgar@fxp.org>, freebsd-audit@FreeBSD.ORG
Subject:   Re: config(8) patch
Message-ID:  <20001111140811.A6972@peitho.fxp.org>
In-Reply-To: <200011111904.eABJ41G31684@billy-club.village.org>; from imp@village.org on Sat, Nov 11, 2000 at 12:04:01PM -0700
References:  <20001111111408.A28197@earth.causticlabs.com> <200011111904.eABJ41G31684@billy-club.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 11, 2000 at 12:04:01PM -0700, Warner Losh wrote:
> In message <20001111111408.A28197@earth.causticlabs.com> Chris Faulhaber writes:
> : 2) allocate [MAXPATHLEN + 1] to ensure room for MAXPATHLEN and '\0'
> 
> MAXPATHLEN includes the trailing NUL.  At least that's what my brain
> is telling me bde told me after proposing similar changes to another
> part of the tree years ago.
> 

After re-reading /usr/include/sys/param.h, I agree.  Nix those lines...

-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




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