On Apr 16, 2013, at 21:58, Ivan Voras <ivo...@freebsd.org> wrote: > Author: ivoras > Date: Tue Apr 16 19:58:24 2013 > New Revision: 249564 > URL: http://svnweb.freebsd.org/changeset/base/249564 > > Log: > Fix the buffer-overflow-fixing fixes. ... > + /* > + * We can safely ignore the result of strncpy; the label will > + * simply be truncated, which at most is only annoying. > + */ > + (void)snprintf(label, size, "%s-%s", cls->name, ident);
s/strncpy/snprintf/ ? :-) _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"