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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Warner


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?200011111904.eABJ41G31684>