openssl-3.2.2-8.fc42
List of Findings
Error: SHELLCHECK_WARNING: [#def1]
/usr/bin/make-dummy-cert:15:7: warning[SC3004]: In POSIX sh, $".." is undefined.
Error: SHELLCHECK_WARNING (CWE-88): [#def2]
/usr/bin/make-dummy-cert:19:15: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-569): [#def3]
/usr/bin/make-dummy-cert:22:14: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def4]
/usr/bin/make-dummy-cert:22:20: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def5]
/usr/bin/make-dummy-cert:22:27: warning[SC3048]: In POSIX sh, prefixing signal names with 'SIG' is undefined.
Error: SHELLCHECK_WARNING (CWE-569): [#def6]
/usr/bin/renew-dummy-cert:14:13: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def7]
/usr/bin/renew-dummy-cert:14:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def8]
/usr/bin/renew-dummy-cert:14:23: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def9]
/usr/bin/renew-dummy-cert:14:28: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def10]
openssl-3.2.2-build/openssl-3.2.2/apps/speed.c: scope_hint: In function 'do_multi'
openssl-3.2.2-build/openssl-3.2.2/apps/speed.c:4500:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup(fd[1])'
Error: CPPCHECK_WARNING (CWE-562): [#def11]
openssl-3.2.2-build/openssl-3.2.2/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): [#def12]
openssl-3.2.2-build/openssl-3.2.2/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): [#def13]
openssl-3.2.2-build/openssl-3.2.2/crypto/asn1/ameth_lib.c: scope_hint: In function 'EVP_PKEY_asn1_find_str'
openssl-3.2.2-build/openssl-3.2.2/crypto/asn1/ameth_lib.c:133:18: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
openssl-3.2.2-build/openssl-3.2.2/crypto/asn1/asn_mime.c: scope_hint: In function 'mime_hdr_addparam'
openssl-3.2.2-build/openssl-3.2.2/crypto/asn1/asn_mime.c:911:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'mhdr'
openssl-3.2.2-build/openssl-3.2.2/include/internal/e_os.h:17: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/internal/common.h:18: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/internal/cryptlib.h:21: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/asn1/asn_mime.c:12: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/asn1/asn_mime.c:906:14: note: in expansion of macro 'OPENSSL_malloc'
Error: GCC_ANALYZER_WARNING (CWE-465): [#def15]
openssl-3.2.2-build/openssl-3.2.2/crypto/bn/bn_blind.c: scope_hint: In function 'BN_BLINDING_update'
openssl-3.2.2-build/openssl-3.2.2/crypto/bn/bn_blind.c:106:12: warning[-Wanalyzer-deref-before-check]: check of 'b' for NULL after already dereferencing it
Error: CPPCHECK_WARNING (CWE-758): [#def16]
openssl-3.2.2-build/openssl-3.2.2/crypto/bn/bn_lib.c:45: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def17]
openssl-3.2.2-build/openssl-3.2.2/crypto/bn/bn_lib.c:51: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def18]
openssl-3.2.2-build/openssl-3.2.2/crypto/bn/bn_lib.c:57: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def19]
openssl-3.2.2-build/openssl-3.2.2/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): [#def20]
openssl-3.2.2-build/openssl-3.2.2/crypto/bn/bn_lib.c: scope_hint: In function 'BN_set_bit'
openssl-3.2.2-build/openssl-3.2.2/crypto/bn/bn_lib.c:800:12: warning[-Wanalyzer-deref-before-check]: check of 'a' for NULL after already dereferencing it
Error: CPPCHECK_WARNING (CWE-786): [#def21]
openssl-3.2.2-build/openssl-3.2.2/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): [#def22]
openssl-3.2.2-build/openssl-3.2.2/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): [#def23]
openssl-3.2.2-build/openssl-3.2.2/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): [#def24]
openssl-3.2.2-build/openssl-3.2.2/crypto/cast/c_skey.c: scope_hint: In function 'CAST_set_key'
openssl-3.2.2-build/openssl-3.2.2/crypto/cast/c_skey.c:122:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'k[<unknown>]'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_env.c: scope_hint: In function 'cms_RecipientInfo_ktri_encrypt'
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_env.c:551:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_env.c:17: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_env.c:545:13: note: in expansion of macro 'FIPS_mode'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/pem.h:22: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_ess.c:12: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_ess.c: scope_hint: In function 'cms_msgSigDigest'
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_ess.c:221:46: warning[-Wanalyzer-null-dereference]: dereference of NULL 'si'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/evp.h:531:65: note: in definition of macro 'EVP_get_digestbynid'
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_ess.c:221:24: note: in expansion of macro 'EVP_get_digestbyobj'
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_ess.c:16: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_ess.c:272:9: note: in expansion of macro 'sk_CMS_SignerInfo_num'
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_ess.c:305:14: note: in expansion of macro 'sk_CMS_SignerInfo_num'
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_ess.c:310:10: note: in expansion of macro 'sk_CMS_SignerInfo_value'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/evp.h:531:65: note: in definition of macro 'EVP_get_digestbynid'
openssl-3.2.2-build/openssl-3.2.2/crypto/cms/cms_ess.c:221:24: note: in expansion of macro 'EVP_get_digestbyobj'
Error: COMPILER_WARNING (CWE-1164): [#def27]
openssl-3.2.2-build/openssl-3.2.2/crypto/context.c:30:13: warning[-Wunused-function]: 'read_kernel_fips_flag' defined but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
openssl-3.2.2-build/openssl-3.2.2/crypto/dsa/dsa_sign.c: scope_hint: In function 'i2d_DSA_SIG'
openssl-3.2.2-build/openssl-3.2.2/crypto/dsa/dsa_sign.c:108:42: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def29]
openssl-3.2.2-build/openssl-3.2.2/crypto/dsa/dsa_sign.c: scope_hint: In function 'DSA_verify'
openssl-3.2.2-build/openssl-3.2.2/crypto/dsa/dsa_sign.c:210:29: warning[-Wanalyzer-null-argument]: use of NULL 'der' where non-null expected
openssl-3.2.2-build/openssl-3.2.2/include/internal/common.h:15: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/internal/cryptlib.h:21: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/dsa/dsa_sign.c:17: included_from: Included from here.
/usr/include/string.h:64:12: note: argument 2 of 'memcmp' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-457): [#def30]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/curve448/arch_64/f_impl.h:49:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'd[0].limb[7]'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/curve448/curve448.c: scope_hint: In function 'point_double_internal'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/curve448/curve448.c:68:5: note: in expansion of macro 'gf_add_nr'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/curve448/arch_64/f_impl.h: scope_hint: In function 'point_double_internal'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ec_asn1.c: scope_hint: In function 'i2d_ECDSA_SIG'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ec_asn1.c:1280:42: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
Error: COMPILER_WARNING (CWE-563): [#def32]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ec_lib.c: scope_hint: In function 'EC_GROUP_new_from_params'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ec_lib.c:1556:9: warning[-Wunused-variable]: unused variable 'encoding_flag'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def33]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistp384.c: scope_hint: In function 'felem_square_ref'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistp384.c:380:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'inx2[1]'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistp384.c:731:5: note: in expansion of macro 'felem_square'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistp384.c: scope_hint: In function 'felem_square_ref'
Error: CPPCHECK_WARNING (CWE-823): [#def34]
openssl-3.2.2-build/openssl-3.2.2/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): [#def35]
openssl-3.2.2-build/openssl-3.2.2/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): [#def36]
openssl-3.2.2-build/openssl-3.2.2/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): [#def37]
openssl-3.2.2-build/openssl-3.2.2/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): [#def38]
openssl-3.2.2-build/openssl-3.2.2/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): [#def39]
openssl-3.2.2-build/openssl-3.2.2/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): [#def40]
openssl-3.2.2-build/openssl-3.2.2/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): [#def41]
openssl-3.2.2-build/openssl-3.2.2/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): [#def42]
openssl-3.2.2-build/openssl-3.2.2/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): [#def43]
openssl-3.2.2-build/openssl-3.2.2/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): [#def44]
openssl-3.2.2-build/openssl-3.2.2/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): [#def45]
openssl-3.2.2-build/openssl-3.2.2/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): [#def46]
openssl-3.2.2-build/openssl-3.2.2/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): [#def47]
openssl-3.2.2-build/openssl-3.2.2/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): [#def48]
openssl-3.2.2-build/openssl-3.2.2/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): [#def49]
openssl-3.2.2-build/openssl-3.2.2/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): [#def50]
openssl-3.2.2-build/openssl-3.2.2/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): [#def51]
openssl-3.2.2-build/openssl-3.2.2/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): [#def52]
openssl-3.2.2-build/openssl-3.2.2/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): [#def53]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c: scope_hint: In function 'ecp_nistz256_points_mul'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1032:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1032:30: note: write of 1 byte to beyond the end of 'p_str'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1032:30: note: valid subscripts for 'p_str' are '[0]' to '[32]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def54]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1033:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1033:30: note: write of 1 byte to beyond the end of 'p_str'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1033:30: note: valid subscripts for 'p_str' are '[0]' to '[32]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def55]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1034:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1034:30: note: write of 1 byte to beyond the end of 'p_str'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1034:30: note: valid subscripts for 'p_str' are '[0]' to '[32]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def56]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1037:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1037:34: note: write of 1 byte to beyond the end of 'p_str'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1037:34: note: valid subscripts for 'p_str' are '[0]' to '[32]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def57]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1038:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1038:34: note: write of 1 byte to beyond the end of 'p_str'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1038:34: note: valid subscripts for 'p_str' are '[0]' to '[32]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def58]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1039:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1039:34: note: write of 1 byte to beyond the end of 'p_str'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1039:34: note: valid subscripts for 'p_str' are '[0]' to '[32]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def59]
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1040:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1040:34: note: write of 1 byte to beyond the end of 'p_str'
openssl-3.2.2-build/openssl-3.2.2/crypto/ec/ecp_nistz256.c:1040:34: note: valid subscripts for 'p_str' are '[0]' to '[32]'
Error: CPPCHECK_WARNING (CWE-823): [#def60]
openssl-3.2.2-build/openssl-3.2.2/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): [#def61]
openssl-3.2.2-build/openssl-3.2.2/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): [#def62]
openssl-3.2.2-build/openssl-3.2.2/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): [#def63]
openssl-3.2.2-build/openssl-3.2.2/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): [#def64]
openssl-3.2.2-build/openssl-3.2.2/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): [#def65]
openssl-3.2.2-build/openssl-3.2.2/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): [#def66]
openssl-3.2.2-build/openssl-3.2.2/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): [#def67]
openssl-3.2.2-build/openssl-3.2.2/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): [#def68]
openssl-3.2.2-build/openssl-3.2.2/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): [#def69]
openssl-3.2.2-build/openssl-3.2.2/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): [#def70]
openssl-3.2.2-build/openssl-3.2.2/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): [#def71]
openssl-3.2.2-build/openssl-3.2.2/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): [#def72]
openssl-3.2.2-build/openssl-3.2.2/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): [#def73]
openssl-3.2.2-build/openssl-3.2.2/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): [#def74]
openssl-3.2.2-build/openssl-3.2.2/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): [#def75]
openssl-3.2.2-build/openssl-3.2.2/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): [#def76]
openssl-3.2.2-build/openssl-3.2.2/crypto/encode_decode/decoder_lib.c:1000:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.2.2-build/openssl-3.2.2/crypto/encode_decode/decoder_lib.c:851:16: note: in expansion of macro 'BIO_tell'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
openssl-3.2.2-build/openssl-3.2.2/crypto/encode_decode/decoder_lib.c: scope_hint: In function 'decoder_process'
openssl-3.2.2-build/openssl-3.2.2/crypto/encode_decode/decoder_lib.c:1000:25: warning[-Wanalyzer-null-dereference]: dereference of NULL 'decoder'
openssl-3.2.2-build/openssl-3.2.2/crypto/encode_decode/decoder_lib.c:11: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/encode_decode/decoder_lib.c:851:16: note: in expansion of macro 'BIO_tell'
Error: GCC_ANALYZER_WARNING (CWE-835): [#def78]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/bio_ok.c: scope_hint: In function 'ok_ctrl'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/bio_ok.c:361:19: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: CPPCHECK_WARNING (CWE-562): [#def79]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/ctrl_params_translate.c:1163: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-457): [#def80]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:184: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def81]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c: scope_hint: In function 'tls1_1_multi_block_encrypt'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:208:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:208:23: note: write of 8 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:208:23: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def82]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:208:39: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:208:39: note: write of 8 bytes to beyond the end of 'hash_d'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:208:39: note: valid subscripts for 'hash_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def83]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:209:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:209:23: note: write of 8 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:209:23: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def84]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:211:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:211:9: note: write of 16 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha1.c:211:9: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: CPPCHECK_WARNING (CWE-758): [#def85]
openssl-3.2.2-build/openssl-3.2.2/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): [#def86]
openssl-3.2.2-build/openssl-3.2.2/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): [#def87]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:178: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def88]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c: scope_hint: In function 'tls1_1_multi_block_encrypt'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:203:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:203:23: note: write of 8 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:203:23: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def89]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:203:39: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:203:39: note: write of 8 bytes to beyond the end of 'hash_d'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:203:39: note: valid subscripts for 'hash_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def90]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:204:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:204:23: note: write of 8 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:204:23: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def91]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:206:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:206:9: note: write of 16 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/e_aes_cbc_hmac_sha256.c:206:9: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: CPPCHECK_WARNING (CWE-758): [#def92]
openssl-3.2.2-build/openssl-3.2.2/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): [#def93]
openssl-3.2.2-build/openssl-3.2.2/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-758): [#def94]
openssl-3.2.2-build/openssl-3.2.2/crypto/evp/evp_enc.c:31: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-590): [#def95]
openssl-3.2.2-build/openssl-3.2.2/crypto/mem.c:282:5: warning[-Wfree-nonheap-object]: 'free' called on unallocated object 'recp'
openssl-3.2.2-build/openssl-3.2.2/crypto/bn/bn_exp.c: scope_hint: In function 'BN_mod_exp_recp'
openssl-3.2.2-build/openssl-3.2.2/crypto/bn/bn_exp.c:177:17: note: declared here
Error: CPPCHECK_WARNING (CWE-758): [#def96]
openssl-3.2.2-build/openssl-3.2.2/crypto/modes/xts128.c:74: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def97]
openssl-3.2.2-build/openssl-3.2.2/crypto/modes/xts128.c:113: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
openssl-3.2.2-build/openssl-3.2.2/crypto/param_build.c: scope_hint: In function 'param_bld_convert'
openssl-3.2.2-build/openssl-3.2.2/crypto/param_build.c:356:31: warning[-Wanalyzer-null-dereference]: dereference of NULL 'p'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/bio.h:30: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/openssl/err.h:29: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/param_build.c:12: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/param_build.c:393:14: note: in expansion of macro 'OPENSSL_malloc'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def99]
openssl-3.2.2-build/openssl-3.2.2/crypto/param_build.c:368:17: warning[-Wanalyzer-null-argument]: use of NULL 'p' where non-null expected
openssl-3.2.2-build/openssl-3.2.2/crypto/param_build.c:393:14: note: in expansion of macro 'OPENSSL_malloc'
<built-in>: note: argument 1 of '__builtin_memset' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def100]
openssl-3.2.2-build/openssl-3.2.2/crypto/param_build.c:370:17: warning[-Wanalyzer-null-argument]: use of NULL 'p' where non-null expected
openssl-3.2.2-build/openssl-3.2.2/crypto/param_build.c:393:14: note: in expansion of macro 'OPENSSL_malloc'
<built-in>: note: argument 1 of '__builtin_memcpy' must be non-null
Error: COMPILER_WARNING (CWE-1164): [#def101]
openssl-3.2.2-build/openssl-3.2.2/crypto/rand/rand_lib.c:534:22: warning[-Wunused-function]: 'rand_new_seed' defined but not used
Error: CPPCHECK_WARNING (CWE-758): [#def102]
openssl-3.2.2-build/openssl-3.2.2/crypto/stack/stack.c:18: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING: [#def103]
openssl-3.2.2-build/openssl-3.2.2/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.2.2-build/openssl-3.2.2/crypto/thread/arch/thread_posix.c:13:10: warning: '_GNU_SOURCE' redefined
<command-line>: note: this is the location of the previous definition
Error: CPPCHECK_WARNING (CWE-758): [#def105]
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/v3_ncons.c:24: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-688): [#def106]
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509_vfy.c: scope_hint: In function 'dane_match_cert'
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509_vfy.c:2934:13: warning[-Wanalyzer-null-argument]: use of NULL 'cmpbuf' where non-null expected
openssl-3.2.2-build/openssl-3.2.2/include/internal/common.h:15: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/internal/cryptlib.h:21: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509_vfy.c:18: included_from: Included from here.
/usr/include/string.h:64:12: note: argument 1 of 'memcmp' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509name.c: scope_hint: In function 'X509_NAME_get_text_by_OBJ'
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509name.c:41:20: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509name.c:44:14: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def109]
openssl-3.2.2-build/openssl-3.2.2/fuzz/test-corpus.c: scope_hint: In function 'testfile'
openssl-3.2.2-build/openssl-3.2.2/fuzz/test-corpus.c:51:20: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(pathname, "rb")'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
openssl-3.2.2-build/openssl-3.2.2/fuzz/test-corpus.c:51:20: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(pathname, "rb")'
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def111]
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509_vfy.c:27: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/internal/dane.h:82:32: warning[-Wanalyzer-shift-count-overflow]: shift by count ('256') >= precision of type ('32')
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509_vfy.c:2935:17: note: in expansion of macro 'DANETLS_USAGE_BIT'
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509_vfy.c:2935:17: note: in expansion of macro 'DANETLS_USAGE_BIT'
openssl-3.2.2-build/openssl-3.2.2/crypto/x509/x509_vfy.c:2935:17: note: in expansion of macro 'DANETLS_USAGE_BIT'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
openssl-3.2.2-build/openssl-3.2.2/crypto/bio/bss_conn.c:15: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/internal/ktls.h: scope_hint: In function 'ktls_read_record'
openssl-3.2.2-build/openssl-3.2.2/include/internal/ktls.h:416:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cmsg'
/usr/include/sys/socket.h:33: included_from: Included from here.
/usr/include/netinet/in.h:23: included_from: Included from here.
/usr/include/netdb.h:27: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/internal/sockets.h:91: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/bio/bio_local.h:11: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/crypto/bio/bss_conn.c:13: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c:14: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c: scope_hint: In function 'ossl_list_txe_remove'
openssl-3.2.2-build/openssl-3.2.2/include/internal/list.h:95:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'list'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c:41:1: note: in expansion of macro 'DEFINE_LIST_OF'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c: scope_hint: In function 'ossl_list_txe_remove'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c:41:1: note: in expansion of macro 'DEFINE_LIST_OF'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c: scope_hint: In function 'ossl_list_txe_remove'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c:41:1: note: in expansion of macro 'DEFINE_LIST_OF'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c:41:1: note: in expansion of macro 'DEFINE_LIST_OF'
Error: CPPCHECK_WARNING (CWE-457): [#def114]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/asn1.h:234: warning[uninitvar]: Uninitialized variables: ptr.minsize, ptr.maxsize, ptr.mask, ptr.flags
Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:22: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c: scope_hint: In function 'ping_pong_query'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/bio.h:202:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'clientsc'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1085:10: note: in expansion of macro 'BIO_get_ktls_send'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1816:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY_int'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1045:33: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1085:10: note: in expansion of macro 'BIO_get_ktls_send'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1085:10: note: in expansion of macro 'BIO_get_ktls_send'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/bio.h:202:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'serversc'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1095:10: note: in expansion of macro 'BIO_get_ktls_send'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1816:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY_int'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1044:30: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1044:10: note: in expansion of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1816:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY_int'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1045:33: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1085:10: note: in expansion of macro 'BIO_get_ktls_send'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1095:10: note: in expansion of macro 'BIO_get_ktls_send'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1095:10: note: in expansion of macro 'BIO_get_ktls_send'
Error: CPPCHECK_WARNING (CWE-457): [#def117]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/conf.h:70: warning[uninitvar]: Uninitialized variable: ptr.value
Error: GCC_ANALYZER_WARNING (CWE-465): [#def118]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/bio.h:30: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/openssl/err.h:29: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/apps/lib/opt.c:27: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/apps/lib/opt.c: scope_hint: In function 'opt_init'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/crypto.h:421:5: warning[-Wanalyzer-deref-before-check]: check of 'o' for NULL after already dereferencing it
openssl-3.2.2-build/openssl-3.2.2/apps/lib/opt.c:219:13: note: in expansion of macro 'OPENSSL_assert'
openssl-3.2.2-build/openssl-3.2.2/apps/lib/opt.c:218:13: note: in expansion of macro 'OPENSSL_assert'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/crypto.h:421:13: note: in definition of macro 'OPENSSL_assert'
openssl-3.2.2-build/openssl-3.2.2/apps/lib/opt.c:219:13: note: in expansion of macro 'OPENSSL_assert'
openssl-3.2.2-build/openssl-3.2.2/apps/lib/opt.c:221:13: note: in expansion of macro 'OPENSSL_assert'
openssl-3.2.2-build/openssl-3.2.2/apps/lib/opt.c:218:13: note: in expansion of macro 'OPENSSL_assert'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/crypto.h:421:13: note: in definition of macro 'OPENSSL_assert'
openssl-3.2.2-build/openssl-3.2.2/apps/lib/opt.c:219:13: note: in expansion of macro 'OPENSSL_assert'
Error: CPPCHECK_WARNING (CWE-457): [#def119]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/err.h:374: warning[uninitvar]: Uninitialized variable: ptr.string
Error: CPPCHECK_WARNING (CWE-457): [#def120]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/ssl.h:1030: warning[uninitvar]: Uninitialized variables: ptr.name, ptr.method
Error: CPPCHECK_WARNING (CWE-457): [#def121]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/x509.h:104: warning[uninitvar]: Uninitialized variables: ptr.revocationDate, ptr.extensions, ptr.issuer, ptr.reason, ptr.sequence
Error: CPPCHECK_WARNING (CWE-457): [#def122]
openssl-3.2.2-build/openssl-3.2.2/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): [#def123]
openssl-3.2.2-build/openssl-3.2.2/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): [#def124]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/x509v3.h:707: warning[uninitvar]: Uninitialized variables: ptr.trust, ptr.flags, ptr.check_purpose, ptr.name, ptr.sname, ptr.usr_data
Error: CPPCHECK_WARNING (CWE-457): [#def125]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/x509v3.h:1052: warning[uninitvar]: Uninitialized variables: ptr.parent, ptr.nchild
Error: COMPILER_WARNING (CWE-704): [#def126]
openssl-3.2.2-build/openssl-3.2.2/providers/fips/self_test.c: scope_hint: In function 'SELF_TEST_post'
openssl-3.2.2-build/openssl-3.2.2/providers/fips/self_test.c:521:25: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-563): [#def127]
openssl-3.2.2-build/openssl-3.2.2/providers/fips/self_test_kats.c: scope_hint: In function 'self_test_sign'
openssl-3.2.2-build/openssl-3.2.2/providers/fips/self_test_kats.c:461:32: warning[-Wunused-variable]: unused variable 'dgst'
Error: CPPCHECK_WARNING (CWE-457): [#def128]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:146: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def129]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c: scope_hint: In function 'tls1_multi_block_encrypt'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:23: note: write of 8 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:23: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def130]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:39: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:39: note: write of 8 bytes to beyond the end of 'hash_d'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:39: note: valid subscripts for 'hash_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def131]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:171:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:171:23: note: write of 8 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:171:23: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def132]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:173:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:173:9: note: write of 16 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:173:9: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: CPPCHECK_WARNING (CWE-758): [#def133]
openssl-3.2.2-build/openssl-3.2.2/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): [#def134]
openssl-3.2.2-build/openssl-3.2.2/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): [#def135]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:150: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def136]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c: scope_hint: In function 'tls1_multi_block_encrypt'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:23: note: write of 8 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:23: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def137]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:39: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:39: note: write of 8 bytes to beyond the end of 'hash_d'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:39: note: valid subscripts for 'hash_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def138]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:175:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:175:23: note: write of 8 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:175:23: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def139]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:177:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:177:9: note: write of 16 bytes to beyond the end of 'ciph_d'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:177:9: note: valid subscripts for 'ciph_d' are '[0]' to '[7]'
Error: CPPCHECK_WARNING (CWE-758): [#def140]
openssl-3.2.2-build/openssl-3.2.2/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): [#def141]
openssl-3.2.2-build/openssl-3.2.2/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): [#def142]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2b_prov.c: scope_hint: In function 'blake2b_compress'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2b_prov.c:283:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'm[1]'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2b_prov.c:290:13: note: in expansion of macro 'G'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2b_prov.c:305:9: note: in expansion of macro 'ROUND'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2b_prov.c:290:13: note: in expansion of macro 'G'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2b_prov.c:305:9: note: in expansion of macro 'ROUND'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def143]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2s_prov.c: scope_hint: In function 'blake2s_compress'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2s_prov.c:204:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'm[1]'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2s_prov.c:211:13: note: in expansion of macro 'G'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2s_prov.c:226:9: note: in expansion of macro 'ROUND'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2s_prov.c:211:13: note: in expansion of macro 'G'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/digests/blake2s_prov.c:226:9: note: in expansion of macro 'ROUND'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def144]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/kdfs/argon2.c: scope_hint: In function 'blake2b_long'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/kdfs/argon2.c:884:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '&outbuf'
Error: COMPILER_WARNING (CWE-563): [#def145]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/kdfs/tls1_prf.c: scope_hint: In function 'kdf_tls1_prf_free'
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/kdfs/tls1_prf.c:131:19: warning[-Wunused-variable]: unused variable 'libctx'
Error: CPPCHECK_WARNING (CWE-457): [#def146]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/signature/dsa_sig.c:363: warning[uninitvar]: Uninitialized variable: digest
Error: CPPCHECK_WARNING (CWE-457): [#def147]
openssl-3.2.2-build/openssl-3.2.2/providers/implementations/signature/rsa_sig.c:968: warning[uninitvar]: Uninitialized variable: digest
Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
openssl-3.2.2-build/openssl-3.2.2/ssl/d1_lib.c: scope_hint: In function 'dtls1_shutdown'
openssl-3.2.2-build/openssl-3.2.2/ssl/d1_lib.c:869:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.2.2-build/openssl-3.2.2/ssl/d1_lib.c:14: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1816:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/d1_lib.c:862:26: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1816:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/d1_lib.c:862:26: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1816:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/d1_lib.c:862:26: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_shared.c: scope_hint: In function 'ossl_qrl_enc_level_set_have_el'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_shared.c:49:15: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_shared.c: scope_hint: In function 'el_teardown_keyslot'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_shared.c:90:63: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: CPPCHECK_WARNING (CWE-476): [#def151]
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c:41: error[ctunullpointer]: Null pointer dereference: elem
Error: CPPCHECK_WARNING (CWE-476): [#def152]
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_record_tx.c:41: error[ctunullpointer]: Null pointer dereference: list
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_tls.c: scope_hint: In function 'ossl_quic_tls_tick'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_tls.c:758:54: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_tls.c:12: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1824:7: note: in definition of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_tls.c:734:30: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_tls.c:9: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/ssl/quic/quic_tls.c:752:14: note: in expansion of macro 'SSL_set_min_proto_version'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
openssl-3.2.2-build/openssl-3.2.2/ssl/record/methods/ktls_meth.c: scope_hint: In function 'ktls_configure_crypto'
openssl-3.2.2-build/openssl-3.2.2/ssl/record/methods/ktls_meth.c:225:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'eiv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
openssl-3.2.2-build/openssl-3.2.2/ssl/record/methods/ktls_meth.c:242:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'eiv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def156]
openssl-3.2.2-build/openssl-3.2.2/ssl/record/methods/ktls_meth.c:260:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'eiv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
openssl-3.2.2-build/openssl-3.2.2/ssl/record/rec_layer_s3.c: scope_hint: In function 'ssl3_read_bytes'
openssl-3.2.2-build/openssl-3.2.2/ssl/record/rec_layer_s3.c:666:14: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
openssl-3.2.2-build/openssl-3.2.2/ssl/record/rec_layer_s3.c:674:16: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
Error: CPPCHECK_WARNING (CWE-476): [#def159]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_cert_comp.c:416: warning[nullPointer]: Possible null pointer dereference: sc
Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_cert_comp.c: scope_hint: In function 'SSL_get1_compressed_cert'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_cert_comp.c:416:11: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_cert_comp.c:11: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_cert_comp.c:413:26: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
Error: COMPILER_WARNING (CWE-704): [#def161]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_ciph.c: scope_hint: In function 'ssl_create_cipher_list'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_ciph.c:1526:19: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_is_dtls'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:935:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:13: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:932:26: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_is_tls'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:950:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:947:26: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_set_wfd'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:1693:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1833:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:1581:32: note: in expansion of macro 'SSL_CONNECTION_FROM_CONST_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_set_rfd'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:1729:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1833:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:1596:32: note: in expansion of macro 'SSL_CONNECTION_FROM_CONST_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_do_handshake'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:4718:11: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:4711:26: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_set_accept_state'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:4753:16: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1816:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:4744:26: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_set_connect_state'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:4772:16: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1816:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:4763:26: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_get_version'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:4842:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1833:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:4838:32: note: in expansion of macro 'SSL_CONNECTION_FROM_CONST_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_version'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:5204:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1833:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:5200:32: note: in expansion of macro 'SSL_CONNECTION_FROM_CONST_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_client_version'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:5219:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1833:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:5215:32: note: in expansion of macro 'SSL_CONNECTION_FROM_CONST_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_get0_client_cert_type'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:7784:12: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1833:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:7779:32: note: in expansion of macro 'SSL_CONNECTION_FROM_CONST_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c: scope_hint: In function 'SSL_get0_server_cert_type'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:7796:12: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1833:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_lib.c:7791:32: note: in expansion of macro 'SSL_CONNECTION_FROM_CONST_SSL'
Error: CPPCHECK_WARNING (CWE-476): [#def174]
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_rsa.c:961: warning[nullPointer]: Possible null pointer dereference: ctx
Error: GCC_ANALYZER_WARNING (CWE-688): [#def175]
openssl-3.2.2-build/openssl-3.2.2/ssl/statem/statem_dtls.c: scope_hint: In function 'dtls1_buffer_message'
openssl-3.2.2-build/openssl-3.2.2/ssl/statem/statem_dtls.c:1127:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of '__builtin_memcpy' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def176]
openssl-3.2.2-build/openssl-3.2.2/ssl/t1_lib.c: scope_hint: In function 'tls_choose_sigalg'
openssl-3.2.2-build/openssl-3.2.2/ssl/t1_lib.c:3907:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'lu'
Error: COMPILER_WARNING (CWE-1164): [#def177]
openssl-3.2.2-build/openssl-3.2.2/test/acvp_test.c:369:12: warning[-Wunused-function]: 'dsa_keygen_test' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def178]
openssl-3.2.2-build/openssl-3.2.2/test/acvp_test.c:409:12: warning[-Wunused-function]: 'dsa_paramgen_test' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def179]
openssl-3.2.2-build/openssl-3.2.2/test/acvp_test.c:520:12: warning[-Wunused-function]: 'dsa_pqver_test' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def180]
openssl-3.2.2-build/openssl-3.2.2/test/acvp_test.c:589:12: warning[-Wunused-function]: 'dsa_siggen_test' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def181]
openssl-3.2.2-build/openssl-3.2.2/test/acvp_test.c:615:12: warning[-Wunused-function]: 'dsa_sigver_test' defined but not used
Error: CPPCHECK_WARNING (CWE-476): [#def182]
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c:215: warning[nullPointer]: Possible null pointer dereference: sc
Error: CPPCHECK_WARNING (CWE-476): [#def183]
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c:223: warning[nullPointer]: Possible null pointer dereference: sc
Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c:21: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c: scope_hint: In function 'test_ssl_cert_comp'
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c:223:28: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:436:71: note: in definition of macro 'TEST_int_gt'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c:196:20: note: in expansion of macro 'SSL_set_app_data'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c:198:20: note: in expansion of macro 'SSL_set_app_data'
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c:22: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c:221:30: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/test/cert_comp_test.c:221:30: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:436:71: note: in definition of macro 'TEST_int_gt'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:436:71: note: in definition of macro 'TEST_int_gt'
Error: COMPILER_WARNING (CWE-1164): [#def185]
openssl-3.2.2-build/openssl-3.2.2/test/cipherlist_test.c:197:12: warning[-Wunused-function]: 'test_default_cipherlist_implicit' defined but not used
Error: CPPCHECK_WARNING (CWE-476): [#def186]
openssl-3.2.2-build/openssl-3.2.2/test/cmp_vfy_test.c:340: warning[nullPointer]: Possible null pointer dereference: fixture
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
openssl-3.2.2-build/openssl-3.2.2/include/openssl/x509v3.h:25: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/openssl/crmf.h:28: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/openssl/cmp.h:23: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/helpers/cmp_testlib.h:15: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/cmp_vfy_test.c:12: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/cmp_vfy_test.c: scope_hint: In function 'test_validate_msg_signature_sender_cert_extracert'
openssl-3.2.2-build/openssl-3.2.2/test/cmp_vfy_test.c:340:42: warning[-Wanalyzer-null-dereference]: dereference of NULL 'fixture'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/x509.h:80:88: note: in definition of macro 'sk_X509_value'
openssl-3.2.2-build/openssl-3.2.2/test/helpers/cmp_testlib.h:20: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:100:34: note: in definition of macro 'SETUP_TEST_FIXTURE'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/cmp_vfy_test.c:64:17: note: in expansion of macro 'OSSL_CMP_CTX_set0_trusted'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:100:34: note: in definition of macro 'SETUP_TEST_FIXTURE'
openssl-3.2.2-build/openssl-3.2.2/test/cmp_vfy_test.c:333:5: note: in expansion of macro 'SETUP_TEST_FIXTURE'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/x509.h:80:88: note: in definition of macro 'sk_X509_value'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
openssl-3.2.2-build/openssl-3.2.2/test/drbgtest.c:107:12: warning[-Wanalyzer-null-dereference]: dereference of NULL 'drbg'
openssl-3.2.2-build/openssl-3.2.2/test/drbgtest.c: scope_hint: In function 'inc_reseed_counter'
openssl-3.2.2-build/openssl-3.2.2/test/drbgtest.c:43: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/drbgtest.c:819:13: note: in expansion of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
Error: COMPILER_WARNING (CWE-563): [#def189]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:170:19: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
Error: COMPILER_WARNING (CWE-563): [#def190]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:171:12: warning[-Wunused-variable]: unused variable 'len'
Error: COMPILER_WARNING (CWE-563): [#def191]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c: scope_hint: In function 'prime_field_tests'
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:172:9: warning[-Wunused-variable]: unused variable 'k'
Error: COMPILER_WARNING (CWE-1164): [#def192]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c: scope_hint: At top level
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:2079:12: warning[-Wunused-function]: 'cofactor_range_test' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def193]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:2345:18: warning[-Wunused-variable]: unused variable 'i_out'
Error: COMPILER_WARNING (CWE-563): [#def194]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:2351:23: warning[-Wunused-variable]: unused variable 'gettable'
Error: COMPILER_WARNING (CWE-563): [#def195]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:2355:10: warning[-Wunused-variable]: unused variable 'name'
Error: COMPILER_WARNING (CWE-563): [#def196]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:2356:19: warning[-Wunused-variable]: unused variable 'buf'
Error: COMPILER_WARNING (CWE-563): [#def197]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:2357:12: warning[-Wunused-variable]: unused variable 'buf_len'
Error: COMPILER_WARNING (CWE-563): [#def198]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c: scope_hint: In function 'do_test_custom_explicit_fromdata'
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:2357:21: warning[-Wunused-variable]: unused variable 'name_len'
Error: COMPILER_WARNING (CWE-563): [#def199]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:2667:12: warning[-Wunused-variable]: unused variable 'sslen'
Error: COMPILER_WARNING (CWE-563): [#def200]
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c: scope_hint: In function 'custom_params_test'
openssl-3.2.2-build/openssl-3.2.2/test/ectest.c:2667:19: warning[-Wunused-variable]: unused variable 't'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def201]
openssl-3.2.2-build/openssl-3.2.2/test/endecode_test.c: scope_hint: In function 'check_protected_legacy_PEM'
openssl-3.2.2-build/openssl-3.2.2/test/endecode_test.c:776:24: warning[-Wanalyzer-null-argument]: use of NULL 'data' where non-null expected
openssl-3.2.2-build/openssl-3.2.2/test/endecode_test.c:34:63: note: in definition of macro 'TEST_FL_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/endecode_test.c:27: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/endecode_test.c:775:12: note: in expansion of macro 'TEST_FL_strn_eq'
openssl-3.2.2-build/openssl-3.2.2/test/endecode_test.c:34:63: note: in definition of macro 'TEST_FL_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/endecode_test.c:34:63: note: in definition of macro 'TEST_FL_ptr'
<built-in>: note: argument 1 of '__builtin_strstr' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
openssl-3.2.2-build/openssl-3.2.2/test/endecoder_legacy_test.c:59: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/endecoder_legacy_test.c: scope_hint: In function 'test_key'
openssl-3.2.2-build/openssl-3.2.2/test/endecoder_legacy_test.c:519:24: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
Error: CPPCHECK_WARNING (CWE-416): [#def203]
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:465: error[deallocuse]: Dereferencing 'fp' after it is deallocated / released
Error: GCC_ANALYZER_WARNING (CWE-910): [#def204]
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:479:5: warning[-Wanalyzer-double-fclose]: double 'fclose' of FILE 'fp'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:465:13: note: in expansion of macro 'TEST_int_eq'
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:465:13: note: in expansion of macro 'TEST_int_eq'
Error: GCC_ANALYZER_WARNING (CWE-415): [#def205]
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:479:5: warning[-Wanalyzer-double-free]: double-'fclose' of 'fp'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:465:13: note: in expansion of macro 'TEST_int_eq'
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:465:13: note: in expansion of macro 'TEST_int_eq'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def206]
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c: scope_hint: In function 'test_ec_d2i_i2d_pubkey'
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:479:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'fp' where non-null expected
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:28: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/evp.h:22: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/evp_extra_test2.c:20: included_from: Included from here.
/usr/include/stdio.h:184:12: note: argument 1 of 'fclose' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-121): [#def207]
openssl-3.2.2-build/openssl-3.2.2/test/evp_fetch_prov_test.c: scope_hint: In function 'load_providers'
openssl-3.2.2-build/openssl-3.2.2/test/evp_fetch_prov_test.c:96:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.2.2-build/openssl-3.2.2/test/evp_fetch_prov_test.c:22: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/evp_fetch_prov_test.c:96:17: note: write of 8 bytes to beyond the end of 'prov'
openssl-3.2.2-build/openssl-3.2.2/test/evp_fetch_prov_test.c:96:17: note: valid subscripts for 'prov' are '[0]' to '[1]'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
openssl-3.2.2-build/openssl-3.2.2/test/evp_test.c: scope_hint: In function 'keypair_test_init'
openssl-3.2.2-build/openssl-3.2.2/test/evp_test.c:3144:12: warning[-Wanalyzer-null-dereference]: dereference of NULL 'pub'
openssl-3.2.2-build/openssl-3.2.2/test/evp_test.c:29: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
openssl-3.2.2-build/openssl-3.2.2/test/fake_rsaprov.c:89:26: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.2.2-build/openssl-3.2.2/test/fake_rsaprov.c: scope_hint: In function 'fake_rsa_st_load'
openssl-3.2.2-build/openssl-3.2.2/test/fake_rsaprov.c:16: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/fake_rsaprov.c:631:14: note: in expansion of macro 'TEST_int_gt'
openssl-3.2.2-build/openssl-3.2.2/test/fake_rsaprov.c:631:14: note: in expansion of macro 'TEST_int_gt'
openssl-3.2.2-build/openssl-3.2.2/test/fake_rsaprov.c:631:14: note: in expansion of macro 'TEST_int_gt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def210]
openssl-3.2.2-build/openssl-3.2.2/test/fake_rsaprov.c: scope_hint: In function 'fake_rsa_gen'
openssl-3.2.2-build/openssl-3.2.2/test/fake_rsaprov.c:261:21: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.2.2-build/openssl-3.2.2/test/fake_rsaprov.c:255:13: note: in expansion of macro 'TEST_mem_eq'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def211]
openssl-3.2.2-build/openssl-3.2.2/test/helpers/noisydgrambio.c: scope_hint: In function 'noisy_dgram_recvmmsg'
openssl-3.2.2-build/openssl-3.2.2/test/helpers/noisydgrambio.c:266:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'flip_offset'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def212]
openssl-3.2.2-build/openssl-3.2.2/test/helpers/quictestlib.c: scope_hint: In function 'qtest_create_quic_objects'
openssl-3.2.2-build/openssl-3.2.2/test/helpers/quictestlib.c:250:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'fault'
openssl-3.2.2-build/openssl-3.2.2/test/helpers/quictestlib.c:16: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/helpers/quictestlib.c:227:14: note: in expansion of macro 'TEST_ptr'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
openssl-3.2.2-build/openssl-3.2.2/test/params_test.c: scope_hint: In function 'cleanup_object'
openssl-3.2.2-build/openssl-3.2.2/test/params_test.c:92:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'vobj'
openssl-3.2.2-build/openssl-3.2.2/test/params_test.c:22: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
Error: GCC_ANALYZER_WARNING (CWE-124): [#def214]
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1181:16: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:17: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/include/internal/quic_stream.h:15: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/internal/quic_tserver.h:15: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:14: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/internal/safe_math.h:432:5: note: in expansion of macro 'OSSL_SAFE_MATH_ADDU'
openssl-3.2.2-build/openssl-3.2.2/include/internal/time.h:53:1: note: in expansion of macro 'OSSL_SAFE_MATH_UNSIGNED'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1181:16: note: valid subscripts for 'repeat_stack_done' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-127): [#def215]
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1181:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/include/internal/safe_math.h:432:5: note: in expansion of macro 'OSSL_SAFE_MATH_ADDU'
openssl-3.2.2-build/openssl-3.2.2/include/internal/time.h:53:1: note: in expansion of macro 'OSSL_SAFE_MATH_UNSIGNED'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1181:36: note: valid subscripts for 'repeat_stack_done' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-127): [#def216]
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1182:38: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/include/internal/safe_math.h:432:5: note: in expansion of macro 'OSSL_SAFE_MATH_ADDU'
openssl-3.2.2-build/openssl-3.2.2/include/internal/time.h:53:1: note: in expansion of macro 'OSSL_SAFE_MATH_UNSIGNED'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1182:38: note: valid subscripts for 'repeat_stack_limit' are '[0]' to '[7]'
Error: GCC_ANALYZER_WARNING (CWE-127): [#def217]
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1185:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/include/internal/safe_math.h:432:5: note: in expansion of macro 'OSSL_SAFE_MATH_ADDU'
openssl-3.2.2-build/openssl-3.2.2/include/internal/time.h:53:1: note: in expansion of macro 'OSSL_SAFE_MATH_UNSIGNED'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c: scope_hint: In function 'run_script_worker'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1061:14: note: in expansion of macro 'TEST_int_le'
openssl-3.2.2-build/openssl-3.2.2/test/quic_multistream_test.c:1185:24: note: valid subscripts for 'repeat_stack_idx' are '[0]' to '[7]'
Error: CPPCHECK_WARNING (CWE-758): [#def218]
openssl-3.2.2-build/openssl-3.2.2/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): [#def219]
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c: scope_hint: In function 'test_handshake_rtt'
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:80:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:28: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:31: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:73:9: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:87:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:73:9: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:94:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:73:9: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def222]
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:101:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:73:9: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:108:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1831:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_int'
openssl-3.2.2-build/openssl-3.2.2/test/ssl_handshake_rtt_test.c:73:9: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def224]
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:268:29: warning[-Wanalyzer-null-argument]: use of NULL 'token' where non-null expected
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:525:67: note: in definition of macro 'TEST_false'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:254:18: note: in expansion of macro 'TEST_size_t_eq'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:525:67: note: in definition of macro 'TEST_false'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:525:67: note: in definition of macro 'TEST_false'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:525:67: note: in definition of macro 'TEST_false'
<built-in>: note: argument 1 of '__builtin_strlen' must be non-null
Error: COMPILER_WARNING (CWE-563): [#def225]
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c: scope_hint: In function 'test_client_cert_verify_cb'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:576:25: warning[-Wunused-variable]: unused variable 'status'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c: scope_hint: In function 'execute_cleanse_plaintext'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1778:15: warning[-Wanalyzer-null-dereference]: dereference of NULL 'serversc'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1763:10: note: in expansion of macro 'TEST_int_eq'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1766:10: note: in expansion of macro 'TEST_mem_eq'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/ssl/ssl_local.h:1816:5: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY_int'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:1774:30: note: in expansion of macro 'SSL_CONNECTION_FROM_SSL_ONLY'
Error: CPPCHECK_WARNING (CWE-476): [#def227]
openssl-3.2.2-build/openssl-3.2.2/test/sslbuffertest.c:49: warning[nullPointer]: Possible null pointer dereference: sc
Error: CPPCHECK_WARNING (CWE-476): [#def228]
openssl-3.2.2-build/openssl-3.2.2/test/sslbuffertest.c:50: warning[nullPointer]: Possible null pointer dereference: sc
Error: GCC_ANALYZER_WARNING (CWE-476): [#def229]
openssl-3.2.2-build/openssl-3.2.2/test/params_test.c: scope_hint: In function 'test_case_variant'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:432:31: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.2.2-build/openssl-3.2.2/test/params_test.c:489:14: note: in expansion of macro 'TEST_int_eq'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:524:66: note: in definition of macro 'TEST_true'
openssl-3.2.2-build/openssl-3.2.2/test/params_test.c:489:14: note: in expansion of macro 'TEST_int_eq'
openssl-3.2.2-build/openssl-3.2.2/test/params_test.c:489:14: note: in expansion of macro 'TEST_int_eq'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def230]
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:39: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c: scope_hint: In function 'test_keylog_output'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:488:31: warning[-Wanalyzer-null-argument]: use of NULL 'token' where non-null expected
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:231:18: note: in expansion of macro 'TEST_size_t_eq'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:231:18: note: in expansion of macro 'TEST_size_t_eq'
openssl-3.2.2-build/openssl-3.2.2/test/sslapitest.c:231:18: note: in expansion of macro 'TEST_size_t_eq'
<built-in>: note: argument 1 of '__builtin_strlen' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def231]
openssl-3.2.2-build/openssl-3.2.2/test/testutil/stanza.c: scope_hint: In function 'test_readstanza'
openssl-3.2.2-build/openssl-3.2.2/test/testutil/stanza.c:98:12: warning[-Wanalyzer-null-dereference]: dereference of NULL 'p'
openssl-3.2.2-build/openssl-3.2.2/test/testutil/stanza.c:16: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def232]
openssl-3.2.2-build/openssl-3.2.2/test/testutil/stanza.c:113:19: warning[-Wanalyzer-null-dereference]: dereference of NULL 'equals'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def233]
openssl-3.2.2-build/openssl-3.2.2/test/testutil/stanza.c:121:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil.h:511:64: note: in definition of macro 'TEST_ptr'
openssl-3.2.2-build/openssl-3.2.2/test/testutil/stanza.c:12: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of 'strcmp' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def234]
openssl-3.2.2-build/openssl-3.2.2/test/timing_load_creds.c: scope_hint: In function 'main'
openssl-3.2.2-build/openssl-3.2.2/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.2.2-build/openssl-3.2.2/include/openssl/bio.h:30: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/openssl/pem.h:20: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/test/timing_load_creds.c:18: included_from: Included from here.
openssl-3.2.2-build/openssl-3.2.2/include/openssl/crypto.h:97:23: note: in definition of macro 'OPENSSL_malloc'
openssl-3.2.2-build/openssl-3.2.2/test/timing_load_creds.c:10: included_from: Included from here.
/usr/include/stdio.h:728:15: note: argument 4 of 'fread' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def235]
openssl-3.2.2-build/openssl-3.2.2/test/timing_load_creds.c:152:36: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(*av, "r")'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/crypto.h:97:23: note: in definition of macro 'OPENSSL_malloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
openssl-3.2.2-build/openssl-3.2.2/test/timing_load_creds.c:152:36: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(*av, "r")'
openssl-3.2.2-build/openssl-3.2.2/include/openssl/crypto.h:97:23: note: in definition of macro 'OPENSSL_malloc'
Error: CPPCHECK_WARNING (CWE-457): [#def237]
openssl-3.2.2-build/openssl-3.2.2/test/tls-provider.c:2894: warning[uninitvar]: Uninitialized variable: digest
Error: GCC_ANALYZER_WARNING (CWE-476): [#def238]
openssl-3.2.2-build/openssl-3.2.2/test/tls-provider.c: scope_hint: In function 'tls_provider_init'
openssl-3.2.2-build/openssl-3.2.2/test/tls-provider.c:3259:10: warning[-Wanalyzer-jump-through-null]: jump through null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def239]
openssl-3.2.2-build/openssl-3.2.2/test/tls-provider.c:3264:10: warning[-Wanalyzer-jump-through-null]: jump through null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
openssl-3.2.2-build/openssl-3.2.2/test/tls-provider.c:3268:10: warning[-Wanalyzer-jump-through-null]: jump through null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
openssl-3.2.2-build/openssl-3.2.2/test/tls-provider.c:3273:10: warning[-Wanalyzer-jump-through-null]: jump through null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def242]
openssl-3.2.2-build/openssl-3.2.2/test/tls13secretstest.c: scope_hint: In function 'test_handshake_secrets'
openssl-3.2.2-build/openssl-3.2.2/test/tls13secretstest.c:297:16: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
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-68.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | openssl-3.2.2-8.fc42 |
store-results-to | /tmp/tmpu4prmmc9/openssl-3.2.2-8.fc42.tar.xz |
time-created | 2024-11-13 02:48:24 |
time-finished | 2024-11-13 03:20:59 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpu4prmmc9/openssl-3.2.2-8.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpu4prmmc9/openssl-3.2.2-8.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |