From 16b40b2f75914eaace9b3f6c238866d318b454d0 Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Thu, 8 Feb 2024 11:03:11 -0500 Subject: [PATCH] Static analyzers complain that a->size is never initialized --- wolfcrypt/src/sp_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/sp_int.c b/wolfcrypt/src/sp_int.c index 1b5cda87a..5869f69f3 100644 --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -4851,7 +4851,7 @@ static void _sp_init_size(sp_int* a, unsigned int size) #endif _sp_zero((sp_int*)am); - am->size = size; + a->size = size; } /* Initialize the multi-precision number to be zero with a given max size.