Date: Fri, 06 May 2005 01:02:35 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: gurney_j@resnet.uoregon.edu Cc: cperciva@freebsd.org Subject: Re: cvs commit: src/sys/kern subr_bus.c subr_rman.c vfs_subr.c src/sys/net if_mib.c src/sys/netinet ip_divert.c raw_ip.c udp_usrreq.c Message-ID: <20050506.010235.56228082.imp@bsdimp.com> In-Reply-To: <20050506065419.GE2670@funkthat.com> References: <20050506062013.GD2670@funkthat.com> <20050506.002419.88383520.imp@bsdimp.com> <20050506065419.GE2670@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20050506065419.GE2670@funkthat.com> John-Mark Gurney <gurney_j@resnet.uoregon.edu> writes: : I didn't see any cases of this in the patches that were submitted, but : I also only checked one file... the one in subr_bus existed since day one. Originally it was snprintf. I changed it to a strlcpy because snprintf was too heavy weight for the job. I've just implemented in my tree alloc with B_ZERO with a free after the copyout. struct u_device is a little too big to put on the stack anyway... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050506.010235.56228082.imp>