From: Herbert Xu <herbert@gondor.apana.org.au>
To: Karol Przybylski <karprzy7@gmail.com>
Cc: bbrezillon@kernel.org, arno@natisbad.org, schalla@marvell.com,
davem@davemloft.net, linux-crypto@vger.kernel.org,
linux-kernel@vger.kernel.org, skhan@linuxfoundation.org
Subject: Re: [PATCH] crypto: marvell/cesa: fix uninit value for struct mv_cesa_op_ctx
Date: Fri, 15 Nov 2024 20:13:55 +0800 [thread overview]
Message-ID: <Zzc7A2ZoTM2gQyxe@gondor.apana.org.au> (raw)
In-Reply-To: <20241110185058.2226730-1-karprzy7@gmail.com>
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@gmail.com>
> ---
> drivers/crypto/marvell/cesa/cipher.c | 24 ++++++++++++------------
> 1 file changed, 12 insertions(+), 12 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
prev parent reply other threads:[~2024-11-15 12:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-10 18:50 Karol Przybylski
2024-11-15 12:13 ` Herbert Xu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zzc7A2ZoTM2gQyxe@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=arno@natisbad.org \
--cc=bbrezillon@kernel.org \
--cc=davem@davemloft.net \
--cc=karprzy7@gmail.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=schalla@marvell.com \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®