Re: [RESEND PATCH] crypto: x509 - Replace kmalloc() + NUL-termination with kzalloc()
From: Lukas Wunner
Date: Mon Apr 07 2025 - 04:39:34 EST
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@xxxxxxxxx>
Reviewed-by: Lukas Wunner <lukas@xxxxxxxxx>