From: Jiri Slaby Date: Wed, 23 Jun 2010 10:01:45 +0000 (+1000) Subject: crypto: skcipher - avoid NULL dereference X-Git-Tag: v2.6.35-rc6~39^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2716fbf63ee39eadc1aa9b3841b20f75b99a9bc3;p=pandora-kernel.git crypto: skcipher - avoid NULL dereference Stanse found a potential NULL dereference in ablkcipher_next_slow. Even though kmalloc fails, its retval is dereferenced later. Return from that function properly earlier. Signed-off-by: Jiri Slaby Acked-by: David S. Miller Signed-off-by: Herbert Xu --- Reading git-diff-tree failed