On Wed, May 22, 2019 at 12:42:29PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebigg...@google.com>
> 
> When I added the sanity check of 'descsize', I missed that the child
> hash tfm needs to be freed if the sanity check fails.  Of course this
> should never happen, hence the use of WARN_ON(), but it should be fixed.
> 
> Fixes: e1354400b25d ("crypto: hash - fix incorrect HASH_MAX_DESCSIZE")
> Signed-off-by: Eric Biggers <ebigg...@google.com>
> ---
>  crypto/hmac.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herb...@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to