lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ