On Apr 16, 2013, at 21:58, Ivan Voras <[email protected]> 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/ ? :-)

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to