lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 13 Dec 2007 09:31:30 -0800 (PST) From: David Miller <davem@...emloft.net> To: herbert@...dor.apana.org.au Cc: netdev@...r.kernel.org Subject: Re: [IPSEC]: Fix zero return value in xfrm_lookup on error From: Herbert Xu <herbert@...dor.apana.org.au> Date: Fri, 14 Dec 2007 00:44:48 +0800 > [IPSEC]: Fix zero return value in xfrm_lookup on error > > Further testing shows that my ICMP relookup patch can cause xfrm_lookup > to return zero on error which isn't very nice since it leads to the caller > dying on null pointer dereference. The bug is due to not setting err > to ENOENT just before we leave xfrm_lookup in case of no policy. > > This patch moves the err setting to where it should be. > > Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists