On Wed, May 11, 2016 at 7:32 PM, Conrad E. Meyer <[email protected]> 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...
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to