mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
wolfcrypt/src/wc_xmss_impl.c: in wc_xmss_bds_state_treehash_complete(), add suppression for false positive clang-analyzer-core.NullDereference from LLVM-21 pre20250523+.
This commit is contained in:
@ -2590,7 +2590,7 @@ static void wc_xmss_bds_state_treehash_set_next_idx(BdsState* bds, int i,
|
||||
static void wc_xmss_bds_state_treehash_complete(BdsState* bds, int i)
|
||||
{
|
||||
byte* sk = bds->treeHash + i * 4;
|
||||
sk[3] |= 1 << 7;
|
||||
sk[3] |= 1 << 7; /* // NOLINT(clang-analyzer-core.NullDereference) */
|
||||
}
|
||||
|
||||
/* Get the tree hash data at specified index for the BDS state.
|
||||
|
Reference in New Issue
Block a user