tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ip6opt.c

In article 
Eitan Adler  <> wrote:
>The following bug was recently fixed in DragonFlyBSD and FreeBSD.  A
>similar patch is awaiting approval for OpenBSD.
>libc/net: Fix issue 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.
>* While here make the code more similar to the other BSDs.

Applied but <= 0 in this case is superfluous since socklen_t is unsigned.


Home | Main Index | Thread Index | Old Index