From 517a443636daa1e8085cb4e5325524a54e8a8fd7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 17 Oct 2023 11:30:23 +0200 Subject: Merging upstream version 1.43.0. Signed-off-by: Daniel Baumann --- aclk/aclk_otp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aclk/aclk_otp.c') diff --git a/aclk/aclk_otp.c b/aclk/aclk_otp.c index 99b2adea..207ca08c 100644 --- a/aclk/aclk_otp.c +++ b/aclk/aclk_otp.c @@ -502,7 +502,7 @@ int aclk_get_mqtt_otp(RSA *p_key, char **mqtt_id, char **mqtt_usr, char **mqtt_p } // Decrypt Challenge / Get response - unsigned char *response_plaintext; + unsigned char *response_plaintext = NULL; int response_plaintext_bytes = private_decrypt(p_key, challenge, challenge_bytes, &response_plaintext); if (response_plaintext_bytes < 0) { netdata_log_error("Couldn't decrypt the challenge received"); -- cgit v1.2.3