Both of these are false positives but better to be rid of the issue permanently
than for it to repeatedly return to haunt us.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17896)
{
size_t n, chunk = MAXCHUNK / 8;
DES_key_schedule *key = &(((PROV_DES_CTX *)ctx)->dks.ks);
- unsigned char c[1], d[1];
+ unsigned char c[1];
+ unsigned char d[1] = { 0 };
if (inl < chunk)
chunk = inl;
{
PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx;
size_t n;
- unsigned char c[1], d[1];
+ unsigned char c[1];
+ unsigned char d[1] = { 0 };
if (ctx->use_bits == 0)
inl *= 8;