Skip to content
Commit eed74b3e authored by Dan Carpenter's avatar Dan Carpenter Committed by Herbert Xu
Browse files

crypto: rng - Fix a refcounting bug in crypto_rng_reset()



We need to decrement this refcounter on these error paths.

Fixes: f7d76e05 ("crypto: user - fix use_after_free of struct xxx_request")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 00e62e86
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