On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore <i...@freebsd.org> wrote:

>   Nullterminate strings returned via sysctl.
>
>   PR:           195668
>

To quote the manpage:

> The *sbuf* family of functions allows one to safely
> allocate, construct and release bounded null-terminated
> strings in kernel space.

IMO the sbuf API is broken if we have to explicitly null-terminate the
string ourselves.
_______________________________________________
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"

Reply via email to