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
Thu May 5 23:24:28 PDT 2005


Yes, I understand that.  But Like I said before, it is better to zero
the entire hunk of memory with bzero or M_ZERO....

The problem with strncpy is that it doesn't guarantee NUL
termination when strlen(s) > sizeof(d).

Warner


More information about the cvs-src mailing list