From 2716fbf63ee39eadc1aa9b3841b20f75b99a9bc3 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Wed, 23 Jun 2010 20:01:45 +1000 Subject: [PATCH] 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-format-patch failed