Messages in this thread |  | | Date | Wed, 30 Sep 2020 20:12:54 +1000 | From | Herbert Xu <> | Subject | Re: [PATCH][next] lib/mpi: fix off-by-one check on index "no" |
| |
On Tue, Sep 29, 2020 at 02:18:28PM +0100, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > There is an off-by-one range check on the upper limit of > index "no". Fix this by changing the > comparison to >= > > Addresses-Coverity: ("Out-of-bounds read") > Fixes: a8ea8bdd9df9 ("lib/mpi: Extend the MPI library") > Signed-off-by: Colin Ian King <colin.king@canonical.com> > --- > lib/mpi/mpiutil.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Could you resend this with a cc to linux-crypto?
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
|  |