[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zzc7A2ZoTM2gQyxe@gondor.apana.org.au>
Date: Fri, 15 Nov 2024 20:13:55 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Karol Przybylski <karprzy7@...il.com>
Cc: bbrezillon@...nel.org, arno@...isbad.org, schalla@...vell.com,
davem@...emloft.net, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, skhan@...uxfoundation.org
Subject: Re: [PATCH] crypto: marvell/cesa: fix uninit value for struct
mv_cesa_op_ctx
On Sun, Nov 10, 2024 at 07:50:58PM +0100, Karol Przybylski wrote:
> In cesa/cipher.c most declarations of struct mv_cesa_op_ctx are uninitialized.
> This causes one of the values in the struct to be left unitialized in later
> usages.
>
> This patch fixes it by adding initializations in the same way it is done in
> cesa/hash.c.
>
> Fixes errors discovered in coverity: 1600942, 1600939, 1600935, 1600934, 1600929, 1600927,
> 1600925, 1600921, 1600920, 1600919, 1600915, 1600914
>
> Signed-off-by: Karol Przybylski <karprzy7@...il.com>
> ---
> drivers/crypto/marvell/cesa/cipher.c | 24 ++++++++++++------------
> 1 file changed, 12 insertions(+), 12 deletions(-)
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