From: Andrew Dinh Date: Wed, 19 Feb 2025 11:24:47 +0000 (+0700) Subject: Set op_num to 0 X-Git-Tag: openssl-3.5.0-alpha1~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b662bf0d6c527584e29ba909e9e5820a3fedd1f;p=thirdparty%2Fopenssl.git Set op_num to 0 Here, op_num is just used for logging purposes (number of completed operations), so start it at 0 Fixes https://scan5.scan.coverity.com/#/project-view/62507/10222?selectedIssue=1643034 Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/26829) --- diff --git a/test/radix/terp.c b/test/radix/terp.c index e0a0f33b1c8..c139fac8020 100644 --- a/test/radix/terp.c +++ b/test/radix/terp.c @@ -667,7 +667,7 @@ static int TERP_execute(TERP *terp) { int ok = 0; uint64_t opc; - size_t op_num = SIZE_MAX; + size_t op_num = 0; int in_debug_output = 0; size_t spin_count = 0; BIO *debug_bio = terp->cfg.debug_bio;