On Fri, Dec 28, 2012 at 02:43:33AM +0000, David Xu wrote: > Author: davidxu > Date: Fri Dec 28 02:43:33 2012 > New Revision: 244760 > URL: http://svnweb.freebsd.org/changeset/base/244760 > > Log: > Use strlcpy to NULL-terminate error message even if user provided a short > buffer.
Are you sure that none of this depends on the zeroing behavior of strncpy? Joerg _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"