[Bug 229378] crash in in_gif_lookup
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 28 11:39:34 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229378
--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:
Author: ae
Date: Thu Jun 28 11:39:28 UTC 2018
New revision: 335760
URL: https://svnweb.freebsd.org/changeset/base/335760
Log:
Add NULL pointer check.
encap_lookup_t method can be invoked by IP encap subsytem even if none
of gif/gre/me interfaces are exist. Hash tables are allocated on demand,
when first interface is created. So, make NULL pointer check before
doing access to hash table.
PR: 229378
Changes:
head/sys/net/if_me.c
head/sys/netinet/in_gif.c
head/sys/netinet/ip_gre.c
head/sys/netinet6/in6_gif.c
head/sys/netinet6/ip6_gre.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list