[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YJwnjMQcdKD3Fn25@gmail.com>
Date: Wed, 12 May 2021 12:07:56 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: Hongbo Li <herbert.tencent@...il.com>
Cc: keyrings@...r.kernel.org, linux-crypto@...r.kernel.org,
herbert@...dor.apana.org.au, dhowells@...hat.com,
jarkko@...nel.org, tianjia.zhang@...ux.alibaba.com,
herberthbli@...cent.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/7] lib/mpi: use kcalloc in mpi_resize
On Wed, May 12, 2021 at 10:04:09PM +0800, Hongbo Li wrote:
> From: Hongbo Li <herberthbli@...cent.com>
>
> We should set the additional space to 0 in mpi_resize().
> So use kcalloc() instead of kmalloc_array().
>
> Signed-off-by: Hongbo Li <herberthbli@...cent.com>
Is this fixing something, and if so what?
- Eric
Powered by blists - more mailing lists