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
caif_dev.h -rw-r--r-- 4.3 KB
caif_device.h -rw-r--r-- 1.8 KB
caif_hsi.h -rw-r--r-- 5.2 KB
caif_layer.h -rw-r--r-- 8.7 KB
caif_spi.h -rw-r--r-- 4.1 KB
cfcnfg.h -rw-r--r-- 2.5 KB
cfctrl.h -rw-r--r-- 3.4 KB
cffrml.h -rw-r--r-- 626 bytes
cfmuxl.h -rw-r--r-- 594 bytes
cfpkt.h -rw-r--r-- 5.9 KB
cfserl.h -rw-r--r-- 269 bytes
cfsrvl.h -rw-r--r-- 1.8 KB

back to top