[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z_NEMpXznpe4Qniq@gondor.apana.org.au>
Date: Mon, 7 Apr 2025 11:19:14 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: David Howells <dhowells@...hat.com>,
"David S. Miller" <davem@...emloft.net>, keyrings@...r.kernel.org,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: x509 - Replace kmalloc() + NUL-termination with
kzalloc()
On Mon, Mar 17, 2025 at 11:48:41AM +0100, Thorsten Blum wrote:
> Use kzalloc() to zero out the one-element array instead of using
> kmalloc() followed by a manual NUL-termination.
>
> No functional changes intended.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
> ---
> crypto/asymmetric_keys/x509_cert_parser.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
We have a new maintainer for crypto/asymmetric_keys, please make
sure he is CCed on these patches:
ASYMMETRIC KEYS
M: David Howells <dhowells@...hat.com>
M: Lukas Wunner <lukas@...ner.de>
M: Ignat Korchagin <ignat@...udflare.com>
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