summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-04-03 12:37:15 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-04 21:45:51 +0800
commitef609c238a8ea163cb0af759cc73c9e2555c89da (patch)
tree99fc4f1518315e72c089626567a07dfd964c78ef /net/sunrpc/auth.c
parent9735a22799b9214d17d3c231fe377fc852f042e9 (diff)
downloadop-kernel-dev-ef609c238a8ea163cb0af759cc73c9e2555c89da.zip
op-kernel-dev-ef609c238a8ea163cb0af759cc73c9e2555c89da.tar.gz
sunrpc: Fix skcipher/shash conversion
The skcpiher/shash conversion introduced a number of bugs in the sunrpc code: 1) Missing calls to skcipher_request_set_tfm lead to crashes. 2) The allocation size of shash_desc is too small which leads to memory corruption. Fixes: 3b5cf20cf439 ("sunrpc: Use skcipher and ahash/shash") Reported-by: J. Bruce Fields <bfields@fieldses.org> Tested-by: J. Bruce Fields <bfields@fieldses.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/sunrpc/auth.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud