diff options
author | 2018-04-03 15:09:12 -0500 | |
---|---|---|
committer | 2018-04-21 00:58:31 +0800 | |
commit | 3d8ccf9f6ef6b569b0821d75e4ada9430d3be462 (patch) | |
tree | fbf1b5acd1b030b57f13406ec6c9772b953a2c06 /crypto/algapi.c | |
parent | crypto: authencesn - don't leak pointers to authenc keys (diff) | |
download | wireguard-linux-3d8ccf9f6ef6b569b0821d75e4ada9430d3be462.tar.xz wireguard-linux-3d8ccf9f6ef6b569b0821d75e4ada9430d3be462.zip |
crypto: chelsio - Fix potential NULL pointer dereferences
Add null checks on lookup_tid() return value in order to prevent
null pointer dereferences.
Addresses-Coverity-ID: 1467422 ("Dereference null return value")
Addresses-Coverity-ID: 1467443 ("Dereference null return value")
Addresses-Coverity-ID: 1467445 ("Dereference null return value")
Addresses-Coverity-ID: 1467449 ("Dereference null return value")
Fixes: cc35c88ae4db ("crypto : chtls - CPL handler definition")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions