Both are false positives, but better to be rid of them forever than ignoring
them and having repeats.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17895)
int ret = 0;
X509_ALGOR *algor = make_algor(NID_sha256);
const ASN1_OBJECT *obj;
- char id[OSSL_MAX_NAME_SIZE];
+ char id[OSSL_MAX_NAME_SIZE] = { 0 };
if (algor == NULL)
return 0;
int ret = 0;
X509_ALGOR *algor = make_algor(NID_aes_128_cbc);
const ASN1_OBJECT *obj;
- char id[OSSL_MAX_NAME_SIZE];
+ char id[OSSL_MAX_NAME_SIZE] = { 0 };
if (algor == NULL)
return 0;