Skip to content
Commit 2716fbf6 authored by Jiri Slaby's avatar Jiri Slaby Committed by Herbert Xu
Browse files

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: default avatarJiri Slaby <jslaby@suse.cz>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 0f0a8fa7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment