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

M. Warner Losh imp at bsdimp.com
Fri May 6 00:03:38 PDT 2005


In message: <20050506065419.GE2670 at funkthat.com>
            John-Mark Gurney <gurney_j at 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


More information about the cvs-src mailing list