Skip to content
Commit ef609c23 authored by Herbert Xu's avatar Herbert Xu
Browse files

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: 3b5cf20c ("sunrpc: Use skcipher and ahash/shash")
Reported-by: default avatarJ. Bruce Fields <bfields@fieldses.org>
Tested-by: default avatarJ. Bruce Fields <bfields@fieldses.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9735a227
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment