On Sat, Dec 11, 2021 at 04:17:19PM +0800, Weili Qian wrote: > hpre_curve25519_src_init() allocates memory for 'ptr' before calling > memcmp(). If memcmp() returns 0, the function will return '-EINVAL' > without freeing memory. > > Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx> > --- > drivers/crypto/hisilicon/hpre/hpre_crypto.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt