svn commit: r299502 - head/lib/libc/tests/nss
Ngie Cooper
yaneurabeya at gmail.com
Thu May 12 03:46:48 UTC 2016
On Wed, May 11, 2016 at 7:32 PM, Conrad E. Meyer <cem at freebsd.org> wrote:
> Author: cem
> Date: Thu May 12 02:32:23 2016
> New Revision: 299502
> URL: https://svnweb.freebsd.org/changeset/base/299502
>
> Log:
> nss/gethostby_test: fix broken vector iteration of gethostbyaddr h_aliases
>
> h_aliases is a NULL-terminated rather than fixed-length array. nitems() is not
> a valid way to determine its end; instead, check for NULL.
>
> Reported by: Coverity
> CID: 1346578
> Sponsored by: EMC / Isilon Storage Division
>
> Modified:
> head/lib/libc/tests/nss/gethostby_test.c
ugh... thanks...
More information about the svn-src-all
mailing list