mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Add missing local variable initialization
These issues were flagged by Coverity as instances where a local variable may be used prior to being initialized. Please note that none of these changes fixes any particular bug, this is just an attempt to add more robustness. Signed-off-by: Leonid Rozenboim <leonid.rozenboim@oracle.com>
This commit is contained in:
committed by
Paul Elliott
parent
1c7c5969ea
commit
a3008e7e2e
@ -1817,7 +1817,7 @@ static int ecp_precompute_comb( const mbedtls_ecp_group *grp,
|
||||
unsigned char i;
|
||||
size_t j = 0;
|
||||
const unsigned char T_size = 1U << ( w - 1 );
|
||||
mbedtls_ecp_point *cur, *TT[COMB_MAX_PRE - 1];
|
||||
mbedtls_ecp_point *cur, *TT[COMB_MAX_PRE - 1] = {NULL};
|
||||
|
||||
mbedtls_mpi tmp[4];
|
||||
|
||||
|
Reference in New Issue
Block a user