tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ip6opt.c
In article
<CAF6rxg=ab_jbYLpdPEywVYWk9ZZg_ryCHaGU4HR+hU5kTEjRew%mail.gmail.com@localhost>,
Eitan Adler <lists%eitanadler.com@localhost> 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.
christos
Home |
Main Index |
Thread Index |
Old Index