[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yde0oUB6lPvIpkrW@gondor.apana.org.au>
Date: Fri, 7 Jan 2022 14:33:53 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Zizhuang Deng <sunsetdzz@...il.com>
Cc: tianjia.zhang@...ux.alibaba.com, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org
Subject: Re: [PATCH] lib/mpi: Add the return value check of kcalloc()
On Thu, Dec 30, 2021 at 03:03:31PM +0800, Zizhuang Deng wrote:
> Add the return value check of kcalloc() to avoid potential
> NULL ptr dereference.
>
> Signed-off-by: Zizhuang Deng <sunsetdzz@...il.com>
> ---
> lib/mpi/mpi-mod.c | 2 ++
> 1 file changed, 2 insertions(+)
Patch applied. 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