openssl-3.5.0-3.fc43
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-465): [#def1]
openssl-3.5.0/apps/lib/opt.c:219:13: warning[-Wanalyzer-deref-before-check]: check of 'o' for NULL after already dereferencing it
openssl-3.5.0/apps/lib/opt.c:174:12: branch_true: following 'true' branch...
openssl-3.5.0/apps/lib/opt.c:218:13: branch_false: following 'false' branch...
openssl-3.5.0/apps/lib/opt.c:219:13: branch_false: ...to here
openssl-3.5.0/apps/lib/opt.c:219:13: branch_false: following 'false' branch...
openssl-3.5.0/apps/lib/opt.c:220:13: branch_false: ...to here
openssl-3.5.0/apps/lib/opt.c:221:13: branch_false: following 'false' branch...
openssl-3.5.0/apps/lib/opt.c:174:57: branch_false: ...to here
openssl-3.5.0/apps/lib/opt.c:174:12: branch_true: following 'true' branch...
openssl-3.5.0/apps/lib/opt.c:218:13: branch_false: following 'false' branch...
openssl-3.5.0/apps/lib/opt.c:219:13: branch_false: ...to here
openssl-3.5.0/apps/lib/opt.c:219:13: danger: pointer 'o' is checked for NULL here but it was already dereferenced at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def2]
openssl-3.5.0/apps/speed.c:4857:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup(fd[1])'
openssl-3.5.0/apps/speed.c:4844:17: branch_true: following 'true' branch (when 'n < multi')...
openssl-3.5.0/apps/speed.c:4845:13: branch_true: ...to here
openssl-3.5.0/apps/speed.c:4845:12: branch_false: following 'false' branch...
openssl-3.5.0/apps/speed.c:4849:9: branch_false: ...to here
openssl-3.5.0/apps/speed.c:4857:17: acquire_resource: opened here
openssl-3.5.0/apps/speed.c:4857:16: danger: 'dup(fd[1])' leaks here; was opened at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
Error: CPPCHECK_WARNING (CWE-562): [#def3]
openssl-3.5.0/crypto/asn1/a_d2i_fp.c:53: error[returnDanglingLifetime]: Returning pointer to local variable 'p' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def4]
openssl-3.5.0/crypto/asn1/a_dup.c:38: error[returnDanglingLifetime]: Returning pointer to local variable 'p2' that will be invalid when returning.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
openssl-3.5.0/crypto/asn1/ameth_lib.c:133:13: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/crypto/asn1/ameth_lib.c:106:29: enter_function: entry to 'EVP_PKEY_asn1_find_str'
openssl-3.5.0/crypto/asn1/ameth_lib.c:112:8: branch_false: following 'false' branch (when 'len != -1')...
openssl-3.5.0/crypto/asn1/ameth_lib.c:114:8: branch_false: ...to here
openssl-3.5.0/crypto/asn1/ameth_lib.c:114:8: branch_true: following 'true' branch (when 'pe' is non-NULL)...
openssl-3.5.0/crypto/asn1/ameth_lib.c:117:17: branch_true: ...to here
openssl-3.5.0/crypto/asn1/ameth_lib.c:118:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/asn1/ameth_lib.c:129:9: branch_false: ...to here
openssl-3.5.0/crypto/asn1/ameth_lib.c:131:14: call_function: calling 'EVP_PKEY_asn1_get_count' from 'EVP_PKEY_asn1_find_str'
openssl-3.5.0/crypto/asn1/ameth_lib.c:131:14: return_function: returning to 'EVP_PKEY_asn1_find_str' from 'EVP_PKEY_asn1_get_count'
openssl-3.5.0/crypto/asn1/ameth_lib.c:131:41: branch_true: following 'true' branch (when 'i > 0')...
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: branch_true: ...to here
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: call_function: calling 'EVP_PKEY_asn1_get0' from 'EVP_PKEY_asn1_find_str'
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: return_function: returning to 'EVP_PKEY_asn1_find_str' from 'EVP_PKEY_asn1_get0'
openssl-3.5.0/crypto/asn1/ameth_lib.c:131:41: branch_true: following 'true' branch (when 'i > 0')...
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: branch_true: ...to here
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: call_function: calling 'EVP_PKEY_asn1_get0' from 'EVP_PKEY_asn1_find_str'
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: return_function: returning to 'EVP_PKEY_asn1_find_str' from 'EVP_PKEY_asn1_get0'
openssl-3.5.0/crypto/asn1/ameth_lib.c:135:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/crypto/asn1/ameth_lib.c:131:41: branch_true: following 'true' branch (when 'i > 0')...
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: branch_true: ...to here
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: call_function: calling 'EVP_PKEY_asn1_get0' from 'EVP_PKEY_asn1_find_str'
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: return_function: returning to 'EVP_PKEY_asn1_find_str' from 'EVP_PKEY_asn1_get0'
openssl-3.5.0/crypto/asn1/ameth_lib.c:135:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/crypto/asn1/ameth_lib.c:131:41: branch_true: following 'true' branch (when 'i > 0')...
openssl-3.5.0/crypto/asn1/ameth_lib.c:132:17: branch_true: ...to here
openssl-3.5.0/crypto/asn1/ameth_lib.c:133:13: danger: dereference of NULL 'EVP_PKEY_asn1_get0(i)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
openssl-3.5.0/crypto/asn1/asn_mime.c:913:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'mhdr'
openssl-3.5.0/crypto/asn1/asn_mime.c:683:31: enter_function: entry to 'mime_parse_hdr'
openssl-3.5.0/crypto/asn1/asn_mime.c:693:8: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/crypto/asn1/asn_mime.c:695:12: branch_true: following 'true' branch...
openssl-3.5.0/crypto/asn1/asn_mime.c:697:12: branch_true: ...to here
openssl-3.5.0/crypto/asn1/asn_mime.c:697:12: branch_false: following 'false' branch (when 'mhdr' is NULL)...
branch_false: ...to here
openssl-3.5.0/crypto/asn1/asn_mime.c:703:40: branch_true: following 'true' branch...
openssl-3.5.0/crypto/asn1/asn_mime.c:713:20: branch_false: following 'false' branch (when 'c != 58')...
openssl-3.5.0/crypto/asn1/asn_mime.c:704:14: branch_false: ...to here
openssl-3.5.0/crypto/asn1/asn_mime.c:703:40: branch_true: following 'true' branch...
openssl-3.5.0/crypto/asn1/asn_mime.c:703:40: branch_true: following 'true' branch...
openssl-3.5.0/crypto/asn1/asn_mime.c:757:20: branch_true: following 'true' branch (when 'c == 59')...
openssl-3.5.0/crypto/asn1/asn_mime.c:759:21: branch_true: ...to here
openssl-3.5.0/crypto/asn1/asn_mime.c:760:51: call_function: calling 'strip_ends' from 'mime_parse_hdr'
openssl-3.5.0/crypto/asn1/asn_mime.c:760:51: return_function: returning to 'mime_parse_hdr' from 'strip_ends'
openssl-3.5.0/crypto/asn1/asn_mime.c:760:21: call_function: calling 'mime_hdr_addparam' from 'mime_parse_hdr'
Error: GCC_ANALYZER_WARNING (CWE-465): [#def7]
openssl-3.5.0/crypto/bn/bn_blind.c:106:12: warning[-Wanalyzer-deref-before-check]: check of 'b' for NULL after already dereferencing it
openssl-3.5.0/crypto/bn/bn_blind.c:91:5: enter_function: entry to 'BN_BLINDING_update'
openssl-3.5.0/crypto/bn/bn_blind.c:95:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/bn/bn_blind.c:103:8: branch_true: following 'true' branch...
openssl-3.5.0/crypto/bn/bn_blind.c:106:14: call_function: calling 'BN_BLINDING_create_param' from 'BN_BLINDING_update'
openssl-3.5.0/crypto/bn/bn_blind.c:106:14: return_function: returning to 'BN_BLINDING_update' from 'BN_BLINDING_create_param'
openssl-3.5.0/crypto/bn/bn_blind.c:106:12: danger: pointer 'b' is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: CPPCHECK_WARNING (CWE-758): [#def8]
openssl-3.5.0/crypto/bn/bn_lib.c:45: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def9]
openssl-3.5.0/crypto/bn/bn_lib.c:51: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def10]
openssl-3.5.0/crypto/bn/bn_lib.c:57: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def11]
openssl-3.5.0/crypto/bn/bn_lib.c:63: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-465): [#def12]
openssl-3.5.0/crypto/bn/bn_lib.c:802:12: warning[-Wanalyzer-deref-before-check]: check of 'a' for NULL after already dereferencing it
openssl-3.5.0/crypto/bn/bn_lib.c:792:5: enter_function: entry to 'BN_set_bit'
openssl-3.5.0/crypto/bn/bn_lib.c:796:8: branch_false: following 'false' branch (when 'n >= 0')...
openssl-3.5.0/crypto/bn/bn_lib.c:799:5: branch_false: ...to here
openssl-3.5.0/crypto/bn/bn_lib.c:801:8: branch_true: following 'true' branch...
openssl-3.5.0/crypto/bn/bn_lib.c:802:13: branch_true: ...to here
openssl-3.5.0/crypto/bn/bn_lib.c:802:13: call_function: calling 'bn_wexpand' from 'BN_set_bit'
openssl-3.5.0/crypto/bn/bn_lib.c:802:13: return_function: returning to 'BN_set_bit' from 'bn_wexpand'
openssl-3.5.0/crypto/bn/bn_lib.c:802:12: danger: pointer 'a' is checked for NULL here but it was already dereferenced at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-786): [#def13]
openssl-3.5.0/crypto/bn/bn_nist.c:599: error[negativeIndex]: Array 'buf.bn[4]' accessed at index -3, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def14]
openssl-3.5.0/crypto/bn/bn_nist.c:601: error[negativeIndex]: Array 'buf.bn[4]' accessed at index -3, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def15]
openssl-3.5.0/crypto/bn/bn_nist.c:605: error[negativeIndex]: Array 'buf.bn[4]' accessed at index -3, which is out of bounds.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def16]
openssl-3.5.0/crypto/cast/c_skey.c:122:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'k[<unknown>]'
openssl-3.5.0/crypto/cast/c_skey.c:41:17: branch_true: following 'true' branch (when 'i != 16')...
openssl-3.5.0/crypto/cast/c_skey.c:42:9: branch_true: ...to here
openssl-3.5.0/crypto/cast/c_skey.c:45:17: branch_false: following 'false' branch...
openssl-3.5.0/crypto/cast/c_skey.c:47:8: branch_false: ...to here
openssl-3.5.0/crypto/cast/c_skey.c:47:8: branch_true: following 'true' branch...
openssl-3.5.0/crypto/cast/c_skey.c:48:9: branch_true: ...to here
openssl-3.5.0/crypto/cast/c_skey.c:115:12: branch_true: following 'true' branch...
branch_true: ...to here
openssl-3.5.0/crypto/cast/c_skey.c:120:17: branch_true: following 'true' branch (when 'i != 16')...
openssl-3.5.0/crypto/cast/c_skey.c:121:19: branch_true: ...to here
openssl-3.5.0/crypto/cast/c_skey.c:122:33: danger: use of uninitialized value 'k[<unknown>]' here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
openssl-3.5.0/crypto/cms/cms_env.c:555:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/crypto/cms/cms_env.c:1044:5: enter_function: entry to 'CMS_RecipientInfo_encrypt'
openssl-3.5.0/crypto/cms/cms_env.c:1048:16: call_function: calling 'cms_RecipientInfo_ktri_encrypt' from 'CMS_RecipientInfo_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
openssl-3.5.0/crypto/cms/cms_ess.c:221:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 'si'
openssl-3.5.0/crypto/cms/cms_ess.c:254:5: enter_function: entry to 'ossl_cms_Receipt_verify'
openssl-3.5.0/crypto/cms/cms_ess.c:269:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/cms/cms_ess.c:272:9: branch_false: ...to here
openssl-3.5.0/crypto/cms/cms_ess.c:272:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/cms/cms_ess.c:278:9: branch_false: ...to here
openssl-3.5.0/crypto/cms/cms_ess.c:278:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/cms/cms_ess.c:284:13: branch_false: ...to here
openssl-3.5.0/crypto/cms/cms_ess.c:285:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/cms/cms_ess.c:292:8: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/crypto/cms/cms_ess.c:299:17: branch_false: following 'false' branch...
openssl-3.5.0/crypto/cms/cms_ess.c:305:14: branch_false: ...to here
openssl-3.5.0/crypto/cms/cms_ess.c:305:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/cms/cms_ess.c:310:10: branch_false: ...to here
openssl-3.5.0/crypto/cms/cms_ess.c:319:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/cms/cms_ess.c:324:10: branch_false: ...to here
openssl-3.5.0/crypto/cms/cms_ess.c:324:10: call_function: calling 'cms_msgSigDigest' from 'ossl_cms_Receipt_verify'
Error: COMPILER_WARNING: [#def19]
openssl-3.5.0/crypto/context.c:10:9: warning: '_GNU_SOURCE' redefined
<command-line>: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def20]
openssl-3.5.0/crypto/context.c:10:9: warning[warning]: '_GNU_SOURCE' redefined
Error: COMPILER_WARNING (CWE-1164): [#def21]
openssl-3.5.0/crypto/context.c:33:13: warning[-Wunused-function]: 'read_kernel_fips_flag' defined but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
openssl-3.5.0/crypto/dsa/dsa_sign.c:108:39: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
openssl-3.5.0/crypto/dsa/dsa_sign.c:87:15: branch_false: following 'false' branch...
openssl-3.5.0/crypto/dsa/dsa_sign.c:94:14: branch_false: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:94:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:98:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/dsa/dsa_sign.c:99:17: branch_false: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:98:9: branch_false: following 'false' branch...
openssl-3.5.0/crypto/dsa/dsa_sign.c:100:17: branch_false: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:98:9: branch_false: following 'false' branch...
openssl-3.5.0/crypto/dsa/dsa_sign.c:106:8: branch_false: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:106:8: branch_true: following 'true' branch (when 'ppout' is non-NULL)...
openssl-3.5.0/crypto/dsa/dsa_sign.c:107:13: branch_true: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:107:12: branch_true: following 'true' branch...
openssl-3.5.0/crypto/dsa/dsa_sign.c:108:39: branch_true: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:108:39: danger: dereference of NULL 'buf'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def23]
openssl-3.5.0/crypto/dsa/dsa_sign.c:210:29: warning[-Wanalyzer-null-argument]: use of NULL 'der' where non-null expected
openssl-3.5.0/crypto/dsa/dsa_sign.c:194:5: enter_function: entry to 'DSA_verify'
openssl-3.5.0/crypto/dsa/dsa_sign.c:199:20: release_memory: 'der' is NULL
openssl-3.5.0/crypto/dsa/dsa_sign.c:204:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/dsa/dsa_sign.c:206:9: branch_false: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:206:9: call_function: calling 'd2i_DSA_SIG' from 'DSA_verify'
openssl-3.5.0/crypto/dsa/dsa_sign.c:206:9: return_function: returning to 'DSA_verify' from 'd2i_DSA_SIG'
openssl-3.5.0/crypto/dsa/dsa_sign.c:206:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/dsa/dsa_sign.c:209:14: branch_false: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:209:14: call_function: calling 'i2d_DSA_SIG' from 'DSA_verify'
openssl-3.5.0/crypto/dsa/dsa_sign.c:209:14: return_function: returning to 'DSA_verify' from 'i2d_DSA_SIG'
openssl-3.5.0/crypto/dsa/dsa_sign.c:210:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/dsa/dsa_sign.c:210:29: branch_false: ...to here
openssl-3.5.0/crypto/dsa/dsa_sign.c:210:29: release_memory: 'der' is NULL
openssl-3.5.0/crypto/dsa/dsa_sign.c:210:29: danger: argument 2 ('der') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-457): [#def24]
openssl-3.5.0/crypto/ec/curve448/arch_64/f_impl.h:49:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'd[0].limb[7]'
openssl-3.5.0/crypto/ec/curve448/curve448.c:645:1: enter_function: entry to 'ossl_curve448_base_double_scalarmul_non_secret'
openssl-3.5.0/crypto/ec/curve448/curve448.c:656:19: call_function: calling 'recode_wnaf' from 'ossl_curve448_base_double_scalarmul_non_secret'
openssl-3.5.0/crypto/ec/curve448/curve448.c:656:19: return_function: returning to 'ossl_curve448_base_double_scalarmul_non_secret' from 'recode_wnaf'
openssl-3.5.0/crypto/ec/curve448/curve448.c:657:19: call_function: calling 'recode_wnaf' from 'ossl_curve448_base_double_scalarmul_non_secret'
openssl-3.5.0/crypto/ec/curve448/curve448.c:657:19: return_function: returning to 'ossl_curve448_base_double_scalarmul_non_secret' from 'recode_wnaf'
openssl-3.5.0/crypto/ec/curve448/curve448.c:661:5: call_function: calling 'prepare_wnaf_table' from 'ossl_curve448_base_double_scalarmul_non_secret'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
openssl-3.5.0/crypto/ec/ec_asn1.c:1280:39: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
openssl-3.5.0/crypto/ec/ec_asn1.c:1259:15: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ec_asn1.c:1266:14: branch_false: ...to here
openssl-3.5.0/crypto/ec/ec_asn1.c:1266:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/crypto/ec/ec_asn1.c:1270:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ec_asn1.c:1271:17: branch_false: ...to here
openssl-3.5.0/crypto/ec/ec_asn1.c:1270:9: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ec_asn1.c:1272:17: branch_false: ...to here
openssl-3.5.0/crypto/ec/ec_asn1.c:1270:9: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ec_asn1.c:1278:8: branch_false: ...to here
openssl-3.5.0/crypto/ec/ec_asn1.c:1278:8: branch_true: following 'true' branch (when 'ppout' is non-NULL)...
openssl-3.5.0/crypto/ec/ec_asn1.c:1279:13: branch_true: ...to here
openssl-3.5.0/crypto/ec/ec_asn1.c:1279:12: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ec_asn1.c:1280:39: branch_true: ...to here
openssl-3.5.0/crypto/ec/ec_asn1.c:1280:39: danger: dereference of NULL 'buf'
Error: COMPILER_WARNING (CWE-563): [#def26]
openssl-3.5.0/crypto/ec/ec_lib.c: scope_hint: In function 'EC_GROUP_new_from_params'
openssl-3.5.0/crypto/ec/ec_lib.c:1557:9: warning[-Wunused-variable]: unused variable 'encoding_flag'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def27]
openssl-3.5.0/crypto/ec/ecp_nistp384.c:391:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'inx2[1]'
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1723:5: enter_function: entry to 'ossl_ec_GFp_nistp384_points_mul'
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1752:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1755:8: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1755:8: branch_false: following 'false' branch (when 'scalar' is NULL)...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1788:8: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1788:8: branch_true: following 'true' branch (when 'num_points != 0')...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1789:12: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1798:12: branch_false: following 'false' branch (when 'mixed == 0')...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1801:13: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1801:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1802:17: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1801:13: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1809:21: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1810:16: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1810:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1819:27: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1822:16: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1824:22: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1840:20: branch_false: following 'false' branch (when 'num_bytes >= 0')...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1845:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1845:23: call_function: calling 'BN_to_felem' from 'ossl_ec_GFp_nistp384_points_mul'
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1845:23: return_function: returning to 'ossl_ec_GFp_nistp384_points_mul' from 'BN_to_felem'
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1845:20: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1846:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1846:23: call_function: calling 'BN_to_felem' from 'ossl_ec_GFp_nistp384_points_mul'
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1846:23: return_function: returning to 'ossl_ec_GFp_nistp384_points_mul' from 'BN_to_felem'
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1845:21: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1847:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1847:23: call_function: calling 'BN_to_felem' from 'ossl_ec_GFp_nistp384_points_mul'
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1847:23: return_function: returning to 'ossl_ec_GFp_nistp384_points_mul' from 'BN_to_felem'
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1845:21: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1849:32: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1852:29: branch_true: following 'true' branch (when 'j != 17')...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1853:25: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1853:24: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1859:96: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistp384.c:1858:25: call_function: calling 'point_double' from 'ossl_ec_GFp_nistp384_points_mul'
Error: CPPCHECK_WARNING (CWE-823): [#def28]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:179: error[arrayIndexOutOfBounds]: Array 'dst[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def29]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:179: error[arrayIndexOutOfBounds]: Array 'src[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def30]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:180: error[arrayIndexOutOfBounds]: Array 'dst[4]' accessed at index 5, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def31]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:180: error[arrayIndexOutOfBounds]: Array 'src[4]' accessed at index 5, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def32]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:181: error[arrayIndexOutOfBounds]: Array 'dst[4]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def33]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:181: error[arrayIndexOutOfBounds]: Array 'src[4]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def34]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:182: error[arrayIndexOutOfBounds]: Array 'dst[4]' accessed at index 7, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def35]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:182: error[arrayIndexOutOfBounds]: Array 'src[4]' accessed at index 7, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def36]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:204: error[arrayIndexOutOfBounds]: Array 'a[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def37]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:204: error[arrayIndexOutOfBounds]: Array 'b[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def38]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:205: error[arrayIndexOutOfBounds]: Array 'a[4]' accessed at index 5, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def39]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:205: error[arrayIndexOutOfBounds]: Array 'b[4]' accessed at index 5, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def40]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:206: error[arrayIndexOutOfBounds]: Array 'a[4]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def41]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:206: error[arrayIndexOutOfBounds]: Array 'b[4]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def42]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:207: error[arrayIndexOutOfBounds]: Array 'a[4]' accessed at index 7, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def43]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:207: error[arrayIndexOutOfBounds]: Array 'b[4]' accessed at index 7, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def44]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:224: error[arrayIndexOutOfBounds]: Array 'ONE[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def45]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:225: error[arrayIndexOutOfBounds]: Array 'ONE[4]' accessed at index 5, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def46]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:226: error[arrayIndexOutOfBounds]: Array 'ONE[4]' accessed at index 6, which is out of bounds.
Error: GCC_ANALYZER_WARNING (CWE-121): [#def47]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1032:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/ec/ecp_nistz256.c:963:8: branch_false: following 'false' branch (when 'num <= 268435454')...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:968:5: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:971:8: branch_true: following 'true' branch (when 'scalar' is non-NULL)...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:972:21: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:973:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:979:9: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:987:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:990:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:991:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:997:22: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1032:17: danger: out-of-bounds write at byte 33 but 'p_str' ends at byte 33
Error: GCC_ANALYZER_WARNING (CWE-121): [#def48]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1033:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/ec/ecp_nistz256.c:963:8: branch_false: following 'false' branch (when 'num <= 268435454')...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:968:5: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:971:8: branch_true: following 'true' branch (when 'scalar' is non-NULL)...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:972:21: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:973:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:979:9: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:987:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:990:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:991:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:997:22: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1033:17: danger: out-of-bounds write at byte 34 but 'p_str' ends at byte 33
Error: GCC_ANALYZER_WARNING (CWE-121): [#def49]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1034:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/ec/ecp_nistz256.c:963:8: branch_false: following 'false' branch (when 'num <= 268435454')...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:968:5: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:971:8: branch_true: following 'true' branch (when 'scalar' is non-NULL)...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:972:21: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:973:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:979:9: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:987:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:990:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:991:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:997:22: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1034:17: danger: out-of-bounds write at byte 35 but 'p_str' ends at byte 33
Error: GCC_ANALYZER_WARNING (CWE-121): [#def50]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1037:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/ec/ecp_nistz256.c:963:8: branch_false: following 'false' branch (when 'num <= 268435454')...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:968:5: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:971:8: branch_true: following 'true' branch (when 'scalar' is non-NULL)...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:972:21: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:973:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:979:9: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:987:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:990:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:991:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:997:22: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1037:21: danger: out-of-bounds write at byte 36 but 'p_str' ends at byte 33
Error: GCC_ANALYZER_WARNING (CWE-121): [#def51]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1038:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/ec/ecp_nistz256.c:963:8: branch_false: following 'false' branch (when 'num <= 268435454')...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:968:5: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:971:8: branch_true: following 'true' branch (when 'scalar' is non-NULL)...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:972:21: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:973:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:979:9: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:987:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:990:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:991:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:997:22: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1038:21: danger: out-of-bounds write at byte 37 but 'p_str' ends at byte 33
Error: GCC_ANALYZER_WARNING (CWE-121): [#def52]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1039:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/ec/ecp_nistz256.c:963:8: branch_false: following 'false' branch (when 'num <= 268435454')...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:968:5: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:971:8: branch_true: following 'true' branch (when 'scalar' is non-NULL)...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:972:21: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:973:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:979:9: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:987:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:990:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:991:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:997:22: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1039:21: danger: out-of-bounds write at byte 38 but 'p_str' ends at byte 33
Error: GCC_ANALYZER_WARNING (CWE-121): [#def53]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1040:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/ec/ecp_nistz256.c:963:8: branch_false: following 'false' branch (when 'num <= 268435454')...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:968:5: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:971:8: branch_true: following 'true' branch (when 'scalar' is non-NULL)...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:972:21: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:973:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:979:9: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:987:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:990:42: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:991:16: branch_false: following 'false' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:997:22: branch_false: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1028:25: branch_true: following 'true' branch...
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1029:30: branch_true: ...to here
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1040:21: danger: out-of-bounds write at byte 39 but 'p_str' ends at byte 33
Error: CPPCHECK_WARNING (CWE-823): [#def54]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1067: error[arrayIndexOutOfBounds]: Array 'p.p.X[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def55]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1067: error[arrayIndexOutOfBounds]: Array 'p.p.X[4]' accessed at index 5, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def56]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1067: error[arrayIndexOutOfBounds]: Array 'p.p.X[4]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def57]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1067: error[arrayIndexOutOfBounds]: Array 'p.p.X[4]' accessed at index 7, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def58]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1068: error[arrayIndexOutOfBounds]: Array 'p.p.Y[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def59]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1068: error[arrayIndexOutOfBounds]: Array 'p.p.Y[4]' accessed at index 5, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def60]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1068: error[arrayIndexOutOfBounds]: Array 'p.p.Y[4]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def61]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1068: error[arrayIndexOutOfBounds]: Array 'p.p.Y[4]' accessed at index 7, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def62]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1078: error[arrayIndexOutOfBounds]: Array 'ONE[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def63]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1078: error[arrayIndexOutOfBounds]: Array 'p.p.Z[4]' accessed at index 4, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def64]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1079: error[arrayIndexOutOfBounds]: Array 'ONE[4]' accessed at index 5, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def65]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1079: error[arrayIndexOutOfBounds]: Array 'p.p.Z[4]' accessed at index 5, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def66]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1080: error[arrayIndexOutOfBounds]: Array 'ONE[4]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def67]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1080: error[arrayIndexOutOfBounds]: Array 'p.p.Z[4]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def68]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1081: error[arrayIndexOutOfBounds]: Array 'ONE[4]' accessed at index 7, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def69]
openssl-3.5.0/crypto/ec/ecp_nistz256.c:1081: error[arrayIndexOutOfBounds]: Array 'p.p.Z[4]' accessed at index 7, which is out of bounds.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1073:14: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:763:12: enter_function: entry to 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:796:8: branch_false: following 'false' branch (when 'params' is non-NULL)...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:815:44: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:816:19: call_function: calling 'OSSL_DECODER_INSTANCE_get_decoder' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:816:19: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_decoder'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:853:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:856:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:861:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:862:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:866:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:867:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:871:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:900:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:919:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:922:16: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:922:8: branch_false: following 'false' branch (when 'loc >= 0')...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:927:17: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:927:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:932:10: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:932:48: branch_true: following 'true' branch (when 'i != 0')...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:934:13: branch_true: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:936:13: call_function: calling 'OSSL_DECODER_INSTANCE_get_decoder' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:936:13: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_decoder'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:939:13: call_function: calling 'OSSL_DECODER_INSTANCE_get_decoder_ctx' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:939:13: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_decoder_ctx'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:941:13: call_function: calling 'OSSL_DECODER_INSTANCE_get_input_type' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:941:13: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_input_type'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:944:13: call_function: calling 'OSSL_DECODER_INSTANCE_get_input_structure' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:944:13: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_input_structure'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:995:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1009:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1009:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1027:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1053:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1068:9: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1073:14: danger: dereference of NULL 'OSSL_DECODER_INSTANCE_get_decoder(OPENSSL_sk_value(*ctx.decoder_insts, (int)i))'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1073:14: warning[-Wanalyzer-null-dereference]: dereference of NULL 'decoder'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:763:12: enter_function: entry to 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:796:8: branch_false: following 'false' branch (when 'params' is non-NULL)...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:815:44: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:816:19: call_function: calling 'OSSL_DECODER_INSTANCE_get_decoder' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:816:19: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_decoder'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:853:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:856:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:861:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:862:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:866:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:867:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:871:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:900:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:919:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:922:16: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:922:8: branch_false: following 'false' branch (when 'loc >= 0')...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:927:17: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:927:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:932:10: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:932:48: branch_true: following 'true' branch (when 'i != 0')...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:934:13: branch_true: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:936:13: call_function: calling 'OSSL_DECODER_INSTANCE_get_decoder' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:936:13: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_decoder'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:939:13: call_function: calling 'OSSL_DECODER_INSTANCE_get_decoder_ctx' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:939:13: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_decoder_ctx'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:941:13: call_function: calling 'OSSL_DECODER_INSTANCE_get_input_type' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:941:13: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_input_type'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:944:13: call_function: calling 'OSSL_DECODER_INSTANCE_get_input_structure' from 'decoder_process'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:944:13: return_function: returning to 'decoder_process' from 'OSSL_DECODER_INSTANCE_get_input_structure'
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:963:12: branch_true: following 'true' branch (when 'decoder' is NULL)...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:963:32: branch_true: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:995:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1009:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1009:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1027:13: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1053:12: branch_false: following 'false' branch...
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1068:9: branch_false: ...to here
openssl-3.5.0/crypto/encode_decode/decoder_lib.c:1073:14: danger: dereference of NULL 'OSSL_DECODER_INSTANCE_get_decoder(OPENSSL_sk_value(*ctx.decoder_insts, (int)i))'
Error: GCC_ANALYZER_WARNING (CWE-835): [#def72]
openssl-3.5.0/crypto/evp/bio_ok.c:361:16: warning[-Wanalyzer-infinite-loop]: infinite loop
openssl-3.5.0/crypto/evp/bio_ok.c:361:16: danger: infinite loop here
openssl-3.5.0/crypto/evp/bio_ok.c:361:16: branch_true: if it ever follows 'true' branch, it will always do so...
branch_true: ...to here
Error: CPPCHECK_WARNING (CWE-562): [#def73]
openssl-3.5.0/crypto/evp/ctrl_params_translate.c:1163: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-457): [#def74]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:184: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def75]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:208:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:778:12: enter_function: entry to 'aesni_cbc_hmac_sha1_ctrl'
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:904:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def76]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:208:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:778:12: enter_function: entry to 'aesni_cbc_hmac_sha1_ctrl'
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:904:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def77]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:209:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:778:12: enter_function: entry to 'aesni_cbc_hmac_sha1_ctrl'
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:904:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def78]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:211:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:778:12: enter_function: entry to 'aesni_cbc_hmac_sha1_ctrl'
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:904:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_ctrl'
Error: CPPCHECK_WARNING (CWE-758): [#def79]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:715: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def80]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha1.c:718: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-457): [#def81]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:178: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def82]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:203:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:748:12: enter_function: entry to 'aesni_cbc_hmac_sha256_ctrl'
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:881:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def83]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:203:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:748:12: enter_function: entry to 'aesni_cbc_hmac_sha256_ctrl'
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:881:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def84]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:204:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:748:12: enter_function: entry to 'aesni_cbc_hmac_sha256_ctrl'
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:881:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def85]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:206:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:748:12: enter_function: entry to 'aesni_cbc_hmac_sha256_ctrl'
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:881:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_ctrl'
Error: CPPCHECK_WARNING (CWE-758): [#def86]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:713: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def87]
openssl-3.5.0/crypto/evp/e_aes_cbc_hmac_sha256.c:716: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-190): [#def88]
openssl-3.5.0/crypto/evp/evp_enc.c:31: error[integerOverflow]: Signed integer underflow for expression '(~((int)1<<(sizeof(int)*8-1)))-b'.
Error: CPPCHECK_WARNING (CWE-758): [#def89]
openssl-3.5.0/crypto/evp/evp_enc.c:31: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:24:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'skeymgmt'
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:20:7: enter_function: entry to 'evp_skeymgmt_generate'
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:22:21: call_function: calling 'EVP_SKEYMGMT_get0_provider' from 'evp_skeymgmt_generate'
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:22:21: return_function: returning to 'evp_skeymgmt_generate' from 'EVP_SKEYMGMT_get0_provider'
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:24:13: danger: dereference of NULL 'skeymgmt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:32:12: warning[-Wanalyzer-null-dereference]: dereference of NULL 'skeymgmt'
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:27:7: enter_function: entry to 'evp_skeymgmt_import'
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:29:21: call_function: calling 'EVP_SKEYMGMT_get0_provider' from 'evp_skeymgmt_import'
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:29:21: return_function: returning to 'evp_skeymgmt_import' from 'EVP_SKEYMGMT_get0_provider'
openssl-3.5.0/crypto/evp/skeymgmt_meth.c:32:12: danger: dereference of NULL 'skeymgmt'
Error: COMPILER_WARNING (CWE-590): [#def92]
openssl-3.5.0/crypto/mem.c:353:5: warning[-Wfree-nonheap-object]: 'free' called on unallocated object 'recp'
openssl-3.5.0/crypto/bn/bn_exp.c: scope_hint: In function 'BN_mod_exp_recp'
openssl-3.5.0/crypto/bn/bn_exp.c:177:17: note: declared here
Error: CPPCHECK_WARNING (CWE-758): [#def93]
openssl-3.5.0/crypto/ml_dsa/ml_dsa_key_compress.c:72: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def94]
openssl-3.5.0/crypto/ml_dsa/ml_dsa_key_compress.c:92: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def95]
openssl-3.5.0/crypto/modes/xts128.c:74: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def96]
openssl-3.5.0/crypto/modes/xts128.c:113: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
openssl-3.5.0/crypto/param_build.c:340:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'p'
openssl-3.5.0/crypto/param_build.c:361:13: enter_function: entry to 'OSSL_PARAM_BLD_to_param'
openssl-3.5.0/crypto/param_build.c:370:8: branch_false: following 'false' branch (when 'ss == 0')...
openssl-3.5.0/crypto/param_build.c:377:14: branch_false: ...to here
openssl-3.5.0/crypto/param_build.c:378:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/param_build.c:382:18: branch_false: ...to here
openssl-3.5.0/crypto/param_build.c:383:12: call_function: calling 'param_bld_convert' from 'OSSL_PARAM_BLD_to_param'
Error: CPPCHECK_WARNING (CWE-190): [#def98]
openssl-3.5.0/crypto/params.c:1273: error[floatConversionOverflow]: Undefined behaviour: float (4.29497e+09) to integer conversion overflow.
Error: CPPCHECK_WARNING (CWE-190): [#def99]
openssl-3.5.0/crypto/params.c:1281: error[floatConversionOverflow]: Undefined behaviour: float (1.84467e+19) to integer conversion overflow.
Error: CPPCHECK_WARNING (CWE-457): [#def100]
openssl-3.5.0/crypto/slh_dsa/slh_dsa.c:85: error[uninitvar]: Uninitialized variable: m_digest
Error: CPPCHECK_WARNING (CWE-457): [#def101]
openssl-3.5.0/crypto/slh_dsa/slh_dsa.c:283: warning[uninitvar]: Uninitialized variable: m
Error: CPPCHECK_WARNING (CWE-758): [#def102]
openssl-3.5.0/crypto/stack/stack.c:18: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING: [#def103]
openssl-3.5.0/crypto/thread/arch/thread_posix.c:13:10: warning: '_GNU_SOURCE' redefined
<command-line>: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def104]
openssl-3.5.0/crypto/thread/arch/thread_posix.c:13:10: warning[warning]: '_GNU_SOURCE' redefined
Error: CPPCHECK_WARNING (CWE-758): [#def105]
openssl-3.5.0/crypto/x509/v3_ncons.c:25: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-688): [#def106]
openssl-3.5.0/crypto/x509/x509_vfy.c:3007:13: warning[-Wanalyzer-null-argument]: use of NULL 'cmpbuf' where non-null expected
openssl-3.5.0/crypto/x509/x509_vfy.c:3199:12: enter_function: entry to 'dane_verify'
openssl-3.5.0/crypto/x509/x509_vfy.c:3220:15: call_function: calling 'dane_match_cert' from 'dane_verify'
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def107]
openssl-3.5.0/crypto/x509/x509_vfy.c:3008:17: warning[-Wanalyzer-shift-count-overflow]: shift by count ('256') >= precision of type ('32')
openssl-3.5.0/crypto/x509/x509_vfy.c:3199:12: enter_function: entry to 'dane_verify'
openssl-3.5.0/crypto/x509/x509_vfy.c:3220:15: call_function: calling 'dane_match_cert' from 'dane_verify'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
openssl-3.5.0/crypto/x509/x509name.c:41:16: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/crypto/x509/x509name.c:30:5: enter_function: entry to 'X509_NAME_get_text_by_OBJ'
openssl-3.5.0/crypto/x509/x509name.c:37:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/x509/x509name.c:39:37: branch_false: ...to here
openssl-3.5.0/crypto/x509/x509name.c:39:12: call_function: calling 'X509_NAME_ENTRY_get_data' from 'X509_NAME_get_text_by_OBJ'
openssl-3.5.0/crypto/x509/x509name.c:39:12: return_function: returning to 'X509_NAME_get_text_by_OBJ' from 'X509_NAME_ENTRY_get_data'
openssl-3.5.0/crypto/x509/x509name.c:40:8: branch_true: following 'true' branch (when 'buf' is NULL)...
openssl-3.5.0/crypto/x509/x509name.c:41:16: branch_true: ...to here
openssl-3.5.0/crypto/x509/x509name.c:41:16: danger: dereference of NULL 'X509_NAME_ENTRY_get_data(X509_NAME_get_entry(name, X509_NAME_get_index_by_OBJ(name, obj, -1)))'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
openssl-3.5.0/crypto/x509/x509name.c:44:10: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/crypto/x509/x509name.c:30:5: enter_function: entry to 'X509_NAME_get_text_by_OBJ'
openssl-3.5.0/crypto/x509/x509name.c:37:8: branch_false: following 'false' branch...
openssl-3.5.0/crypto/x509/x509name.c:39:37: branch_false: ...to here
openssl-3.5.0/crypto/x509/x509name.c:39:12: call_function: calling 'X509_NAME_ENTRY_get_data' from 'X509_NAME_get_text_by_OBJ'
openssl-3.5.0/crypto/x509/x509name.c:39:12: return_function: returning to 'X509_NAME_get_text_by_OBJ' from 'X509_NAME_ENTRY_get_data'
openssl-3.5.0/crypto/x509/x509name.c:40:8: branch_false: following 'false' branch (when 'buf' is non-NULL)...
openssl-3.5.0/crypto/x509/x509name.c:42:8: branch_false: ...to here
openssl-3.5.0/crypto/x509/x509name.c:42:8: branch_false: following 'false' branch (when 'len > 0')...
openssl-3.5.0/crypto/x509/x509name.c:44:10: branch_false: ...to here
openssl-3.5.0/crypto/x509/x509name.c:44:10: danger: dereference of NULL 'X509_NAME_ENTRY_get_data(X509_NAME_get_entry(name, X509_NAME_get_index_by_OBJ(name, obj, -1)))'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def110]
openssl-3.5.0/fuzz/test-corpus.c:51:18: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(pathname, "rb")'
openssl-3.5.0/fuzz/test-corpus.c:61:5: enter_function: entry to 'main'
openssl-3.5.0/fuzz/test-corpus.c:66:17: branch_true: following 'true' branch...
openssl-3.5.0/fuzz/test-corpus.c:67:41: branch_true: ...to here
openssl-3.5.0/fuzz/test-corpus.c:95:12: branch_true: following 'true' branch (when 'wasdir == 0')...
openssl-3.5.0/fuzz/test-corpus.c:96:26: branch_true: ...to here
openssl-3.5.0/fuzz/test-corpus.c:96:13: call_function: calling 'testfile' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
openssl-3.5.0/fuzz/test-corpus.c:51:18: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(pathname, "rb")'
openssl-3.5.0/fuzz/test-corpus.c:61:5: enter_function: entry to 'main'
openssl-3.5.0/fuzz/test-corpus.c:66:17: branch_true: following 'true' branch...
openssl-3.5.0/fuzz/test-corpus.c:67:41: branch_true: ...to here
openssl-3.5.0/fuzz/test-corpus.c:95:12: branch_true: following 'true' branch (when 'wasdir == 0')...
openssl-3.5.0/fuzz/test-corpus.c:96:26: branch_true: ...to here
openssl-3.5.0/fuzz/test-corpus.c:96:13: call_function: calling 'testfile' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
openssl-3.5.0/include/internal/ktls.h:416:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cmsg'
openssl-3.5.0/include/internal/ktls.h:396:8: branch_false: following 'false' branch (when 'length > 20')...
openssl-3.5.0/include/internal/ktls.h:401:5: branch_false: ...to here
openssl-3.5.0/include/internal/ktls.h:411:8: branch_false: following 'false' branch (when 'ret >= 0')...
openssl-3.5.0/include/internal/ktls.h:414:9: branch_false: ...to here
openssl-3.5.0/include/internal/ktls.h:414:8: branch_true: following 'true' branch...
openssl-3.5.0/include/internal/ktls.h:415:16: branch_true: ...to here
openssl-3.5.0/include/internal/ktls.h:415:16: branch_false: following 'false' branch...
openssl-3.5.0/include/internal/ktls.h:416:13: branch_false: ...to here
openssl-3.5.0/include/internal/ktls.h:416:13: danger: dereference of NULL 'cmsg'
Error: CPPCHECK_WARNING (CWE-457): [#def113]
openssl-3.5.0/include/openssl/asn1.h:234: warning[uninitvar]: Uninitialized variables: ptr.minsize, ptr.maxsize, ptr.mask, ptr.flags
Error: CPPCHECK_WARNING (CWE-457): [#def114]
openssl-3.5.0/include/openssl/comp.h:66: warning[uninitvar]: Uninitialized variables: ptr.name, ptr.method
Error: CPPCHECK_WARNING (CWE-457): [#def115]
openssl-3.5.0/include/openssl/conf.h:70: warning[uninitvar]: Uninitialized variable: ptr.value
Error: CPPCHECK_WARNING (CWE-457): [#def116]
openssl-3.5.0/include/openssl/err.h:374: warning[uninitvar]: Uninitialized variable: ptr.string
Error: CPPCHECK_WARNING (CWE-457): [#def117]
openssl-3.5.0/include/openssl/x509.h:104: warning[uninitvar]: Uninitialized variables: ptr.revocationDate, ptr.extensions, ptr.issuer, ptr.reason, ptr.sequence
Error: CPPCHECK_WARNING (CWE-457): [#def118]
openssl-3.5.0/include/openssl/x509_vfy.h:120: warning[uninitvar]: Uninitialized variables: ptr.check_time, ptr.inh_flags, ptr.flags, ptr.purpose, ptr.trust, ptr.depth, ptr.auth_level, ptr.policies, ptr.hosts, ptr.hostflags, ptr.peername, ptr.email, ptr.emaillen, ptr.ip, ptr.iplen
Error: CPPCHECK_WARNING (CWE-457): [#def119]
openssl-3.5.0/include/openssl/x509_vfy.h:157: warning[uninitvar]: Uninitialized variables: ptr.flags, ptr.check_trust, ptr.name, ptr.arg1, ptr.arg2
Error: CPPCHECK_WARNING (CWE-457): [#def120]
openssl-3.5.0/include/openssl/x509v3.h:716: warning[uninitvar]: Uninitialized variables: ptr.trust, ptr.flags, ptr.check_purpose, ptr.name, ptr.sname, ptr.usr_data
Error: CPPCHECK_WARNING (CWE-457): [#def121]
openssl-3.5.0/include/openssl/x509v3.h:1065: warning[uninitvar]: Uninitialized variables: ptr.parent, ptr.nchild
Error: CPPCHECK_WARNING (CWE-457): [#def122]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:146: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def123]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:766:12: enter_function: entry to 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:769:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def124]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:766:12: enter_function: entry to 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:769:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def125]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:171:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:766:12: enter_function: entry to 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:769:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def126]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:173:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:766:12: enter_function: entry to 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:769:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
Error: CPPCHECK_WARNING (CWE-758): [#def127]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:609: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def128]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:612: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-457): [#def129]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:150: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def130]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:818:12: enter_function: entry to 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:821:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def131]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:818:12: enter_function: entry to 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:821:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def132]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:175:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:818:12: enter_function: entry to 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:821:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def133]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:177:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:818:12: enter_function: entry to 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:821:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
Error: CPPCHECK_WARNING (CWE-758): [#def134]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:663: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def135]
openssl-3.5.0/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:666: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-457): [#def136]
openssl-3.5.0/providers/implementations/digests/blake2b_prov.c:234:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'm[1]'
openssl-3.5.0/providers/implementations/digests/blake2b_prov.c:185:17: branch_true: following 'true' branch (when 'i != 8')...
openssl-3.5.0/providers/implementations/digests/blake2b_prov.c:186:16: branch_true: ...to here
openssl-3.5.0/providers/implementations/digests/blake2b_prov.c:190:21: branch_true: following 'true' branch (when 'i != 16')...
openssl-3.5.0/providers/implementations/digests/blake2b_prov.c:191:36: branch_true: ...to here
openssl-3.5.0/providers/implementations/digests/blake2b_prov.c:190:21: branch_false: following 'false' branch (when 'i == 16')...
openssl-3.5.0/providers/implementations/digests/blake2b_prov.c:195:9: branch_false: ...to here
openssl-3.5.0/providers/implementations/digests/blake2b_prov.c:234:9: danger: use of uninitialized value 'm[1]' here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def137]
openssl-3.5.0/providers/implementations/digests/blake2s_prov.c:224:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'm[1]'
openssl-3.5.0/providers/implementations/digests/blake2s_prov.c:175:17: branch_true: following 'true' branch (when 'i != 8')...
openssl-3.5.0/providers/implementations/digests/blake2s_prov.c:176:16: branch_true: ...to here
openssl-3.5.0/providers/implementations/digests/blake2s_prov.c:180:21: branch_true: following 'true' branch (when 'i != 16')...
openssl-3.5.0/providers/implementations/digests/blake2s_prov.c:181:36: branch_true: ...to here
openssl-3.5.0/providers/implementations/digests/blake2s_prov.c:180:21: branch_false: following 'false' branch (when 'i == 16')...
openssl-3.5.0/providers/implementations/digests/blake2s_prov.c:185:9: branch_false: ...to here
openssl-3.5.0/providers/implementations/digests/blake2s_prov.c:224:9: danger: use of uninitialized value 'm[1]' here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def138]
openssl-3.5.0/providers/implementations/kdfs/argon2.c:884:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '&outbuf'
openssl-3.5.0/providers/implementations/kdfs/argon2.c:861:8: branch_false: following 'false' branch...
openssl-3.5.0/providers/implementations/kdfs/argon2.c:865:5: branch_false: ...to here
openssl-3.5.0/providers/implementations/kdfs/argon2.c:867:8: branch_false: following 'false' branch...
openssl-3.5.0/providers/implementations/kdfs/argon2.c:870:17: branch_false: ...to here
openssl-3.5.0/providers/implementations/kdfs/argon2.c:874:11: branch_true: following 'true' branch...
openssl-3.5.0/providers/implementations/kdfs/argon2.c:875:12: branch_true: ...to here
openssl-3.5.0/providers/implementations/kdfs/argon2.c:874:11: branch_true: following 'true' branch...
openssl-3.5.0/providers/implementations/kdfs/argon2.c:876:12: branch_true: ...to here
openssl-3.5.0/providers/implementations/kdfs/argon2.c:874:11: branch_true: following 'true' branch...
openssl-3.5.0/providers/implementations/kdfs/argon2.c:877:12: branch_true: ...to here
openssl-3.5.0/providers/implementations/kdfs/argon2.c:874:11: branch_true: following 'true' branch...
openssl-3.5.0/providers/implementations/kdfs/argon2.c:883:8: branch_true: ...to here
openssl-3.5.0/providers/implementations/kdfs/argon2.c:883:8: branch_true: following 'true' branch (when 'outlen > 64')...
openssl-3.5.0/providers/implementations/kdfs/argon2.c:884:9: branch_true: ...to here
openssl-3.5.0/providers/implementations/kdfs/argon2.c:884:9: danger: use of uninitialized value '&outbuf' here
Error: CPPCHECK_WARNING (CWE-758): [#def139]
openssl-3.5.0/providers/implementations/keymgmt/ml_kem_kmgmt.c:347: error[ctuPointerArith]: Pointer arithmetic overflow; 'seed' buffer size is 64
Error: CPPCHECK_WARNING (CWE-476): [#def140]
openssl-3.5.0/providers/implementations/keymgmt/ml_kem_kmgmt.c:525: error[nullPointer]: Null pointer dereference: key
Error: CPPCHECK_WARNING (CWE-457): [#def141]
openssl-3.5.0/providers/implementations/signature/dsa_sig.c:404: warning[uninitvar]: Uninitialized variable: digest
Error: CPPCHECK_WARNING (CWE-457): [#def142]
openssl-3.5.0/providers/implementations/signature/rsa_sig.c:883: warning[uninitvar]: Uninitialized variable: digest
Error: GCC_ANALYZER_WARNING (CWE-476): [#def143]
openssl-3.5.0/ssl/d1_lib.c:871:11: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.0/ssl/d1_lib.c:864:26: branch_true: following 'true' branch (when 's' is non-NULL)...
openssl-3.5.0/ssl/d1_lib.c:864:26: branch_true: ...to here
openssl-3.5.0/ssl/d1_lib.c:864:26: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/ssl/d1_lib.c:870:8: branch_true: following 'true' branch...
openssl-3.5.0/ssl/d1_lib.c:871:11: danger: dereference of NULL 'sc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
openssl-3.5.0/ssl/quic/quic_port.c:539:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/ssl/quic/quic_port.c:526:8: branch_false: following 'false' branch...
openssl-3.5.0/ssl/quic/quic_port.c:532:15: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_port.c:532:15: branch_true: following 'true' branch (when 'tls' is NULL)...
openssl-3.5.0/ssl/quic/quic_port.c:532:37: branch_true: ...to here
openssl-3.5.0/ssl/quic/quic_port.c:532:5: release_memory: '0' is NULL
openssl-3.5.0/ssl/quic/quic_port.c:539:9: danger: dereference of NULL '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
openssl-3.5.0/ssl/quic/quic_reactor_wait_ctx.c:37:11: warning[-Wanalyzer-null-dereference]: dereference of NULL 'slot'
openssl-3.5.0/ssl/quic/quic_reactor_wait_ctx.c:64:6: enter_function: entry to 'ossl_quic_reactor_wait_ctx_leave'
openssl-3.5.0/ssl/quic/quic_reactor_wait_ctx.c:69:5: branch_false: following 'false' branch (when 'slot' is NULL)...
openssl-3.5.0/ssl/quic/quic_reactor_wait_ctx.c:74:5: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_reactor_wait_ctx.c:74:5: call_function: calling 'slot_deactivate' from 'ossl_quic_reactor_wait_ctx_leave'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
openssl-3.5.0/ssl/quic/quic_record_shared.c:49:13: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/ssl/quic/quic_record_shared.c:44:5: enter_function: entry to 'ossl_qrl_enc_level_set_have_el'
openssl-3.5.0/ssl/quic/quic_record_shared.c:47:30: call_function: calling 'ossl_qrl_enc_level_set_get' from 'ossl_qrl_enc_level_set_have_el'
openssl-3.5.0/ssl/quic/quic_record_shared.c:47:30: return_function: returning to 'ossl_qrl_enc_level_set_have_el' from 'ossl_qrl_enc_level_set_get'
openssl-3.5.0/ssl/quic/quic_record_shared.c:49:13: danger: dereference of NULL 'ossl_qrl_enc_level_set_get(els, enc_level, 0)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
openssl-3.5.0/ssl/quic/quic_record_shared.c:90:61: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/ssl/quic/quic_record_shared.c:84:13: enter_function: entry to 'el_teardown_keyslot'
openssl-3.5.0/ssl/quic/quic_record_shared.c:88:30: call_function: calling 'ossl_qrl_enc_level_set_get' from 'el_teardown_keyslot'
openssl-3.5.0/ssl/quic/quic_record_shared.c:88:30: return_function: returning to 'el_teardown_keyslot' from 'ossl_qrl_enc_level_set_get'
openssl-3.5.0/ssl/quic/quic_record_shared.c:90:61: danger: dereference of NULL 'ossl_qrl_enc_level_set_get(els, enc_level, 0)'
Error: CPPCHECK_WARNING (CWE-476): [#def148]
openssl-3.5.0/ssl/quic/quic_record_tx.c:42: error[ctunullpointer]: Null pointer dereference: elem
Error: CPPCHECK_WARNING (CWE-476): [#def149]
openssl-3.5.0/ssl/quic/quic_record_tx.c:42: error[ctunullpointer]: Null pointer dereference: list
Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
openssl-3.5.0/ssl/quic/quic_record_tx.c:42:1: warning[-Wanalyzer-null-dereference]: dereference of NULL 'list'
openssl-3.5.0/ssl/quic/quic_record_tx.c:793:5: enter_function: entry to 'ossl_qtx_write_pkt'
openssl-3.5.0/ssl/quic/quic_record_tx.c:802:8: branch_false: following 'false' branch...
openssl-3.5.0/ssl/quic/quic_record_tx.c:805:49: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_record_tx.c:810:13: branch_false: following 'false' branch...
openssl-3.5.0/ssl/quic/quic_record_tx.c:811:19: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_record_tx.c:810:14: branch_false: following 'false' branch...
openssl-3.5.0/ssl/quic/quic_record_tx.c:816:23: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_record_tx.c:833:12: branch_false: following 'false' branch...
openssl-3.5.0/ssl/quic/quic_record_tx.c:840:14: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_record_tx.c:840:14: call_function: inlined call to 'qtx_reserve_txe' from 'ossl_qtx_write_pkt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
openssl-3.5.0/ssl/quic/quic_tls_api.c:146:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.0/ssl/quic/quic_tls_api.c:134:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/quic/quic_tls_api.c:137:10: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_tls_api.c:137:8: branch_false: following 'false' branch...
openssl-3.5.0/ssl/quic/quic_tls_api.c:142:10: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_tls_api.c:142:8: branch_false: following 'false' branch...
openssl-3.5.0/ssl/quic/quic_tls_api.c:146:5: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_tls_api.c:146:5: danger: dereference of NULL 'sc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
openssl-3.5.0/ssl/quic/quic_tls_api.c:202:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.0/ssl/quic/quic_tls_api.c:195:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/quic/quic_tls_api.c:197:10: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_tls_api.c:197:8: branch_false: following 'false' branch...
openssl-3.5.0/ssl/quic/quic_tls_api.c:202:9: branch_false: ...to here
openssl-3.5.0/ssl/quic/quic_tls_api.c:202:9: danger: dereference of NULL 'sc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
openssl-3.5.0/ssl/record/methods/ktls_meth.c:225:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'eiv'
openssl-3.5.0/ssl/record/methods/ktls_meth.c:188:8: branch_false: following 'false' branch...
openssl-3.5.0/ssl/record/methods/ktls_meth.c:189:16: branch_false: ...to here
openssl-3.5.0/ssl/record/methods/ktls_meth.c:188:9: branch_false: following 'false' branch...
openssl-3.5.0/ssl/record/methods/ktls_meth.c:213:5: branch_false: ...to here
openssl-3.5.0/ssl/record/methods/ktls_meth.c:225:9: danger: dereference of NULL 'eiv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
openssl-3.5.0/ssl/record/methods/ktls_meth.c:242:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'eiv'
openssl-3.5.0/ssl/record/methods/ktls_meth.c:188:8: branch_false: following 'false' branch...
openssl-3.5.0/ssl/record/methods/ktls_meth.c:189:16: branch_false: ...to here
openssl-3.5.0/ssl/record/methods/ktls_meth.c:188:9: branch_false: following 'false' branch...
openssl-3.5.0/ssl/record/methods/ktls_meth.c:213:5: branch_false: ...to here
openssl-3.5.0/ssl/record/methods/ktls_meth.c:242:9: danger: dereference of NULL 'eiv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
openssl-3.5.0/ssl/record/methods/ktls_meth.c:260:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'eiv'
openssl-3.5.0/ssl/record/methods/ktls_meth.c:188:8: branch_false: following 'false' branch...
openssl-3.5.0/ssl/record/methods/ktls_meth.c:189:16: branch_false: ...to here
openssl-3.5.0/ssl/record/methods/ktls_meth.c:188:9: branch_false: following 'false' branch...
openssl-3.5.0/ssl/record/methods/ktls_meth.c:213:5: branch_false: ...to here
openssl-3.5.0/ssl/record/methods/ktls_meth.c:260:9: danger: dereference of NULL 'eiv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def156]
openssl-3.5.0/ssl/record/rec_layer_s3.c:668:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/ssl/record/rec_layer_s3.c:628:9: branch_false: following 'false' branch...
openssl-3.5.0/ssl/record/rec_layer_s3.c:636:8: branch_false: ...to here
openssl-3.5.0/ssl/record/rec_layer_s3.c:666:8: branch_true: following 'true' branch...
openssl-3.5.0/ssl/record/rec_layer_s3.c:668:13: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
openssl-3.5.0/ssl/record/rec_layer_s3.c:676:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/ssl/record/rec_layer_s3.c:628:9: branch_false: following 'false' branch...
openssl-3.5.0/ssl/record/rec_layer_s3.c:636:8: branch_false: ...to here
openssl-3.5.0/ssl/record/rec_layer_s3.c:676:5: danger: dereference of NULL 's'
Error: COMPILER_WARNING: [#def158]
openssl-3.5.0/ssl/ssl_ciph.c:12:9: warning: '_GNU_SOURCE' redefined
<command-line>: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def159]
openssl-3.5.0/ssl/ssl_ciph.c:12:9: warning[warning]: '_GNU_SOURCE' redefined
Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
openssl-3.5.0/ssl/ssl_lib.c:988:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/ssl/ssl_lib.c:985:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/ssl_lib.c:988:9: branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:988:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
openssl-3.5.0/ssl/ssl_lib.c:1003:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/ssl/ssl_lib.c:1000:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/ssl_lib.c:1003:9: branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:1003:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
openssl-3.5.0/ssl/ssl_lib.c:1745:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/ssl/ssl_lib.c:1740:5: enter_function: entry to 'SSL_set_wfd'
openssl-3.5.0/ssl/ssl_lib.c:1742:17: call_function: calling 'SSL_get_rbio' from 'SSL_set_wfd'
openssl-3.5.0/ssl/ssl_lib.c:1742:17: return_function: returning to 'SSL_set_wfd' from 'SSL_get_rbio'
openssl-3.5.0/ssl/ssl_lib.c:1743:24: branch_false: following 'false' branch (when 's' is NULL)...
branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:1745:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
openssl-3.5.0/ssl/ssl_lib.c:1782:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/ssl/ssl_lib.c:1777:5: enter_function: entry to 'SSL_set_rfd'
openssl-3.5.0/ssl/ssl_lib.c:1779:17: call_function: calling 'SSL_get_wbio' from 'SSL_set_rfd'
openssl-3.5.0/ssl/ssl_lib.c:1779:17: return_function: returning to 'SSL_set_rfd' from 'SSL_get_wbio'
openssl-3.5.0/ssl/ssl_lib.c:1780:24: branch_false: following 'false' branch (when 's' is NULL)...
branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:1782:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
openssl-3.5.0/ssl/ssl_lib.c:4948:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.0/ssl/ssl_lib.c:4941:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/ssl_lib.c:4948:9: branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:4948:9: danger: dereference of NULL 'sc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
openssl-3.5.0/ssl/ssl_lib.c:4985:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.0/ssl/ssl_lib.c:4976:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/ssl_lib.c:4985:5: branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:4985:5: danger: dereference of NULL 'sc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
openssl-3.5.0/ssl/ssl_lib.c:5004:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.0/ssl/ssl_lib.c:4995:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/ssl_lib.c:5004:5: branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:5004:5: danger: dereference of NULL 'sc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
openssl-3.5.0/ssl/ssl_lib.c:5062:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/ssl/ssl_lib.c:5058:32: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/ssl_lib.c:5062:9: branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:5062:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
openssl-3.5.0/ssl/ssl_lib.c:5424:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/ssl/ssl_lib.c:5420:32: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/ssl_lib.c:5424:9: branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:5424:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
openssl-3.5.0/ssl/ssl_lib.c:5439:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/ssl/ssl_lib.c:5435:32: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.0/ssl/ssl_lib.c:5439:9: branch_false: ...to here
openssl-3.5.0/ssl/ssl_lib.c:5439:9: danger: dereference of NULL 's'
Error: CPPCHECK_WARNING (CWE-476): [#def170]
openssl-3.5.0/ssl/ssl_rsa.c:990: warning[nullPointer]: Possible null pointer dereference: ctx
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
openssl-3.5.0/ssl/t1_lib.c:4772:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'lu'
openssl-3.5.0/ssl/t1_lib.c:4655:12: branch_false: following 'false' branch...
openssl-3.5.0/ssl/t1_lib.c:4657:14: branch_false: ...to here
openssl-3.5.0/ssl/t1_lib.c:4660:12: branch_true: following 'true' branch...
openssl-3.5.0/ssl/t1_lib.c:4662:17: branch_true: ...to here
openssl-3.5.0/ssl/t1_lib.c:4662:16: branch_true: following 'true' branch...
openssl-3.5.0/ssl/t1_lib.c:4664:26: branch_true: ...to here
openssl-3.5.0/ssl/t1_lib.c:4667:20: branch_false: following 'false' branch...
openssl-3.5.0/ssl/t1_lib.c:4675:17: branch_false: ...to here
openssl-3.5.0/ssl/t1_lib.c:4675:29: branch_false: following 'false' branch...
openssl-3.5.0/ssl/t1_lib.c:4709:26: branch_false: ...to here
openssl-3.5.0/ssl/t1_lib.c:4724:20: branch_false: following 'false' branch...
openssl-3.5.0/ssl/t1_lib.c:4771:8: branch_false: ...to here
openssl-3.5.0/ssl/t1_lib.c:4771:8: branch_true: following 'true' branch (when 'sig_idx == -1')...
openssl-3.5.0/ssl/t1_lib.c:4772:9: branch_true: ...to here
openssl-3.5.0/ssl/t1_lib.c:4772:9: danger: dereference of NULL 'lu'
Error: COMPILER_WARNING (CWE-1164): [#def172]
openssl-3.5.0/test/acvp_test.c:553:12: warning[-Wunused-function]: 'dsa_keygen_test' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def173]
openssl-3.5.0/test/acvp_test.c:595:12: warning[-Wunused-function]: 'dsa_paramgen_test' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def174]
openssl-3.5.0/test/acvp_test.c:714:12: warning[-Wunused-function]: 'dsa_pqver_test' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def175]
openssl-3.5.0/test/acvp_test.c:783:12: warning[-Wunused-function]: 'dsa_siggen_test' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def176]
openssl-3.5.0/test/acvp_test.c:813:12: warning[-Wunused-function]: 'dsa_sigver_test' defined but not used
Error: CPPCHECK_WARNING (CWE-476): [#def177]
openssl-3.5.0/test/cert_comp_test.c:216: warning[nullPointer]: Possible null pointer dereference: sc
Error: CPPCHECK_WARNING (CWE-476): [#def178]
openssl-3.5.0/test/cert_comp_test.c:224: warning[nullPointer]: Possible null pointer dereference: sc
Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
openssl-3.5.0/test/cert_comp_test.c:224:14: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.0/test/cert_comp_test.c:157:8: branch_false: following 'false' branch (when 'test != 3')...
openssl-3.5.0/test/cert_comp_test.c:162:10: branch_false: ...to here
openssl-3.5.0/test/cert_comp_test.c:162:8: branch_false: following 'false' branch...
openssl-3.5.0/test/cert_comp_test.c:177:14: branch_false: ...to here
openssl-3.5.0/test/cert_comp_test.c:177:12: branch_false: following 'false' branch...
openssl-3.5.0/test/cert_comp_test.c:179:14: branch_false: ...to here
openssl-3.5.0/test/cert_comp_test.c:179:12: branch_false: following 'false' branch...
openssl-3.5.0/test/cert_comp_test.c:182:8: branch_false: ...to here
openssl-3.5.0/test/cert_comp_test.c:193:8: branch_false: following 'false' branch...
openssl-3.5.0/test/cert_comp_test.c:197:10: branch_false: ...to here
openssl-3.5.0/test/cert_comp_test.c:197:8: branch_false: following 'false' branch...
openssl-3.5.0/test/cert_comp_test.c:199:10: branch_false: ...to here
openssl-3.5.0/test/cert_comp_test.c:199:8: branch_false: following 'false' branch...
openssl-3.5.0/test/cert_comp_test.c:201:5: branch_false: ...to here
openssl-3.5.0/test/cert_comp_test.c:209:8: branch_false: following 'false' branch...
openssl-3.5.0/test/cert_comp_test.c:222:30: branch_false: ...to here
openssl-3.5.0/test/cert_comp_test.c:222:30: branch_false: following 'false' branch...
openssl-3.5.0/test/cert_comp_test.c:224:14: branch_false: ...to here
openssl-3.5.0/test/cert_comp_test.c:224:14: danger: dereference of NULL 'sc'
Error: COMPILER_WARNING (CWE-1164): [#def180]
openssl-3.5.0/test/cipherlist_test.c:197:12: warning[-Wunused-function]: 'test_default_cipherlist_implicit' defined but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
openssl-3.5.0/test/drbgtest.c:101:12: warning[-Wanalyzer-null-dereference]: dereference of NULL 'drbg'
openssl-3.5.0/test/drbgtest.c:802:12: enter_function: entry to 'test_rand_prediction_resistance'
openssl-3.5.0/test/drbgtest.c:812:8: branch_false: following 'false' branch...
openssl-3.5.0/test/drbgtest.c:813:13: branch_false: ...to here
openssl-3.5.0/test/drbgtest.c:812:9: branch_false: following 'false' branch...
openssl-3.5.0/test/drbgtest.c:814:13: branch_false: ...to here
openssl-3.5.0/test/drbgtest.c:812:9: branch_false: following 'false' branch...
openssl-3.5.0/test/drbgtest.c:815:13: branch_false: ...to here
openssl-3.5.0/test/drbgtest.c:812:9: branch_false: following 'false' branch...
openssl-3.5.0/test/drbgtest.c:816:13: branch_false: ...to here
openssl-3.5.0/test/drbgtest.c:812:9: branch_false: following 'false' branch...
openssl-3.5.0/test/drbgtest.c:817:13: branch_false: ...to here
openssl-3.5.0/test/drbgtest.c:812:9: branch_false: following 'false' branch...
openssl-3.5.0/test/drbgtest.c:818:13: branch_false: ...to here
openssl-3.5.0/test/drbgtest.c:812:9: branch_false: following 'false' branch...
openssl-3.5.0/test/drbgtest.c:825:5: branch_false: ...to here
openssl-3.5.0/test/drbgtest.c:825:5: call_function: calling 'inc_reseed_counter' from 'test_rand_prediction_resistance'
Error: COMPILER_WARNING (CWE-563): [#def182]
openssl-3.5.0/test/ectest.c:170:19: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
Error: COMPILER_WARNING (CWE-563): [#def183]
openssl-3.5.0/test/ectest.c:171:12: warning[-Wunused-variable]: unused variable 'len'
Error: COMPILER_WARNING (CWE-563): [#def184]
openssl-3.5.0/test/ectest.c: scope_hint: In function 'prime_field_tests'
openssl-3.5.0/test/ectest.c:172:9: warning[-Wunused-variable]: unused variable 'k'
Error: COMPILER_WARNING (CWE-1164): [#def185]
openssl-3.5.0/test/ectest.c: scope_hint: At top level
openssl-3.5.0/test/ectest.c:2079:12: warning[-Wunused-function]: 'cofactor_range_test' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def186]
openssl-3.5.0/test/ectest.c:2345:18: warning[-Wunused-variable]: unused variable 'i_out'
Error: COMPILER_WARNING (CWE-563): [#def187]
openssl-3.5.0/test/ectest.c:2351:23: warning[-Wunused-variable]: unused variable 'gettable'
Error: COMPILER_WARNING (CWE-563): [#def188]
openssl-3.5.0/test/ectest.c:2355:10: warning[-Wunused-variable]: unused variable 'name'
Error: COMPILER_WARNING (CWE-563): [#def189]
openssl-3.5.0/test/ectest.c:2356:19: warning[-Wunused-variable]: unused variable 'buf'
Error: COMPILER_WARNING (CWE-563): [#def190]
openssl-3.5.0/test/ectest.c:2357:12: warning[-Wunused-variable]: unused variable 'buf_len'
Error: COMPILER_WARNING (CWE-563): [#def191]
openssl-3.5.0/test/ectest.c: scope_hint: In function 'do_test_custom_explicit_fromdata'
openssl-3.5.0/test/ectest.c:2357:21: warning[-Wunused-variable]: unused variable 'name_len'
Error: COMPILER_WARNING (CWE-563): [#def192]
openssl-3.5.0/test/ectest.c:2667:12: warning[-Wunused-variable]: unused variable 'sslen'
Error: COMPILER_WARNING (CWE-563): [#def193]
openssl-3.5.0/test/ectest.c: scope_hint: In function 'custom_params_test'
openssl-3.5.0/test/ectest.c:2667:19: warning[-Wunused-variable]: unused variable 't'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def194]
openssl-3.5.0/test/endecode_test.c:782:12: warning[-Wanalyzer-null-argument]: use of NULL 'data' where non-null expected
openssl-3.5.0/test/endecode_test.c:785:12: enter_function: entry to 'test_protected_via_legacy_PEM'
openssl-3.5.0/test/endecode_test.c:790:12: call_function: calling 'test_encode_decode' from 'test_protected_via_legacy_PEM'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def195]
openssl-3.5.0/test/endecoder_legacy_test.c:519:10: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/test/endecoder_legacy_test.c:504:12: enter_function: entry to 'test_key'
openssl-3.5.0/test/endecoder_legacy_test.c:514:8: branch_false: following 'false' branch...
openssl-3.5.0/test/endecoder_legacy_test.c:515:13: branch_false: ...to here
openssl-3.5.0/test/endecoder_legacy_test.c:515:13: call_function: calling 'lookup_key' from 'test_key'
openssl-3.5.0/test/endecoder_legacy_test.c:515:13: return_function: returning to 'test_key' from 'lookup_key'
openssl-3.5.0/test/endecoder_legacy_test.c:514:9: branch_false: following 'false' branch...
openssl-3.5.0/test/endecoder_legacy_test.c:519:10: branch_false: ...to here
openssl-3.5.0/test/endecoder_legacy_test.c:519:10: danger: dereference of NULL 'lookup_key(test_stanzas[idx].keytype)'
Error: CPPCHECK_WARNING (CWE-416): [#def196]
openssl-3.5.0/test/evp_extra_test2.c:519: error[deallocuse]: Dereferencing 'fp' after it is deallocated / released
Error: GCC_ANALYZER_WARNING (CWE-910): [#def197]
openssl-3.5.0/test/evp_extra_test2.c:533:5: warning[-Wanalyzer-double-fclose]: double 'fclose' of FILE 'fp'
openssl-3.5.0/test/evp_extra_test2.c:516:10: acquire_resource: opened here
openssl-3.5.0/test/evp_extra_test2.c:516:8: branch_false: following 'false' branch...
openssl-3.5.0/test/evp_extra_test2.c:517:13: branch_false: ...to here
openssl-3.5.0/test/evp_extra_test2.c:516:9: branch_false: following 'false' branch...
openssl-3.5.0/test/evp_extra_test2.c:518:13: branch_false: ...to here
openssl-3.5.0/test/evp_extra_test2.c:516:9: branch_false: following 'false' branch...
openssl-3.5.0/test/evp_extra_test2.c:519:13: branch_false: ...to here
openssl-3.5.0/test/evp_extra_test2.c:519:13: release_resource: first 'fclose' here
openssl-3.5.0/test/evp_extra_test2.c:516:9: branch_true: following 'true' branch...
branch_true: ...to here
openssl-3.5.0/test/evp_extra_test2.c:533:5: danger: second 'fclose' here; first 'fclose' was at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def198]
openssl-3.5.0/test/evp_extra_test2.c:533:5: warning[-Wanalyzer-double-free]: double-'fclose' of 'fp'
openssl-3.5.0/test/evp_extra_test2.c:516:10: acquire_memory: allocated here
openssl-3.5.0/test/evp_extra_test2.c:516:8: branch_false: following 'false' branch...
openssl-3.5.0/test/evp_extra_test2.c:517:13: branch_false: ...to here
openssl-3.5.0/test/evp_extra_test2.c:516:9: branch_false: following 'false' branch...
openssl-3.5.0/test/evp_extra_test2.c:518:13: branch_false: ...to here
openssl-3.5.0/test/evp_extra_test2.c:516:9: branch_false: following 'false' branch...
openssl-3.5.0/test/evp_extra_test2.c:519:13: branch_false: ...to here
openssl-3.5.0/test/evp_extra_test2.c:519:13: release_memory: first 'fclose' here
openssl-3.5.0/test/evp_extra_test2.c:516:9: branch_true: following 'true' branch...
branch_true: ...to here
openssl-3.5.0/test/evp_extra_test2.c:533:5: danger: second 'fclose' here; first 'fclose' was at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def199]
openssl-3.5.0/test/evp_extra_test2.c:533:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'fp' where non-null expected
openssl-3.5.0/test/evp_extra_test2.c:516:10: acquire_memory: this call could return NULL
openssl-3.5.0/test/evp_extra_test2.c:516:8: branch_true: following 'true' branch...
openssl-3.5.0/test/evp_extra_test2.c:520:9: branch_true: ...to here
openssl-3.5.0/test/evp_extra_test2.c:533:5: danger: argument 1 ('fp') from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-121): [#def200]
openssl-3.5.0/test/evp_fetch_prov_test.c:96:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.0/test/evp_fetch_prov_test.c:308:12: enter_function: entry to 'test_explicit_EVP_CIPHER_fetch'
openssl-3.5.0/test/evp_fetch_prov_test.c:315:8: branch_true: following 'true' branch...
openssl-3.5.0/test/evp_fetch_prov_test.c:315:34: branch_true: ...to here
openssl-3.5.0/test/evp_fetch_prov_test.c:315:34: call_function: calling 'load_providers' from 'test_explicit_EVP_CIPHER_fetch'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def201]
openssl-3.5.0/test/evp_test.c:4178:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'pub'
openssl-3.5.0/test/evp_test.c:4173:8: branch_false: following 'false' branch...
openssl-3.5.0/test/evp_test.c:4174:17: branch_false: ...to here
openssl-3.5.0/test/evp_test.c:4173:9: branch_false: following 'false' branch...
openssl-3.5.0/test/evp_test.c:4178:6: branch_false: ...to here
openssl-3.5.0/test/evp_test.c:4178:5: danger: dereference of NULL 'pub'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
openssl-3.5.0/test/fake_rsaprov.c:89:5: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/test/fake_rsaprov.c:611:12: enter_function: entry to 'fake_rsa_st_load'
openssl-3.5.0/test/fake_rsaprov.c:623:12: branch_false: following 'false' branch...
openssl-3.5.0/test/fake_rsaprov.c:629:14: branch_false: ...to here
openssl-3.5.0/test/fake_rsaprov.c:629:14: call_function: calling 'fake_rsa_keymgmt_new' from 'fake_rsa_st_load'
openssl-3.5.0/test/fake_rsaprov.c:629:14: return_function: returning to 'fake_rsa_st_load' from 'fake_rsa_keymgmt_new'
openssl-3.5.0/test/fake_rsaprov.c:629:12: branch_false: following 'false' branch...
openssl-3.5.0/test/fake_rsaprov.c:631:14: branch_false: ...to here
openssl-3.5.0/test/fake_rsaprov.c:631:14: release_memory: 'key' is NULL
openssl-3.5.0/test/fake_rsaprov.c:631:14: call_function: inlined call to 'fake_rsa_keymgmt_import' from 'fake_rsa_st_load'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
openssl-3.5.0/test/fake_rsaprov.c:261:5: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/test/fake_rsaprov.c:248:14: enter_function: entry to 'fake_rsa_gen'
openssl-3.5.0/test/fake_rsaprov.c:254:8: branch_false: following 'false' branch...
openssl-3.5.0/test/fake_rsaprov.c:255:13: branch_false: ...to here
openssl-3.5.0/test/fake_rsaprov.c:254:9: branch_false: following 'false' branch...
openssl-3.5.0/test/fake_rsaprov.c:258:10: branch_false: ...to here
openssl-3.5.0/test/fake_rsaprov.c:258:10: call_function: calling 'fake_rsa_keymgmt_new' from 'fake_rsa_gen'
openssl-3.5.0/test/fake_rsaprov.c:258:10: return_function: returning to 'fake_rsa_gen' from 'fake_rsa_keymgmt_new'
openssl-3.5.0/test/fake_rsaprov.c:258:8: branch_false: following 'false' branch...
openssl-3.5.0/test/fake_rsaprov.c:261:5: branch_false: ...to here
openssl-3.5.0/test/fake_rsaprov.c:261:5: danger: dereference of NULL 'fake_rsa_keymgmt_new(0)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def204]
openssl-3.5.0/test/helpers/quictestlib.c:278:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'fault'
openssl-3.5.0/test/helpers/quictestlib.c:140:8: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:143:5: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:150:8: branch_false: following 'false' branch (when 'fault' is NULL)...
openssl-3.5.0/test/helpers/quictestlib.c:158:9: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:158:8: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:167:8: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:171:8: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:174:10: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:174:8: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:177:9: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:185:12: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:187:16: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:188:12: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:193:16: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:194:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:244:8: branch_true: following 'true' branch...
openssl-3.5.0/test/helpers/quictestlib.c:246:36: branch_true: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:251:12: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:254:20: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:256:12: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:258:16: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:259:12: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:265:20: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:267:12: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:269:16: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:270:12: branch_false: following 'false' branch...
openssl-3.5.0/test/helpers/quictestlib.c:276:9: branch_false: ...to here
openssl-3.5.0/test/helpers/quictestlib.c:278:9: danger: dereference of NULL 'fault'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def205]
openssl-3.5.0/test/lhash_test.c:201:19: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/test/lhash_test.c:198:12: enter_function: entry to 'int_foreach'
openssl-3.5.0/test/lhash_test.c:200:15: call_function: inlined call to 'ossl_ht_test_int_from_value' from 'int_foreach'
openssl-3.5.0/test/lhash_test.c:201:19: branch_true: ...to here
openssl-3.5.0/test/lhash_test.c:201:19: danger: dereference of NULL '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def206]
openssl-3.5.0/test/lhash_test.c:468:21: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/test/lhash_test.c:402:12: enter_function: entry to 'test_hashtable_stress'
openssl-3.5.0/test/lhash_test.c:426:8: branch_false: following 'false' branch...
openssl-3.5.0/test/lhash_test.c:432:5: branch_false: ...to here
openssl-3.5.0/test/lhash_test.c:435:17: branch_true: following 'true' branch (when 'i != 2500000')...
openssl-3.5.0/test/lhash_test.c:436:13: branch_true: ...to here
openssl-3.5.0/test/lhash_test.c:437:12: branch_false: following 'false' branch...
openssl-3.5.0/test/lhash_test.c:441:14: branch_false: ...to here
openssl-3.5.0/test/lhash_test.c:443:14: call_function: calling 'ossl_ht_test_int_insert' from 'test_hashtable_stress'
openssl-3.5.0/test/lhash_test.c:443:14: return_function: returning to 'test_hashtable_stress' from 'ossl_ht_test_int_insert'
openssl-3.5.0/test/lhash_test.c:443:12: branch_false: following 'false' branch...
openssl-3.5.0/test/lhash_test.c:435:24: branch_false: ...to here
openssl-3.5.0/test/lhash_test.c:435:17: branch_true: following 'true' branch (when 'i != 2500000')...
openssl-3.5.0/test/lhash_test.c:436:13: branch_true: ...to here
openssl-3.5.0/test/lhash_test.c:437:12: branch_false: following 'false' branch...
openssl-3.5.0/test/lhash_test.c:441:14: branch_false: ...to here
openssl-3.5.0/test/lhash_test.c:443:14: call_function: calling 'ossl_ht_test_int_insert' from 'test_hashtable_stress'
openssl-3.5.0/test/lhash_test.c:443:14: return_function: returning to 'test_hashtable_stress' from 'ossl_ht_test_int_insert'
openssl-3.5.0/test/lhash_test.c:443:12: branch_false: following 'false' branch...
openssl-3.5.0/test/lhash_test.c:435:24: branch_false: ...to here
openssl-3.5.0/test/lhash_test.c:451:8: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/test/lhash_test.c:455:17: branch_true: following 'true' branch (when 'i != 2500000')...
openssl-3.5.0/test/lhash_test.c:456:24: branch_true: ...to here
openssl-3.5.0/test/lhash_test.c:467:16: branch_false: following 'false' branch...
openssl-3.5.0/test/lhash_test.c:468:21: branch_false: ...to here
openssl-3.5.0/test/lhash_test.c:468:21: danger: dereference of NULL 'ossl_ht_test_int_get(ossl_ht_new(&hash_conf), &key.key_header, & v)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
openssl-3.5.0/test/params_test.c:92:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'vobj'
openssl-3.5.0/test/params_test.c:437:12: enter_function: entry to 'test_case_variant'
openssl-3.5.0/test/params_test.c:447:10: call_function: calling 'init_object' from 'test_case_variant'
openssl-3.5.0/test/params_test.c:447:10: return_function: returning to 'test_case_variant' from 'init_object'
openssl-3.5.0/test/params_test.c:447:8: branch_true: following 'true' branch...
openssl-3.5.0/test/params_test.c:450:9: branch_true: ...to here
openssl-3.5.0/test/params_test.c:533:5: call_function: calling 'cleanup_object' from 'test_case_variant'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
openssl-3.5.0/test/params_test.c:489:14: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.0/test/params_test.c:447:8: branch_false: following 'false' branch...
openssl-3.5.0/test/params_test.c:448:13: branch_false: ...to here
openssl-3.5.0/test/params_test.c:447:9: branch_false: following 'false' branch...
openssl-3.5.0/test/params_test.c:457:5: branch_false: ...to here
openssl-3.5.0/test/params_test.c:484:8: branch_false: following 'false' branch...
openssl-3.5.0/test/params_test.c:489:14: branch_false: ...to here
openssl-3.5.0/test/params_test.c:489:14: danger: dereference of NULL 'init_object()'
Error: GCC_ANALYZER_WARNING (CWE-124): [#def209]
openssl-3.5.0/test/quic_multistream_test.c:1221:16: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
openssl-3.5.0/test/quic_multistream_test.c:5973:12: enter_function: entry to 'test_script'
openssl-3.5.0/test/quic_multistream_test.c:5986:8: branch_false: following 'false' branch...
openssl-3.5.0/test/quic_multistream_test.c:5996:5: branch_false: ...to here
openssl-3.5.0/test/quic_multistream_test.c:6000:12: call_function: calling 'run_script' from 'test_script'
Error: GCC_ANALYZER_WARNING (CWE-127): [#def210]
openssl-3.5.0/test/quic_multistream_test.c:1221:19: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
openssl-3.5.0/test/quic_multistream_test.c:5973:12: enter_function: entry to 'test_script'
openssl-3.5.0/test/quic_multistream_test.c:5986:8: branch_false: following 'false' branch...
openssl-3.5.0/test/quic_multistream_test.c:5996:5: branch_false: ...to here
openssl-3.5.0/test/quic_multistream_test.c:6000:12: call_function: calling 'run_script' from 'test_script'
Error: GCC_ANALYZER_WARNING (CWE-127): [#def211]
openssl-3.5.0/test/quic_multistream_test.c:1222:20: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
openssl-3.5.0/test/quic_multistream_test.c:5973:12: enter_function: entry to 'test_script'
openssl-3.5.0/test/quic_multistream_test.c:5986:8: branch_false: following 'false' branch...
openssl-3.5.0/test/quic_multistream_test.c:5996:5: branch_false: ...to here
openssl-3.5.0/test/quic_multistream_test.c:6000:12: call_function: calling 'run_script' from 'test_script'
Error: GCC_ANALYZER_WARNING (CWE-127): [#def212]
openssl-3.5.0/test/quic_multistream_test.c:1225:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
openssl-3.5.0/test/quic_multistream_test.c:5973:12: enter_function: entry to 'test_script'
openssl-3.5.0/test/quic_multistream_test.c:5986:8: branch_false: following 'false' branch...
openssl-3.5.0/test/quic_multistream_test.c:5996:5: branch_false: ...to here
openssl-3.5.0/test/quic_multistream_test.c:6000:12: call_function: calling 'run_script' from 'test_script'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def213]
openssl-3.5.0/test/quicapitest.c:620:21: warning[-Wanalyzer-null-argument]: use of NULL 'tokenval' where non-null expected
openssl-3.5.0/test/quicapitest.c:596:12: branch_true: following 'true' branch...
openssl-3.5.0/test/quicapitest.c:599:9: branch_true: ...to here
openssl-3.5.0/test/quicapitest.c:601:16: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/test/quicapitest.c:596:12: branch_true: following 'true' branch...
openssl-3.5.0/test/quicapitest.c:599:9: branch_true: ...to here
openssl-3.5.0/test/quicapitest.c:619:16: branch_true: following 'true' branch (when 'tmpstring' is non-NULL)...
openssl-3.5.0/test/quicapitest.c:620:21: branch_true: ...to here
openssl-3.5.0/test/quicapitest.c:620:21: danger: argument 2 ('tokenval') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def214]
openssl-3.5.0/test/radix/quic_bindings.c:571:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'rt'
openssl-3.5.0/test/radix/main.c:22:12: enter_function: entry to 'test_script'
openssl-3.5.0/test/radix/main.c:28:10: call_function: calling 'bindings_process_init' from 'test_script'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
openssl-3.5.0/test/radix/terp.c:770:23: warning[-Wanalyzer-jump-through-null]: jump through null pointer
openssl-3.5.0/test/radix/quic_bindings.c:743:21: enter_function: entry to 'RADIX_THREAD_worker_main'
openssl-3.5.0/test/radix/quic_bindings.c:755:18: call_function: calling 'RADIX_THREAD_worker_run' from 'RADIX_THREAD_worker_main'
Error: CPPCHECK_WARNING (CWE-758): [#def216]
openssl-3.5.0/test/safe_math_test.c:24: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
openssl-3.5.0/test/ssl_handshake_rtt_test.c:81:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:70:17: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:9: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:74:9: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:75:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:81:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
openssl-3.5.0/test/ssl_handshake_rtt_test.c:88:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:70:17: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:9: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:74:9: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:75:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:88:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
openssl-3.5.0/test/ssl_handshake_rtt_test.c:95:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:70:17: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:9: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:74:9: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:75:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:95:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
openssl-3.5.0/test/ssl_handshake_rtt_test.c:102:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:70:17: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:9: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:74:9: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:75:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:102:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
openssl-3.5.0/test/ssl_handshake_rtt_test.c:109:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:70:17: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:64:9: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:74:9: branch_false: ...to here
openssl-3.5.0/test/ssl_handshake_rtt_test.c:75:8: branch_false: following 'false' branch...
openssl-3.5.0/test/ssl_handshake_rtt_test.c:109:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def222]
openssl-3.5.0/test/sslapitest.c:233:18: warning[-Wanalyzer-null-argument]: use of NULL 'token' where non-null expected
openssl-3.5.0/test/sslapitest.c:223:41: branch_true: following 'true' branch (when 'token' is non-NULL)...
openssl-3.5.0/test/sslapitest.c:225:13: branch_true: ...to here
openssl-3.5.0/test/sslapitest.c:225:12: branch_true: following 'true' branch (when the strings are equal)...
openssl-3.5.0/test/sslapitest.c:231:18: branch_true: ...to here
openssl-3.5.0/test/sslapitest.c:231:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:233:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:233:18: danger: argument 1 ('token') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def223]
openssl-3.5.0/test/sslapitest.c:256:18: warning[-Wanalyzer-null-argument]: use of NULL 'token' where non-null expected
openssl-3.5.0/test/sslapitest.c:223:41: branch_true: following 'true' branch (when 'token' is non-NULL)...
openssl-3.5.0/test/sslapitest.c:225:13: branch_true: ...to here
openssl-3.5.0/test/sslapitest.c:225:12: branch_false: following 'false' branch (when the strings are non-equal)...
openssl-3.5.0/test/sslapitest.c:243:20: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:243:19: branch_true: following 'true' branch (when the strings are equal)...
openssl-3.5.0/test/sslapitest.c:248:34: branch_true: ...to here
openssl-3.5.0/test/sslapitest.c:251:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:254:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:254:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:256:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:256:18: danger: argument 1 ('token') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def224]
openssl-3.5.0/test/sslapitest.c:270:18: warning[-Wanalyzer-null-argument]: use of NULL 'token' where non-null expected
openssl-3.5.0/test/sslapitest.c:223:41: branch_true: following 'true' branch (when 'token' is non-NULL)...
openssl-3.5.0/test/sslapitest.c:225:13: branch_true: ...to here
openssl-3.5.0/test/sslapitest.c:225:12: branch_false: following 'false' branch (when the strings are non-equal)...
openssl-3.5.0/test/sslapitest.c:243:20: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:243:19: branch_true: following 'true' branch (when the strings are equal)...
openssl-3.5.0/test/sslapitest.c:248:34: branch_true: ...to here
openssl-3.5.0/test/sslapitest.c:251:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:254:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:254:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:256:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:256:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:258:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:258:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:263:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:263:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:265:31: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:268:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:270:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:270:18: danger: argument 1 ('token') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def225]
openssl-3.5.0/test/sslapitest.c:311:18: warning[-Wanalyzer-null-argument]: use of NULL 'token' where non-null expected
openssl-3.5.0/test/sslapitest.c:223:41: branch_true: following 'true' branch (when 'token' is non-NULL)...
openssl-3.5.0/test/sslapitest.c:225:13: branch_true: ...to here
openssl-3.5.0/test/sslapitest.c:225:12: branch_false: following 'false' branch (when the strings are non-equal)...
openssl-3.5.0/test/sslapitest.c:243:20: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:243:19: branch_false: following 'false' branch (when the strings are non-equal)...
openssl-3.5.0/test/sslapitest.c:275:20: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:306:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:309:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:309:16: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:311:18: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:311:18: danger: argument 1 ('token') NULL where non-null expected
Error: COMPILER_WARNING (CWE-563): [#def226]
openssl-3.5.0/test/sslapitest.c: scope_hint: In function 'test_client_cert_verify_cb'
openssl-3.5.0/test/sslapitest.c:578:25: warning[-Wunused-variable]: unused variable 'status'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
openssl-3.5.0/test/sslapitest.c:1783:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'serversc'
openssl-3.5.0/test/sslapitest.c:1725:8: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:1750:10: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:1750:8: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:1754:10: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:1754:8: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:1757:10: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:1757:8: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:1761:17: branch_true: following 'true' branch (when 'i != 16000')...
openssl-3.5.0/test/sslapitest.c:1762:9: branch_true: ...to here
openssl-3.5.0/test/sslapitest.c:1765:8: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:1768:10: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:1768:8: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:1771:10: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:1771:8: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:1779:10: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:1779:8: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:1783:13: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:1783:13: danger: dereference of NULL 'serversc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def228]
openssl-3.5.0/test/sslapitest.c:8933:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'x509'
openssl-3.5.0/test/sslapitest.c:8950:12: enter_function: entry to 'cert_cb'
openssl-3.5.0/test/sslapitest.c:8958:8: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:8962:15: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:8962:15: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:8977:15: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:8977:15: branch_true: following 'true' branch...
openssl-3.5.0/test/sslapitest.c:8980:17: branch_true: ...to here
openssl-3.5.0/test/sslapitest.c:8981:12: branch_false: following 'false' branch...
openssl-3.5.0/test/sslapitest.c:8982:17: branch_false: ...to here
openssl-3.5.0/test/sslapitest.c:8982:17: call_function: calling 'load_chain' from 'cert_cb'
Error: CPPCHECK_WARNING (CWE-476): [#def229]
openssl-3.5.0/test/sslbuffertest.c:55: warning[nullPointer]: Possible null pointer dereference: sc
Error: CPPCHECK_WARNING (CWE-476): [#def230]
openssl-3.5.0/test/sslbuffertest.c:56: warning[nullPointer]: Possible null pointer dereference: sc
Error: GCC_ANALYZER_WARNING (CWE-476): [#def231]
openssl-3.5.0/test/testutil/stanza.c:99:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'p'
openssl-3.5.0/test/testutil/stanza.c:93:27: branch_true: following 'true' branch...
openssl-3.5.0/test/testutil/stanza.c:94:9: branch_true: ...to here
openssl-3.5.0/test/testutil/stanza.c:95:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:99:9: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:99:9: danger: dereference of NULL 'p'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def232]
openssl-3.5.0/test/testutil/stanza.c:114:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'equals'
openssl-3.5.0/test/testutil/stanza.c:93:27: branch_true: following 'true' branch...
openssl-3.5.0/test/testutil/stanza.c:94:9: branch_true: ...to here
openssl-3.5.0/test/testutil/stanza.c:95:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:99:9: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:102:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:106:12: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:106:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:110:14: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:110:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:114:10: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:114:9: danger: dereference of NULL 'equals'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def233]
openssl-3.5.0/test/testutil/stanza.c:122:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
openssl-3.5.0/test/testutil/stanza.c:86:5: enter_function: entry to 'test_readstanza'
openssl-3.5.0/test/testutil/stanza.c:93:27: branch_true: following 'true' branch...
openssl-3.5.0/test/testutil/stanza.c:94:9: branch_true: ...to here
openssl-3.5.0/test/testutil/stanza.c:95:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:99:9: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:102:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:106:12: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:106:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:110:14: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:110:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:114:10: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:115:12: branch_false: following 'false' branch...
openssl-3.5.0/test/testutil/stanza.c:119:22: branch_false: ...to here
openssl-3.5.0/test/testutil/stanza.c:119:22: call_function: calling 'strip_spaces' from 'test_readstanza'
openssl-3.5.0/test/testutil/stanza.c:119:22: return_function: returning to 'test_readstanza' from 'strip_spaces'
openssl-3.5.0/test/testutil/stanza.c:119:12: branch_true: following 'true' branch...
branch_true: ...to here
openssl-3.5.0/test/testutil/stanza.c:122:13: danger: argument 1 ('strip_spaces(&buff)') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def234]
openssl-3.5.0/test/timing_load_creds.c:152:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'fopen(*av, "r")' where non-null expected
openssl-3.5.0/test/timing_load_creds.c:140:8: branch_false: following 'false' branch...
openssl-3.5.0/test/timing_load_creds.c:142:9: branch_false: ...to here
openssl-3.5.0/test/timing_load_creds.c:142:8: branch_false: following 'false' branch...
openssl-3.5.0/test/timing_load_creds.c:146:16: branch_false: ...to here
openssl-3.5.0/test/timing_load_creds.c:147:8: branch_false: following 'false' branch...
openssl-3.5.0/test/timing_load_creds.c:151:10: branch_false: ...to here
openssl-3.5.0/test/timing_load_creds.c:151:10: acquire_memory: this call could return NULL
openssl-3.5.0/test/timing_load_creds.c:152:15: danger: argument 4 ('fopen(*av, "r")') from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def235]
openssl-3.5.0/test/timing_load_creds.c:152:34: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(*av, "r")'
openssl-3.5.0/test/timing_load_creds.c:140:8: branch_false: following 'false' branch...
openssl-3.5.0/test/timing_load_creds.c:142:9: branch_false: ...to here
openssl-3.5.0/test/timing_load_creds.c:142:8: branch_false: following 'false' branch...
openssl-3.5.0/test/timing_load_creds.c:146:16: branch_false: ...to here
openssl-3.5.0/test/timing_load_creds.c:147:8: branch_false: following 'false' branch...
openssl-3.5.0/test/timing_load_creds.c:151:10: branch_false: ...to here
openssl-3.5.0/test/timing_load_creds.c:151:10: acquire_resource: opened here
openssl-3.5.0/test/timing_load_creds.c:152:34: danger: 'fopen(*av, "r")' leaks here; was opened at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
openssl-3.5.0/test/timing_load_creds.c:152:34: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(*av, "r")'
openssl-3.5.0/test/timing_load_creds.c:140:8: branch_false: following 'false' branch...
openssl-3.5.0/test/timing_load_creds.c:142:9: branch_false: ...to here
openssl-3.5.0/test/timing_load_creds.c:142:8: branch_false: following 'false' branch...
openssl-3.5.0/test/timing_load_creds.c:146:16: branch_false: ...to here
openssl-3.5.0/test/timing_load_creds.c:147:8: branch_false: following 'false' branch...
openssl-3.5.0/test/timing_load_creds.c:151:10: branch_false: ...to here
openssl-3.5.0/test/timing_load_creds.c:151:10: acquire_memory: allocated here
openssl-3.5.0/test/timing_load_creds.c:152:34: danger: 'fopen(*av, "r")' leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-457): [#def237]
openssl-3.5.0/test/tls-provider.c:2895: warning[uninitvar]: Uninitialized variable: digest
Error: GCC_ANALYZER_WARNING (CWE-476): [#def238]
openssl-3.5.0/test/tls-provider.c:3260:10: warning[-Wanalyzer-jump-through-null]: jump through null pointer
openssl-3.5.0/test/tls-provider.c:3216:5: enter_function: entry to 'tls_provider_init'
openssl-3.5.0/test/tls-provider.c:3224:34: call_function: calling 'xor_newprovctx' from 'tls_provider_init'
openssl-3.5.0/test/tls-provider.c:3224:34: return_function: returning to 'tls_provider_init' from 'xor_newprovctx'
openssl-3.5.0/test/tls-provider.c:3226:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3229:5: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3260:10: danger: jump through null pointer here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def239]
openssl-3.5.0/test/tls-provider.c:3265:10: warning[-Wanalyzer-jump-through-null]: jump through null pointer
openssl-3.5.0/test/tls-provider.c:3216:5: enter_function: entry to 'tls_provider_init'
openssl-3.5.0/test/tls-provider.c:3224:34: call_function: calling 'xor_newprovctx' from 'tls_provider_init'
openssl-3.5.0/test/tls-provider.c:3224:34: return_function: returning to 'tls_provider_init' from 'xor_newprovctx'
openssl-3.5.0/test/tls-provider.c:3226:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3229:5: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3260:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3265:10: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3265:10: danger: jump through null pointer here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
openssl-3.5.0/test/tls-provider.c:3269:10: warning[-Wanalyzer-jump-through-null]: jump through null pointer
openssl-3.5.0/test/tls-provider.c:3216:5: enter_function: entry to 'tls_provider_init'
openssl-3.5.0/test/tls-provider.c:3224:34: call_function: calling 'xor_newprovctx' from 'tls_provider_init'
openssl-3.5.0/test/tls-provider.c:3224:34: return_function: returning to 'tls_provider_init' from 'xor_newprovctx'
openssl-3.5.0/test/tls-provider.c:3226:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3229:5: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3260:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3265:10: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3265:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3269:10: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3269:10: danger: jump through null pointer here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
openssl-3.5.0/test/tls-provider.c:3274:10: warning[-Wanalyzer-jump-through-null]: jump through null pointer
openssl-3.5.0/test/tls-provider.c:3216:5: enter_function: entry to 'tls_provider_init'
openssl-3.5.0/test/tls-provider.c:3224:34: call_function: calling 'xor_newprovctx' from 'tls_provider_init'
openssl-3.5.0/test/tls-provider.c:3224:34: return_function: returning to 'tls_provider_init' from 'xor_newprovctx'
openssl-3.5.0/test/tls-provider.c:3226:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3229:5: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3260:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3265:10: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3265:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3269:10: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3269:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls-provider.c:3274:10: branch_false: ...to here
openssl-3.5.0/test/tls-provider.c:3274:10: danger: jump through null pointer here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def242]
openssl-3.5.0/test/tls13secretstest.c:305:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.0/test/tls13secretstest.c:298:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls13secretstest.c:301:11: branch_false: ...to here
openssl-3.5.0/test/tls13secretstest.c:302:8: branch_false: following 'false' branch...
openssl-3.5.0/test/tls13secretstest.c:305:5: danger: dereference of NULL 's'
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-216.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | openssl-3.5.0-3.fc43 |
store-results-to | /tmp/tmpvokizq7y/openssl-3.5.0-3.fc43.tar.xz |
time-created | 2025-04-25 15:11:50 |
time-finished | 2025-04-25 15:51:53 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpvokizq7y/openssl-3.5.0-3.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpvokizq7y/openssl-3.5.0-3.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |