summaryrefslogtreecommitdiffstats
path: root/security/keys/key.c
diff options
context:
space:
mode:
authorChun-Yi Lee2017-10-04 10:45:09 +0200
committerDavid Howells2017-10-18 10:12:40 +0200
commitb3811d36a3e7e7e8ed660bf01151496cf99cf9ed (patch)
tree5768d72b30b94cccbe53e01a4b608f7f9b3836b1 /security/keys/key.c
parentKEYS: Fix the wrong index when checking the existence of second id (diff)
downloadkernel-qcow2-linux-b3811d36a3e7e7e8ed660bf01151496cf99cf9ed.tar.gz
kernel-qcow2-linux-b3811d36a3e7e7e8ed660bf01151496cf99cf9ed.tar.xz
kernel-qcow2-linux-b3811d36a3e7e7e8ed660bf01151496cf99cf9ed.zip
KEYS: checking the input id parameters before finding asymmetric key
For finding asymmetric key, the input id_0 and id_1 parameters can not be NULL at the same time. This patch adds the BUG_ON checking for id_0 and id_1. Cc: David Howells <dhowells@redhat.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Chun-Yi Lee <jlee@suse.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/keys/key.c')
0 files changed, 0 insertions, 0 deletions