[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191004154433.GX5148@gondor.apana.org.au>
Date: Sat, 5 Oct 2019 01:44:33 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Navid Emamdoost <navid.emamdoost@...il.com>
Cc: ghook@....com, emamd001@....edu, smccaman@....edu, kjlu@....edu,
Tom Lendacky <thomas.lendacky@....com>,
Gary Hook <gary.hook@....com>,
"David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] crypto: ccp - Release all allocated memory if sha
type is invalid
On Thu, Sep 19, 2019 at 11:04:48AM -0500, Navid Emamdoost wrote:
> Release all allocated memory if sha type is invalid:
> In ccp_run_sha_cmd, if the type of sha is invalid, the allocated
> hmac_buf should be released.
>
> v2: fix the goto.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@...il.com>
> ---
> drivers/crypto/ccp/ccp-ops.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists