Eitan Adler c6c4136a0a 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 extlen for less than zero is
not needed.

Submitted by:	swildner@dragonflybsd.org
Reviewed by:	Mark Martinec <Mark.Martinec+freebsd@ijs.si>
Reviewed by:	hrs
Obtained by:	DragonFlyBSD
2014-02-04 03:01:33 +00:00
..
2013-07-09 08:23:43 +00:00
2013-05-21 21:39:18 +00:00
2013-05-21 21:39:18 +00:00
2013-07-09 08:23:43 +00:00
2012-03-25 12:13:24 +00:00
2012-05-11 20:06:46 +00:00