Re: [PATCH 1/1] crypto: brcm - Avoid double free in ahash_finup()

2017-02-14 Thread Herbert Xu
On Tue, Feb 14, 2017 at 12:45:52PM -0500, Rob Rice wrote: > In Broadcom SPU driver, in case where incremental hash > is done in software in ahash_finup(), tmpbuf was freed > twice. > > Reported-by: Dan Carpenter > Signed-off-by: Rob Rice Patch applied. Thanks. -- Email: Herbert Xu Home Page:

[PATCH 1/1] crypto: brcm - Avoid double free in ahash_finup()

2017-02-14 Thread Rob Rice
In Broadcom SPU driver, in case where incremental hash is done in software in ahash_finup(), tmpbuf was freed twice. Reported-by: Dan Carpenter Signed-off-by: Rob Rice --- drivers/crypto/bcm/cipher.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/bcm/cipher.c b/drivers/crypto