Date: Thu, 28 Jun 2018 11:39:31 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229378] crash in in_gif_lookup Message-ID: <bug-229378-227-PAhWdszyea@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229378-227@https.bugs.freebsd.org/bugzilla/> References: <bug-229378-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229378 --- Comment #2 from commit-hook@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229378-227-PAhWdszyea>
