On Mon, Nov 04, 2024 at 12:15:11PM +0000, Chen Ridong wrote: > From: Chen Ridong <chenridong@xxxxxxxxxx> > > The caam_rsa_set_priv_key_form did not check for memory allocation errors. > Add the checks to the caam_rsa_set_priv_key_form functions. > > Fixes: 52e26d77b8b3 ("crypto: caam - add support for RSA key form 2") > Signed-off-by: Chen Ridong <chenridong@xxxxxxxxxx> > --- > drivers/crypto/caam/caampkc.c | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) 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