Fix coverity issues CID 1457745...1457752, 1457853, 1457854
authorShane Lontis <shane.lontis@oracle.com>
Tue, 4 Feb 2020 03:50:51 +0000 (13:50 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Tue, 4 Feb 2020 03:50:51 +0000 (13:50 +1000)
commitd5e66eab0bc08d701ba8386d3a36d417d19966aa
treeef8de7ba3180d40dcdf4f0f73df80e25c42f57d4
parent450d12c825cc9016e5e8990423fa7ffdb843a1f0
Fix coverity issues CID 1457745...145775214578531457854

CID 1457854 - keymgmt_lib.c : OVERRUN
CID 1457853 - self_test_kats.c : UNINT
CID 1457752 - fipsprov.c RESOURCE_LEAK (code change in another PR removed this)
CID 1457751 - apps/pkcs12.c CHECKED_RETURN
CID 1457750 - dsa_ossl.c RESOURCE_LEAK (marked as false positive since tmp can not be NULL)
CID 1457749 - apps/nseq.c : CHECKED_RETURN
CID 1457748 - cipher_aes_cbc_hmac_sha.c : SIZEOF_MISMATCH
CID 1457747 - cipher_aes_cbc_hmac_sha.c : SIZEOF_MISMATCH
CID 1457746 - same as 1457752
CID 1457745 - apps/ocsp  : CHECKED_RETURN

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10934)
apps/nseq.c
apps/ocsp.c
apps/pkcs12.c
crypto/evp/keymgmt_lib.c
providers/fips/self_test_kats.c
providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c