Revision 4e880168e9ffb1cdbdb72b3b48ab0324b30c2d62 authored by Dan Carpenter on 08 June 2017, 13:47:49 UTC, committed by James Morris on 09 June 2017, 03:29:45 UTC
We forgot to set the error code on this path so it could result in
returning NULL which leads to a NULL dereference.

Fixes: db6c43bd2132 ("crypto: KEYS: convert public key and digsig asym to the akcipher api")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
1 parent 381f20f
History
File Mode Size
Makefile -rw-r--r-- 377 bytes
compat.c -rw-r--r-- 19.1 KB
compat_mq.c -rw-r--r-- 3.9 KB
ipc_sysctl.c -rw-r--r-- 5.4 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 35.8 KB
msg.c -rw-r--r-- 23.5 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.6 KB
sem.c -rw-r--r-- 55.5 KB
shm.c -rw-r--r-- 33.5 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 21.0 KB
util.h -rw-r--r-- 6.4 KB

back to top