Re: svn commit: r261454 - head/lib/libc/net

2014-02-04 Thread Eitan Adler
On Tue, Feb 4, 2014 at 1:29 AM, Bruce Evans wrote: > On Tue, 4 Feb 2014, Eitan Adler wrote: > >> Log: >> libc/net: Fix some issues in inet6_opt_init() (from RFC 3542): >> >> * The RFC says (in section 10.1) that only when extbuf is not NULL, >> extlen shall be checked, so don't perform this che

Re: svn commit: r261454 - head/lib/libc/net

2014-02-03 Thread Bruce Evans
On Tue, 4 Feb 2014, Eitan Adler wrote: Log: libc/net: Fix some issues in inet6_opt_init() (from RFC 3542): * The RFC says (in section 10.1) that only when extbuf is not NULL, extlen shall be checked, so don't perform this check when NULL is passed. * socklen_t is unsigned, so checking ext

svn commit: r261454 - head/lib/libc/net

2014-02-03 Thread Eitan Adler
Author: eadler Date: Tue Feb 4 03:01:33 2014 New Revision: 261454 URL: http://svnweb.freebsd.org/changeset/base/261454 Log: libc/net: Fix some issues in inet6_opt_init() (from RFC 3542): * The RFC says (in section 10.1) that only when extbuf is not NULL, extlen shall be checked, so don't