On Wed, May 22, 2019 at 12:42:29PM -0700, Eric Biggers wrote: > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > 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 <ebiggers@xxxxxxxxxx> > --- > crypto/hmac.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt