Messages in this thread | | | Date | Fri, 7 Jan 2022 14:33:53 +1100 | From | Herbert Xu <> | 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@gmail.com> > --- > lib/mpi/mpi-mod.c | 2 ++ > 1 file changed, 2 insertions(+)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |