From 4e8fc0e04e794065216582c08fb485d4e0b82e8f Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Fri, 31 Mar 2023 14:42:23 +0200 Subject: [PATCH] ensure that input-data pointer is non-NULL Signed-off-by: Steffen Jaeckel --- src/pk/rsa/rsa_decrypt_key.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pk/rsa/rsa_decrypt_key.c b/src/pk/rsa/rsa_decrypt_key.c index 34a11f91..8c6ca3d8 100644 --- a/src/pk/rsa/rsa_decrypt_key.c +++ b/src/pk/rsa/rsa_decrypt_key.c @@ -33,6 +33,7 @@ int rsa_decrypt_key_ex(const unsigned char *in, unsigned long inlen int err; unsigned char *tmp; + LTC_ARGCHK(in != NULL); LTC_ARGCHK(out != NULL); LTC_ARGCHK(outlen != NULL); LTC_ARGCHK(key != NULL);