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-11-12 12:23:54 +00:00
2013-11-23 18:50:43 +00:00
2013-11-23 18:50:43 +00:00
2014-01-23 02:47:36 +00:00
2013-11-10 04:06:46 +00:00
2014-02-03 22:16:46 +00:00
2014-01-18 14:22:56 +00:00