From 987d2c2710c64c00ec1913bb7ce75b26efb7be89 Mon Sep 17 00:00:00 2001 From: alashkova Date: Thu, 17 Oct 2024 16:43:19 +0300 Subject: [PATCH] SUPPORT-8592. get_verify_error() fixed --- src/utils/cryptopro.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/cryptopro.c b/src/utils/cryptopro.c index 099fbd1..3192fcc 100644 --- a/src/utils/cryptopro.c +++ b/src/utils/cryptopro.c @@ -391,6 +391,7 @@ get_verify_error(char** verify_error) if (n < 0 || (size_t)n >= size) { LOG_ERROR("get_verify_error failed. Error occurred in concatenation err_string"); free(*verify_error); + *verify_error = NULL; return; }