Date: Tue, 24 Nov 1998 13:30:09 -0800 (PST) From: Julian Elischer <julian@whistle.com> To: Archie Cobbs <archie@whistle.com> Cc: Matthew Dillon <dillon@apollo.backplane.com>, bde@zeta.org.au, freebsd-current@FreeBSD.ORG, grog@lemis.com, rnordier@nordier.com Subject: Re: snprintf() in the kernel Message-ID: <Pine.BSF.3.95.981124131727.8419F-100000@current1.whistle.com> In-Reply-To: <199811242106.NAA05958@bubba.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Nov 1998, Archie Cobbs wrote: > > > Personally, I think we need to move to length-limited copies for all > > string operations. The code may be correct as is, and it may seem obvious > > to the people who wrote it, but FreeBSD is a collective effort and the > > more mistakes we can prevent in the future without compromising code > > effectiveness the better. > code that doesn't obviously do what it does should be either heavily commented or considered a bug.. It will eventually trick someone.. julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.981124131727.8419F-100000>