IPV6: Handle np->opt being NULL in ipv6_getsockopt_sticky() [CVE-2007-1000]
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 7 Mar 2007 20:50:46 +0000 (12:50 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:33 +0000 (10:50 -0800)
commit4c9ef074b33690981d81ab0107fe2573007083ef
tree7d4d654bc35918cbafe8256ab9878128c38778e2
parent3baa43fdc9b64646b468b92936c4842c51b9e2ed
IPV6: Handle np->opt being NULL in ipv6_getsockopt_sticky() [CVE-2007-1000]

This fixes http://bugzilla.kernel.org/show_bug.cgi?id=8134

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv6/ipv6_sockglue.c