Date: 12 Dec 2000 21:31:28 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: Warner Losh <imp@village.org> Cc: assar@FreeBSD.ORG, Matt Dillon <dillon@earth.backplane.com>, kris@citusc.usc.edu, arch@FreeBSD.ORG Subject: Re: Safe string formatting in the kernel Message-ID: <xzplmtlfkkf.fsf@flood.ping.uio.no> In-Reply-To: Warner Losh's message of "Tue, 12 Dec 2000 11:25:03 -0700" References: <xzpelzd66qy.fsf@flood.ping.uio.no> <xzpsnnuq1hy.fsf@flood.ping.uio.no> <20001211185610.A1741@citusc.usc.edu> <200012120259.eBC2xfb99004@earth.backplane.com> <5lhf4ap8cv.fsf@assaris.sics.se> <200012121825.LAA31285@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@village.org> writes: > Just be careful that your dynamic string growing things don't violate > the hard limit invariants in the kernel. If it produces paths longer > than 1023 characters, for example, it is wrong. Code manipulating path names would specify a hard upper limit of MAXPATHLEN. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzplmtlfkkf.fsf>