[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z_OPLsDQxcS1sGn9@wunner.de>
Date: Mon, 7 Apr 2025 10:39:10 +0200
From: Lukas Wunner <lukas@...ner.de>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: David Howells <dhowells@...hat.com>,
Ignat Korchagin <ignat@...udflare.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>, keyrings@...r.kernel.org,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH] crypto: x509 - Replace kmalloc() +
NUL-termination with kzalloc()
On Mon, Apr 07, 2025 at 10:22:47AM +0200, 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>
Reviewed-by: Lukas Wunner <lukas@...ner.de>
Powered by blists - more mailing lists