Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2000 11:20:14 -0700
From:      Warner Losh <imp@village.org>
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        kris@citusc.usc.edu, Dag-Erling Smorgrav <des@ofug.org>, arch@FreeBSD.ORG
Subject:   Re: Safe string formatting in the kernel 
Message-ID:  <200012121820.LAA31234@harmony.village.org>
In-Reply-To: Your message of "Mon, 11 Dec 2000 18:59:41 PST." <200012120259.eBC2xfb99004@earth.backplane.com> 
References:  <200012120259.eBC2xfb99004@earth.backplane.com>  <xzpsnnuq1hy.fsf@flood.ping.uio.no> <20001211185610.A1741@citusc.usc.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200012120259.eBC2xfb99004@earth.backplane.com> Matt Dillon writes:
:     strcpy()	-> sn_strcpy(dst, src, sizeof_destination_buffer)
:     strcat()	-> sn_strcat(dst, src, sizeof_destination_buffer)

We already have strlcat and strlcpy in the tree.  I'd agree with the
weak need for making it all dynamic.

Warner


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?200012121820.LAA31234>