openssl-3.5.4-1.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-404): [#def1]
openssl-3.5.4/apps/lib/apps.c:632:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/apps.c:631:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/apps.c:632:5: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
openssl-3.5.4/apps/lib/apps.c:3136:9: warning[-Wanalyzer-malloc-leak]: leak of 'fp'
openssl-3.5.4/apps/lib/apps.c:3083:6: enter_function: entry to 'bio_open_owner'
openssl-3.5.4/apps/lib/apps.c:3124:8: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/apps.c:3126:10: branch_false: ...to here
openssl-3.5.4/apps/lib/apps.c:3126:10: call_function: calling 'modestr' from 'bio_open_owner'
openssl-3.5.4/apps/lib/apps.c:3126:10: return_function: returning to 'bio_open_owner' from 'modestr'
openssl-3.5.4/apps/lib/apps.c:3126:10: acquire_memory: allocated here
openssl-3.5.4/apps/lib/apps.c:3131:8: branch_false: following 'false' branch (when 'fp' is non-NULL)...
openssl-3.5.4/apps/lib/apps.c:3134:8: branch_false: ...to here
openssl-3.5.4/apps/lib/apps.c:3136:9: danger: 'fp' leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def3]
openssl-3.5.4/apps/lib/apps_opt_printf.c:21:11: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/apps_opt_printf.c:20:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/apps_opt_printf.c:21:11: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def4]
openssl-3.5.4/apps/lib/log.c:47:22: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:71:6: enter_function: entry to 'trace_log_message'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:95:8: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/log.c:106:5: branch_false: ...to here
openssl-3.5.4/apps/lib/log.c:106:5: call_function: calling 'log_with_prefix' from 'trace_log_message'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def5]
openssl-3.5.4/apps/lib/log.c:49:11: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:71:6: enter_function: entry to 'trace_log_message'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:95:8: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/log.c:106:5: branch_false: ...to here
openssl-3.5.4/apps/lib/log.c:106:5: call_function: calling 'log_with_prefix' from 'trace_log_message'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def6]
openssl-3.5.4/apps/lib/log.c:50:11: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:71:6: enter_function: entry to 'trace_log_message'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:95:8: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/log.c:106:5: branch_false: ...to here
openssl-3.5.4/apps/lib/log.c:106:5: call_function: calling 'log_with_prefix' from 'trace_log_message'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def7]
openssl-3.5.4/apps/lib/log.c:51:11: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:71:6: enter_function: entry to 'trace_log_message'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:95:8: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/log.c:106:5: branch_false: ...to here
openssl-3.5.4/apps/lib/log.c:106:5: call_function: calling 'log_with_prefix' from 'trace_log_message'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def8]
openssl-3.5.4/apps/lib/log.c:52:11: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:71:6: enter_function: entry to 'trace_log_message'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:95:8: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/log.c:106:5: branch_false: ...to here
openssl-3.5.4/apps/lib/log.c:106:5: call_function: calling 'log_with_prefix' from 'trace_log_message'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def9]
openssl-3.5.4/apps/lib/log.c:81:26: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:81:8: branch_true: following 'true' branch (when 'category >= 0')...
openssl-3.5.4/apps/lib/log.c:81:26: branch_true: ...to here
openssl-3.5.4/apps/lib/log.c:81:26: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def10]
openssl-3.5.4/apps/lib/log.c:82:20: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:81:8: branch_true: following 'true' branch...
openssl-3.5.4/apps/lib/log.c:82:20: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def11]
openssl-3.5.4/apps/lib/log.c:87:15: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:81:8: branch_true: following 'true' branch...
openssl-3.5.4/apps/lib/log.c:87:15: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def12]
openssl-3.5.4/apps/lib/log.c:92:15: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:81:8: branch_true: following 'true' branch...
openssl-3.5.4/apps/lib/log.c:92:15: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def13]
openssl-3.5.4/apps/lib/log.c:93:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/lib/log.c:75:5: acquire_resource: 'va_start' called here
openssl-3.5.4/apps/lib/log.c:81:8: branch_true: following 'true' branch...
openssl-3.5.4/apps/lib/log.c:93:9: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def14]
openssl-3.5.4/apps/lib/opt.c:219:13: warning[-Wanalyzer-deref-before-check]: check of 'o' for NULL after already dereferencing it
openssl-3.5.4/apps/lib/opt.c:174:12: branch_true: following 'true' branch...
openssl-3.5.4/apps/lib/opt.c:218:13: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/opt.c:219:13: branch_false: ...to here
openssl-3.5.4/apps/lib/opt.c:219:13: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/opt.c:220:13: branch_false: ...to here
openssl-3.5.4/apps/lib/opt.c:221:13: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/opt.c:174:57: branch_false: ...to here
openssl-3.5.4/apps/lib/opt.c:174:12: branch_true: following 'true' branch...
openssl-3.5.4/apps/lib/opt.c:218:13: branch_false: following 'false' branch...
openssl-3.5.4/apps/lib/opt.c:219:13: branch_false: ...to here
openssl-3.5.4/apps/lib/opt.c:219:13: danger: pointer 'o' is checked for NULL here but it was already dereferenced at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def15]
openssl-3.5.4/apps/storeutl.c:341:12: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/apps/storeutl.c:352:12: enter_function: entry to 'process'
openssl-3.5.4/apps/storeutl.c:360:8: branch_false: following 'false' branch...
openssl-3.5.4/apps/storeutl.c:368:8: branch_false: ...to here
openssl-3.5.4/apps/storeutl.c:375:8: branch_false: following 'false' branch (when 'criterion == 0')...
branch_false: ...to here
openssl-3.5.4/apps/storeutl.c:398:12: branch_false: following 'false' branch...
openssl-3.5.4/apps/storeutl.c:422:12: branch_false: ...to here
openssl-3.5.4/apps/storeutl.c:422:12: branch_false: following 'false' branch (when 'type != 1')...
openssl-3.5.4/apps/storeutl.c:430:13: branch_false: ...to here
openssl-3.5.4/apps/storeutl.c:430:13: call_function: calling 'indent_printf' from 'process'
Error: CPPCHECK_WARNING (CWE-562): [#def16]
openssl-3.5.4/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): [#def17]
openssl-3.5.4/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): [#def18]
openssl-3.5.4/crypto/asn1/ameth_lib.c:133:13: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.4/crypto/asn1/ameth_lib.c:106:29: enter_function: entry to 'EVP_PKEY_asn1_find_str'
openssl-3.5.4/crypto/asn1/ameth_lib.c:112:8: branch_false: following 'false' branch (when 'len != -1')...
openssl-3.5.4/crypto/asn1/ameth_lib.c:114:8: branch_false: ...to here
openssl-3.5.4/crypto/asn1/ameth_lib.c:114:8: branch_true: following 'true' branch (when 'pe' is non-NULL)...
openssl-3.5.4/crypto/asn1/ameth_lib.c:117:17: branch_true: ...to here
openssl-3.5.4/crypto/asn1/ameth_lib.c:118:12: branch_false: following 'false' branch...
openssl-3.5.4/crypto/asn1/ameth_lib.c:129:9: branch_false: ...to here
openssl-3.5.4/crypto/asn1/ameth_lib.c:131:14: call_function: calling 'EVP_PKEY_asn1_get_count' from 'EVP_PKEY_asn1_find_str'
openssl-3.5.4/crypto/asn1/ameth_lib.c:131:14: return_function: returning to 'EVP_PKEY_asn1_find_str' from 'EVP_PKEY_asn1_get_count'
openssl-3.5.4/crypto/asn1/ameth_lib.c:131:41: branch_true: following 'true' branch (when 'i > 0')...
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: branch_true: ...to here
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: call_function: calling 'EVP_PKEY_asn1_get0' from 'EVP_PKEY_asn1_find_str'
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: return_function: returning to 'EVP_PKEY_asn1_find_str' from 'EVP_PKEY_asn1_get0'
openssl-3.5.4/crypto/asn1/ameth_lib.c:131:41: branch_true: following 'true' branch (when 'i > 0')...
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: branch_true: ...to here
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: call_function: calling 'EVP_PKEY_asn1_get0' from 'EVP_PKEY_asn1_find_str'
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: return_function: returning to 'EVP_PKEY_asn1_find_str' from 'EVP_PKEY_asn1_get0'
openssl-3.5.4/crypto/asn1/ameth_lib.c:135:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.4/crypto/asn1/ameth_lib.c:131:41: branch_true: following 'true' branch (when 'i > 0')...
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: branch_true: ...to here
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: call_function: calling 'EVP_PKEY_asn1_get0' from 'EVP_PKEY_asn1_find_str'
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: return_function: returning to 'EVP_PKEY_asn1_find_str' from 'EVP_PKEY_asn1_get0'
openssl-3.5.4/crypto/asn1/ameth_lib.c:135:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.4/crypto/asn1/ameth_lib.c:131:41: branch_true: following 'true' branch (when 'i > 0')...
openssl-3.5.4/crypto/asn1/ameth_lib.c:132:17: branch_true: ...to here
openssl-3.5.4/crypto/asn1/ameth_lib.c:133:13: danger: dereference of NULL 'EVP_PKEY_asn1_get0(i)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
openssl-3.5.4/crypto/asn1/asn_mime.c:927:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'mhdr'
openssl-3.5.4/crypto/asn1/asn_mime.c:697:31: enter_function: entry to 'mime_parse_hdr'
openssl-3.5.4/crypto/asn1/asn_mime.c:707:8: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.4/crypto/asn1/asn_mime.c:709:12: branch_true: following 'true' branch...
openssl-3.5.4/crypto/asn1/asn_mime.c:711:12: branch_true: ...to here
openssl-3.5.4/crypto/asn1/asn_mime.c:711:12: branch_false: following 'false' branch (when 'mhdr' is NULL)...
branch_false: ...to here
openssl-3.5.4/crypto/asn1/asn_mime.c:717:40: branch_true: following 'true' branch...
openssl-3.5.4/crypto/asn1/asn_mime.c:727:20: branch_false: following 'false' branch (when 'c != 58')...
openssl-3.5.4/crypto/asn1/asn_mime.c:718:14: branch_false: ...to here
openssl-3.5.4/crypto/asn1/asn_mime.c:717:40: branch_true: following 'true' branch...
openssl-3.5.4/crypto/asn1/asn_mime.c:717:40: branch_true: following 'true' branch...
openssl-3.5.4/crypto/asn1/asn_mime.c:771:20: branch_true: following 'true' branch (when 'c == 59')...
openssl-3.5.4/crypto/asn1/asn_mime.c:773:21: branch_true: ...to here
openssl-3.5.4/crypto/asn1/asn_mime.c:774:51: call_function: calling 'strip_ends' from 'mime_parse_hdr'
openssl-3.5.4/crypto/asn1/asn_mime.c:774:51: return_function: returning to 'mime_parse_hdr' from 'strip_ends'
openssl-3.5.4/crypto/asn1/asn_mime.c:774:21: call_function: calling 'mime_hdr_addparam' from 'mime_parse_hdr'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
openssl-3.5.4/crypto/asn1/tasn_dec.c:261:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'aux'
openssl-3.5.4/crypto/asn1/tasn_dec.c:568:12: enter_function: entry to 'asn1_template_noexp_d2i'
openssl-3.5.4/crypto/asn1/tasn_dec.c:578:8: branch_false: following 'false' branch (when 'val' is non-NULL)...
openssl-3.5.4/crypto/asn1/tasn_dec.c:580:13: branch_false: ...to here
openssl-3.5.4/crypto/asn1/tasn_dec.c:594:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/asn1/tasn_dec.c:670:16: branch_false: ...to here
openssl-3.5.4/crypto/asn1/tasn_dec.c:670:15: branch_true: following 'true' branch...
openssl-3.5.4/crypto/asn1/tasn_dec.c:673:60: branch_true: ...to here
openssl-3.5.4/crypto/asn1/tasn_dec.c:672:15: call_function: calling 'asn1_item_embed_d2i' from 'asn1_template_noexp_d2i'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
openssl-3.5.4/crypto/bio/bio_lib.c:66:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'processed'
openssl-3.5.4/crypto/bio/bio_lib.c:441:5: enter_function: entry to 'BIO_recvmmsg'
openssl-3.5.4/crypto/bio/bio_lib.c:448:8: branch_false: following 'false' branch (when 'b' is non-NULL)...
openssl-3.5.4/crypto/bio/bio_lib.c:454:9: branch_false: ...to here
openssl-3.5.4/crypto/bio/bio_lib.c:454:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/bio/bio_lib.c:473:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/bio/bio_lib.c:479:11: branch_false: ...to here
openssl-3.5.4/crypto/bio/bio_lib.c:482:23: call_function: calling 'bio_call_callback' from 'BIO_recvmmsg'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
openssl-3.5.4/crypto/bio/bio_lib.c:74:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'processed'
openssl-3.5.4/crypto/bio/bio_lib.c:441:5: enter_function: entry to 'BIO_recvmmsg'
openssl-3.5.4/crypto/bio/bio_lib.c:448:8: branch_false: following 'false' branch (when 'b' is non-NULL)...
openssl-3.5.4/crypto/bio/bio_lib.c:454:9: branch_false: ...to here
openssl-3.5.4/crypto/bio/bio_lib.c:454:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/bio/bio_lib.c:473:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/bio/bio_lib.c:479:11: branch_false: ...to here
openssl-3.5.4/crypto/bio/bio_lib.c:482:23: call_function: calling 'bio_call_callback' from 'BIO_recvmmsg'
Error: GCC_ANALYZER_WARNING (CWE-465): [#def23]
openssl-3.5.4/crypto/bn/bn_blind.c:106:12: warning[-Wanalyzer-deref-before-check]: check of 'b' for NULL after already dereferencing it
openssl-3.5.4/crypto/bn/bn_blind.c:91:5: enter_function: entry to 'BN_BLINDING_update'
openssl-3.5.4/crypto/bn/bn_blind.c:95:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/bn/bn_blind.c:103:8: branch_true: following 'true' branch...
openssl-3.5.4/crypto/bn/bn_blind.c:106:14: call_function: calling 'BN_BLINDING_create_param' from 'BN_BLINDING_update'
openssl-3.5.4/crypto/bn/bn_blind.c:106:14: return_function: returning to 'BN_BLINDING_update' from 'BN_BLINDING_create_param'
openssl-3.5.4/crypto/bn/bn_blind.c:106:12: danger: pointer 'b' is checked for NULL here but it was already dereferenced at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: CPPCHECK_WARNING (CWE-758): [#def24]
openssl-3.5.4/crypto/bn/bn_lib.c:45: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def25]
openssl-3.5.4/crypto/bn/bn_lib.c:51: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def26]
openssl-3.5.4/crypto/bn/bn_lib.c:57: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def27]
openssl-3.5.4/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): [#def28]
openssl-3.5.4/crypto/bn/bn_lib.c:802:12: warning[-Wanalyzer-deref-before-check]: check of 'a' for NULL after already dereferencing it
openssl-3.5.4/crypto/bn/bn_lib.c:792:5: enter_function: entry to 'BN_set_bit'
openssl-3.5.4/crypto/bn/bn_lib.c:796:8: branch_false: following 'false' branch (when 'n >= 0')...
openssl-3.5.4/crypto/bn/bn_lib.c:799:5: branch_false: ...to here
openssl-3.5.4/crypto/bn/bn_lib.c:801:8: branch_true: following 'true' branch...
openssl-3.5.4/crypto/bn/bn_lib.c:802:13: branch_true: ...to here
openssl-3.5.4/crypto/bn/bn_lib.c:802:13: call_function: calling 'bn_wexpand' from 'BN_set_bit'
openssl-3.5.4/crypto/bn/bn_lib.c:802:13: return_function: returning to 'BN_set_bit' from 'bn_wexpand'
openssl-3.5.4/crypto/bn/bn_lib.c:802:12: danger: pointer 'a' is checked for NULL here but it was already dereferenced at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-786): [#def29]
openssl-3.5.4/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): [#def30]
openssl-3.5.4/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): [#def31]
openssl-3.5.4/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): [#def32]
openssl-3.5.4/crypto/cast/c_skey.c:122:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'k[<unknown>]'
openssl-3.5.4/crypto/cast/c_skey.c:41:17: branch_true: following 'true' branch (when 'i != 16')...
openssl-3.5.4/crypto/cast/c_skey.c:42:9: branch_true: ...to here
openssl-3.5.4/crypto/cast/c_skey.c:45:17: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cast/c_skey.c:47:8: branch_false: ...to here
openssl-3.5.4/crypto/cast/c_skey.c:47:8: branch_true: following 'true' branch...
openssl-3.5.4/crypto/cast/c_skey.c:53:14: branch_true: ...to here
openssl-3.5.4/crypto/cast/c_skey.c:115:12: branch_true: following 'true' branch...
branch_true: ...to here
openssl-3.5.4/crypto/cast/c_skey.c:120:17: branch_true: following 'true' branch (when 'i != 16')...
openssl-3.5.4/crypto/cast/c_skey.c:121:19: branch_true: ...to here
openssl-3.5.4/crypto/cast/c_skey.c:122:33: danger: use of uninitialized value 'k[<unknown>]' here
Error: GCC_ANALYZER_WARNING (CWE-404): [#def33]
openssl-3.5.4/crypto/cmp/cmp_ctx.c:384:13: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/cmp/cmp_ctx.c:350:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cmp/cmp_ctx.c:353:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cmp/cmp_ctx.c:356:8: branch_false: ...to here
openssl-3.5.4/crypto/cmp/cmp_ctx.c:356:8: branch_false: following 'false' branch (when 'format' is non-NULL)...
openssl-3.5.4/crypto/cmp/cmp_ctx.c:359:5: branch_false: ...to here
openssl-3.5.4/crypto/cmp/cmp_ctx.c:359:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/cmp/cmp_ctx.c:384:13: danger: missing call to 'va_end' to match 'va_start' at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
openssl-3.5.4/crypto/cms/cms_env.c:555:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.4/crypto/cms/cms_env.c:1044:5: enter_function: entry to 'CMS_RecipientInfo_encrypt'
openssl-3.5.4/crypto/cms/cms_env.c:1048:16: call_function: calling 'cms_RecipientInfo_ktri_encrypt' from 'CMS_RecipientInfo_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
openssl-3.5.4/crypto/cms/cms_env.c:604:21: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.4/crypto/cms/cms_env.c:579:12: enter_function: entry to 'cms_RecipientInfo_ktri_decrypt'
openssl-3.5.4/crypto/cms/cms_env.c:595:10: call_function: calling 'ossl_cms_get0_env_enc_content' from 'cms_RecipientInfo_ktri_decrypt'
openssl-3.5.4/crypto/cms/cms_env.c:595:10: return_function: returning to 'cms_RecipientInfo_ktri_decrypt' from 'ossl_cms_get0_env_enc_content'
openssl-3.5.4/crypto/cms/cms_env.c:597:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cms/cms_env.c:602:9: branch_false: ...to here
openssl-3.5.4/crypto/cms/cms_env.c:602:8: branch_true: following 'true' branch...
openssl-3.5.4/crypto/cms/cms_env.c:603:17: branch_true: ...to here
openssl-3.5.4/crypto/cms/cms_env.c:602:9: branch_true: following 'true' branch...
openssl-3.5.4/crypto/cms/cms_env.c:604:21: branch_true: ...to here
openssl-3.5.4/crypto/cms/cms_env.c:604:21: danger: dereference of NULL 'ossl_cms_get0_env_enc_content(cms)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
openssl-3.5.4/crypto/cms/cms_ess.c:221:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 'si'
openssl-3.5.4/crypto/cms/cms_ess.c:254:5: enter_function: entry to 'ossl_cms_Receipt_verify'
openssl-3.5.4/crypto/cms/cms_ess.c:269:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cms/cms_ess.c:272:9: branch_false: ...to here
openssl-3.5.4/crypto/cms/cms_ess.c:272:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cms/cms_ess.c:278:9: branch_false: ...to here
openssl-3.5.4/crypto/cms/cms_ess.c:278:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cms/cms_ess.c:284:13: branch_false: ...to here
openssl-3.5.4/crypto/cms/cms_ess.c:285:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cms/cms_ess.c:292:8: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.4/crypto/cms/cms_ess.c:299:17: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cms/cms_ess.c:305:14: branch_false: ...to here
openssl-3.5.4/crypto/cms/cms_ess.c:305:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cms/cms_ess.c:310:10: branch_false: ...to here
openssl-3.5.4/crypto/cms/cms_ess.c:319:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/cms/cms_ess.c:324:10: branch_false: ...to here
openssl-3.5.4/crypto/cms/cms_ess.c:324:10: call_function: calling 'cms_msgSigDigest' from 'ossl_cms_Receipt_verify'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
openssl-3.5.4/crypto/conf/conf_sap.c:40:5: warning[-Wanalyzer-malloc-leak]: leak of 'settings.appname'
openssl-3.5.4/crypto/conf/conf_sap.c:37:8: branch_true: following 'true' branch (when 'appname' is non-NULL)...
openssl-3.5.4/crypto/conf/conf_sap.c:38:28: branch_true: ...to here
openssl-3.5.4/crypto/conf/conf_sap.c:38:28: acquire_memory: allocated here
openssl-3.5.4/crypto/conf/conf_sap.c:40:5: danger: 'settings.appname' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def38]
openssl-3.5.4/crypto/context.c:10:9: warning: '_GNU_SOURCE' redefined
<command-line>: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def39]
openssl-3.5.4/crypto/context.c:10:9: warning[warning]: '_GNU_SOURCE' redefined
Error: COMPILER_WARNING (CWE-1164): [#def40]
openssl-3.5.4/crypto/context.c:33:13: warning[-Wunused-function]: 'read_kernel_fips_flag' defined but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
openssl-3.5.4/crypto/dsa/dsa_sign.c:108:39: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
openssl-3.5.4/crypto/dsa/dsa_sign.c:87:15: branch_false: following 'false' branch...
openssl-3.5.4/crypto/dsa/dsa_sign.c:94:14: branch_false: ...to here
openssl-3.5.4/crypto/dsa/dsa_sign.c:94:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.4/crypto/dsa/dsa_sign.c:98:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/dsa/dsa_sign.c:99:17: branch_false: ...to here
openssl-3.5.4/crypto/dsa/dsa_sign.c:98:9: branch_false: following 'false' branch...
openssl-3.5.4/crypto/dsa/dsa_sign.c:100:17: branch_false: ...to here
openssl-3.5.4/crypto/dsa/dsa_sign.c:98:9: branch_false: following 'false' branch...
openssl-3.5.4/crypto/dsa/dsa_sign.c:106:8: branch_false: ...to here
openssl-3.5.4/crypto/dsa/dsa_sign.c:106:8: branch_true: following 'true' branch (when 'ppout' is non-NULL)...
openssl-3.5.4/crypto/dsa/dsa_sign.c:107:13: branch_true: ...to here
openssl-3.5.4/crypto/dsa/dsa_sign.c:107:12: branch_true: following 'true' branch...
openssl-3.5.4/crypto/dsa/dsa_sign.c:108:39: branch_true: ...to here
openssl-3.5.4/crypto/dsa/dsa_sign.c:108:39: danger: dereference of NULL 'buf'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
openssl-3.5.4/crypto/ec/ec_asn1.c:1280:39: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
openssl-3.5.4/crypto/ec/ec_asn1.c:1259:15: branch_false: following 'false' branch...
openssl-3.5.4/crypto/ec/ec_asn1.c:1266:14: branch_false: ...to here
openssl-3.5.4/crypto/ec/ec_asn1.c:1266:12: branch_false: following 'false' branch...
branch_false: ...to here
openssl-3.5.4/crypto/ec/ec_asn1.c:1270:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/ec/ec_asn1.c:1271:17: branch_false: ...to here
openssl-3.5.4/crypto/ec/ec_asn1.c:1270:9: branch_false: following 'false' branch...
openssl-3.5.4/crypto/ec/ec_asn1.c:1272:17: branch_false: ...to here
openssl-3.5.4/crypto/ec/ec_asn1.c:1270:9: branch_false: following 'false' branch...
openssl-3.5.4/crypto/ec/ec_asn1.c:1278:8: branch_false: ...to here
openssl-3.5.4/crypto/ec/ec_asn1.c:1278:8: branch_true: following 'true' branch (when 'ppout' is non-NULL)...
openssl-3.5.4/crypto/ec/ec_asn1.c:1279:13: branch_true: ...to here
openssl-3.5.4/crypto/ec/ec_asn1.c:1279:12: branch_true: following 'true' branch...
openssl-3.5.4/crypto/ec/ec_asn1.c:1280:39: branch_true: ...to here
openssl-3.5.4/crypto/ec/ec_asn1.c:1280:39: danger: dereference of NULL 'buf'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def43]
openssl-3.5.4/crypto/ec/ecp_nistp384.c:391:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'inx2[1]'
openssl-3.5.4/crypto/ec/ecp_nistp384.c:1038:1: enter_function: entry to 'point_double'
openssl-3.5.4/crypto/ec/ecp_nistp384.c:1048:5: call_function: calling 'felem_square_reduce_ref' from 'point_double'
Error: CPPCHECK_WARNING (CWE-823): [#def44]
openssl-3.5.4/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): [#def45]
openssl-3.5.4/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): [#def46]
openssl-3.5.4/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): [#def47]
openssl-3.5.4/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): [#def48]
openssl-3.5.4/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): [#def49]
openssl-3.5.4/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): [#def50]
openssl-3.5.4/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): [#def51]
openssl-3.5.4/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): [#def52]
openssl-3.5.4/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): [#def53]
openssl-3.5.4/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): [#def54]
openssl-3.5.4/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): [#def55]
openssl-3.5.4/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): [#def56]
openssl-3.5.4/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): [#def57]
openssl-3.5.4/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): [#def58]
openssl-3.5.4/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): [#def59]
openssl-3.5.4/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): [#def60]
openssl-3.5.4/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): [#def61]
openssl-3.5.4/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): [#def62]
openssl-3.5.4/crypto/ec/ecp_nistz256.c:226: error[arrayIndexOutOfBounds]: Array 'ONE[4]' accessed at index 6, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-823): [#def63]
openssl-3.5.4/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): [#def64]
openssl-3.5.4/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): [#def65]
openssl-3.5.4/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): [#def66]
openssl-3.5.4/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): [#def67]
openssl-3.5.4/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): [#def68]
openssl-3.5.4/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): [#def69]
openssl-3.5.4/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): [#def70]
openssl-3.5.4/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): [#def71]
openssl-3.5.4/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): [#def72]
openssl-3.5.4/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): [#def73]
openssl-3.5.4/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): [#def74]
openssl-3.5.4/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): [#def75]
openssl-3.5.4/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): [#def76]
openssl-3.5.4/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): [#def77]
openssl-3.5.4/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): [#def78]
openssl-3.5.4/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): [#def79]
openssl-3.5.4/crypto/encode_decode/decoder_lib.c:1101:14: warning[-Wanalyzer-null-dereference]: dereference of NULL 'decoder'
openssl-3.5.4/crypto/encode_decode/decoder_lib.c:47:5: enter_function: entry to 'OSSL_DECODER_from_bio'
openssl-3.5.4/crypto/encode_decode/decoder_lib.c:54:8: branch_false: following 'false' branch (when 'in' is non-NULL)...
openssl-3.5.4/crypto/encode_decode/decoder_lib.c:59:9: branch_false: ...to here
openssl-3.5.4/crypto/encode_decode/decoder_lib.c:59:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/encode_decode/decoder_lib.c:67:15: branch_false: ...to here
openssl-3.5.4/crypto/encode_decode/decoder_lib.c:69:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/encode_decode/decoder_lib.c:75:5: branch_false: ...to here
openssl-3.5.4/crypto/encode_decode/decoder_lib.c:82:10: call_function: calling 'decoder_process' from 'OSSL_DECODER_from_bio'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def80]
openssl-3.5.4/crypto/err/err.c:677:10: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/err/err.c:812:6: enter_function: entry to 'ERR_add_error_data'
openssl-3.5.4/crypto/err/err.c:815:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/err/err.c:816:5: call_function: calling 'ERR_add_error_vdata' from 'ERR_add_error_data'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def81]
openssl-3.5.4/crypto/err/err.c:680:10: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/err/err.c:812:6: enter_function: entry to 'ERR_add_error_data'
openssl-3.5.4/crypto/err/err.c:815:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/err/err.c:816:5: call_function: calling 'ERR_add_error_vdata' from 'ERR_add_error_data'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def82]
openssl-3.5.4/crypto/err/err.c:683:13: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/err/err.c:812:6: enter_function: entry to 'ERR_add_error_data'
openssl-3.5.4/crypto/err/err.c:815:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/err/err.c:816:5: call_function: calling 'ERR_add_error_vdata' from 'ERR_add_error_data'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def83]
openssl-3.5.4/crypto/err/err.c:688:14: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/err/err.c:812:6: enter_function: entry to 'ERR_add_error_data'
openssl-3.5.4/crypto/err/err.c:815:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/err/err.c:816:5: call_function: calling 'ERR_add_error_vdata' from 'ERR_add_error_data'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def84]
openssl-3.5.4/crypto/err/err.c:691:17: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/err/err.c:812:6: enter_function: entry to 'ERR_add_error_data'
openssl-3.5.4/crypto/err/err.c:815:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/err/err.c:816:5: call_function: calling 'ERR_add_error_vdata' from 'ERR_add_error_data'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def85]
openssl-3.5.4/crypto/err/err.c:693:13: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/err/err.c:812:6: enter_function: entry to 'ERR_add_error_data'
openssl-3.5.4/crypto/err/err.c:815:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/err/err.c:816:5: call_function: calling 'ERR_add_error_vdata' from 'ERR_add_error_data'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def86]
openssl-3.5.4/crypto/err/err.c:697:14: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/err/err.c:812:6: enter_function: entry to 'ERR_add_error_data'
openssl-3.5.4/crypto/err/err.c:815:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/err/err.c:816:5: call_function: calling 'ERR_add_error_vdata' from 'ERR_add_error_data'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def87]
openssl-3.5.4/crypto/err/err.c:698:21: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/err/err.c:812:6: enter_function: entry to 'ERR_add_error_data'
openssl-3.5.4/crypto/err/err.c:815:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/err/err.c:816:5: call_function: calling 'ERR_add_error_vdata' from 'ERR_add_error_data'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def88]
openssl-3.5.4/crypto/err/err_blocks.c:57:10: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/err/err_blocks.c:40:6: enter_function: entry to 'ERR_set_error'
openssl-3.5.4/crypto/err/err_blocks.c:44:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/err/err_blocks.c:45:5: call_function: calling 'ERR_vset_error' from 'ERR_set_error'
Error: GCC_ANALYZER_WARNING (CWE-835): [#def89]
openssl-3.5.4/crypto/evp/bio_ok.c:361:16: warning[-Wanalyzer-infinite-loop]: infinite loop
openssl-3.5.4/crypto/evp/bio_ok.c:361:16: danger: infinite loop here
openssl-3.5.4/crypto/evp/bio_ok.c:361:16: branch_true: if it ever follows 'true' branch, it will always do so...
branch_true: ...to here
Error: CPPCHECK_WARNING (CWE-562): [#def90]
openssl-3.5.4/crypto/evp/ctrl_params_translate.c:1166: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-457): [#def91]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:184: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def92]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:208:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:778:12: enter_function: entry to 'aesni_cbc_hmac_sha1_ctrl'
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:904:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def93]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:208:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:778:12: enter_function: entry to 'aesni_cbc_hmac_sha1_ctrl'
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:904:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def94]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:209:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:778:12: enter_function: entry to 'aesni_cbc_hmac_sha1_ctrl'
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:904:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def95]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:211:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:778:12: enter_function: entry to 'aesni_cbc_hmac_sha1_ctrl'
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha1.c:904:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_ctrl'
Error: CPPCHECK_WARNING (CWE-758): [#def96]
openssl-3.5.4/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): [#def97]
openssl-3.5.4/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): [#def98]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:178: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def99]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:203:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:748:12: enter_function: entry to 'aesni_cbc_hmac_sha256_ctrl'
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:881:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def100]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:203:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:748:12: enter_function: entry to 'aesni_cbc_hmac_sha256_ctrl'
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:881:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def101]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:204:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:748:12: enter_function: entry to 'aesni_cbc_hmac_sha256_ctrl'
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:881:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def102]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:206:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:748:12: enter_function: entry to 'aesni_cbc_hmac_sha256_ctrl'
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:881:25: call_function: calling 'tls1_1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_ctrl'
Error: CPPCHECK_WARNING (CWE-758): [#def103]
openssl-3.5.4/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): [#def104]
openssl-3.5.4/crypto/evp/e_aes_cbc_hmac_sha256.c:716: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-190): [#def105]
openssl-3.5.4/crypto/evp/evp_enc.c:31: error[integerOverflow]: Signed integer underflow for expression '(~((int)1<<(sizeof(int)*8-1)))-b'.
Error: CPPCHECK_WARNING (CWE-758): [#def106]
openssl-3.5.4/crypto/evp/evp_enc.c:31: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-404): [#def107]
openssl-3.5.4/crypto/evp/evp_lib.c:1211:25: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/evp/evp_lib.c:1222:11: enter_function: entry to 'EVP_PKEY_Q_keygen'
openssl-3.5.4/crypto/evp/evp_lib.c:1231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/evp/evp_lib.c:1233:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1236:16: branch_false: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1236:15: branch_false: following 'false' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1242:11: branch_false: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1242:11: call_function: calling 'evp_pkey_keygen' from 'EVP_PKEY_Q_keygen'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def108]
openssl-3.5.4/crypto/evp/evp_lib.c:1214:16: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/evp/evp_lib.c:1222:11: enter_function: entry to 'EVP_PKEY_Q_keygen'
openssl-3.5.4/crypto/evp/evp_lib.c:1231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/evp/evp_lib.c:1233:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1236:16: branch_false: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1236:15: branch_false: following 'false' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1242:11: branch_false: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1242:11: call_function: calling 'evp_pkey_keygen' from 'EVP_PKEY_Q_keygen'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def109]
openssl-3.5.4/crypto/evp/evp_lib.c:1215:16: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/evp/evp_lib.c:1222:11: enter_function: entry to 'EVP_PKEY_Q_keygen'
openssl-3.5.4/crypto/evp/evp_lib.c:1231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/evp/evp_lib.c:1233:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1236:16: branch_false: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1236:15: branch_false: following 'false' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1242:11: branch_false: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1242:11: call_function: calling 'evp_pkey_keygen' from 'EVP_PKEY_Q_keygen'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def110]
openssl-3.5.4/crypto/evp/evp_lib.c:1216:15: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/evp/evp_lib.c:1222:11: enter_function: entry to 'EVP_PKEY_Q_keygen'
openssl-3.5.4/crypto/evp/evp_lib.c:1231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/evp/evp_lib.c:1242:11: call_function: calling 'evp_pkey_keygen' from 'EVP_PKEY_Q_keygen'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def111]
openssl-3.5.4/crypto/evp/evp_lib.c:1218:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/evp/evp_lib.c:1222:11: enter_function: entry to 'EVP_PKEY_Q_keygen'
openssl-3.5.4/crypto/evp/evp_lib.c:1231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/evp/evp_lib.c:1242:11: call_function: calling 'evp_pkey_keygen' from 'EVP_PKEY_Q_keygen'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def112]
openssl-3.5.4/crypto/evp/evp_lib.c:1233:9: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/evp/evp_lib.c:1231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/evp/evp_lib.c:1233:9: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def113]
openssl-3.5.4/crypto/evp/evp_lib.c:1235:21: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/evp/evp_lib.c:1231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/evp/evp_lib.c:1233:8: branch_true: following 'true' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1234:16: branch_true: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1235:21: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def114]
openssl-3.5.4/crypto/evp/evp_lib.c:1236:16: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/evp/evp_lib.c:1231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/evp/evp_lib.c:1233:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1236:16: branch_false: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1236:16: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def115]
openssl-3.5.4/crypto/evp/evp_lib.c:1238:21: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/evp/evp_lib.c:1231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/evp/evp_lib.c:1233:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1236:16: branch_false: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1236:15: branch_true: following 'true' branch...
openssl-3.5.4/crypto/evp/evp_lib.c:1237:9: branch_true: ...to here
openssl-3.5.4/crypto/evp/evp_lib.c:1238:21: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:24:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'skeymgmt'
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:20:7: enter_function: entry to 'evp_skeymgmt_generate'
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:22:21: call_function: calling 'EVP_SKEYMGMT_get0_provider' from 'evp_skeymgmt_generate'
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:22:21: return_function: returning to 'evp_skeymgmt_generate' from 'EVP_SKEYMGMT_get0_provider'
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:24:13: danger: dereference of NULL 'skeymgmt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:32:12: warning[-Wanalyzer-null-dereference]: dereference of NULL 'skeymgmt'
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:27:7: enter_function: entry to 'evp_skeymgmt_import'
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:29:21: call_function: calling 'EVP_SKEYMGMT_get0_provider' from 'evp_skeymgmt_import'
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:29:21: return_function: returning to 'evp_skeymgmt_import' from 'EVP_SKEYMGMT_get0_provider'
openssl-3.5.4/crypto/evp/skeymgmt_meth.c:32:12: danger: dereference of NULL 'skeymgmt'
Error: CPPCHECK_WARNING (CWE-758): [#def118]
openssl-3.5.4/crypto/ml_dsa/ml_dsa_key_compress.c:72: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def119]
openssl-3.5.4/crypto/ml_dsa/ml_dsa_key_compress.c:92: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def120]
openssl-3.5.4/crypto/modes/xts128.c:74: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def121]
openssl-3.5.4/crypto/modes/xts128.c:113: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
openssl-3.5.4/crypto/param_build.c:340:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'p'
openssl-3.5.4/crypto/param_build.c:361:13: enter_function: entry to 'OSSL_PARAM_BLD_to_param'
openssl-3.5.4/crypto/param_build.c:370:8: branch_false: following 'false' branch (when 'ss == 0')...
openssl-3.5.4/crypto/param_build.c:377:14: branch_false: ...to here
openssl-3.5.4/crypto/param_build.c:378:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/param_build.c:382:18: branch_false: ...to here
openssl-3.5.4/crypto/param_build.c:383:12: call_function: calling 'param_bld_convert' from 'OSSL_PARAM_BLD_to_param'
Error: CPPCHECK_WARNING (CWE-190): [#def123]
openssl-3.5.4/crypto/params.c:1273: error[floatConversionOverflow]: Undefined behaviour: float (4.29497e+09) to integer conversion overflow.
Error: CPPCHECK_WARNING (CWE-190): [#def124]
openssl-3.5.4/crypto/params.c:1281: error[floatConversionOverflow]: Undefined behaviour: float (1.84467e+19) to integer conversion overflow.
Error: CPPCHECK_WARNING (CWE-457): [#def125]
openssl-3.5.4/crypto/slh_dsa/slh_dsa.c:85: error[uninitvar]: Uninitialized variable: m_digest
Error: CPPCHECK_WARNING (CWE-457): [#def126]
openssl-3.5.4/crypto/slh_dsa/slh_dsa.c:283: warning[uninitvar]: Uninitialized variable: m
Error: CPPCHECK_WARNING (CWE-758): [#def127]
openssl-3.5.4/crypto/stack/stack.c:18: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-404): [#def128]
openssl-3.5.4/crypto/store/store_lib.c:271:33: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/store/store_lib.c:248:5: enter_function: entry to 'OSSL_STORE_ctrl'
openssl-3.5.4/crypto/store/store_lib.c:253:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/store/store_lib.c:254:11: call_function: calling 'OSSL_STORE_vctrl' from 'OSSL_STORE_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def129]
openssl-3.5.4/crypto/store/store_lib.c:278:20: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/store/store_lib.c:248:5: enter_function: entry to 'OSSL_STORE_ctrl'
openssl-3.5.4/crypto/store/store_lib.c:253:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/store/store_lib.c:254:11: call_function: calling 'OSSL_STORE_vctrl' from 'OSSL_STORE_ctrl'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def130]
openssl-3.5.4/crypto/store/store_lib.c:282:16: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/crypto/store/store_lib.c:248:5: enter_function: entry to 'OSSL_STORE_ctrl'
openssl-3.5.4/crypto/store/store_lib.c:253:5: acquire_resource: 'va_start' called here
openssl-3.5.4/crypto/store/store_lib.c:254:11: call_function: calling 'OSSL_STORE_vctrl' from 'OSSL_STORE_ctrl'
Error: COMPILER_WARNING: [#def131]
openssl-3.5.4/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: [#def132]
openssl-3.5.4/crypto/thread/arch/thread_posix.c:13:10: warning[warning]: '_GNU_SOURCE' redefined
Error: CPPCHECK_WARNING (CWE-758): [#def133]
openssl-3.5.4/crypto/x509/v3_ncons.c:25: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-688): [#def134]
openssl-3.5.4/crypto/x509/x509_vfy.c:3007:13: warning[-Wanalyzer-null-argument]: use of NULL 'cmpbuf' where non-null expected
openssl-3.5.4/crypto/x509/x509_vfy.c:2945:17: branch_true: following 'true' branch (when 'i < recnum')...
openssl-3.5.4/crypto/x509/x509_vfy.c:2946:37: branch_true: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2947:12: branch_false: following 'false' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:2949:13: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2949:12: branch_false: following 'false' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:2956:13: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2956:12: branch_false: following 'false' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:2968:20: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2986:12: branch_true: following 'true' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:2987:32: branch_true: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2992:16: branch_false: following 'false' branch (when 'md' is NULL)...
openssl-3.5.4/crypto/x509/x509_vfy.c:3006:13: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:3006:12: branch_true: following 'true' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:3007:28: branch_true: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:3007:13: danger: argument 1 ('cmpbuf') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def135]
openssl-3.5.4/crypto/x509/x509_vfy.c:3008:17: warning[-Wanalyzer-shift-count-overflow]: shift by count ('256') >= precision of type ('32')
openssl-3.5.4/crypto/x509/x509_vfy.c:2945:17: branch_true: following 'true' branch (when 'i < recnum')...
openssl-3.5.4/crypto/x509/x509_vfy.c:2946:37: branch_true: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2947:12: branch_false: following 'false' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:2949:13: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2949:12: branch_false: following 'false' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:2956:13: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2956:12: branch_false: following 'false' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:2968:20: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2986:12: branch_true: following 'true' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:2987:32: branch_true: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2992:16: branch_true: following 'true' branch (when 'md' is non-NULL)...
openssl-3.5.4/crypto/x509/x509_vfy.c:2994:22: branch_true: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:2994:20: branch_false: following 'false' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:3006:13: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:3006:12: branch_true: following 'true' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:3007:28: branch_true: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:3006:13: branch_true: following 'true' branch...
openssl-3.5.4/crypto/x509/x509_vfy.c:3008:17: branch_true: ...to here
openssl-3.5.4/crypto/x509/x509_vfy.c:3008:17: danger: shift by count '256' here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
openssl-3.5.4/crypto/x509/x509name.c:41:16: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.4/crypto/x509/x509name.c:30:5: enter_function: entry to 'X509_NAME_get_text_by_OBJ'
openssl-3.5.4/crypto/x509/x509name.c:37:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/x509/x509name.c:39:37: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509name.c:39:12: call_function: calling 'X509_NAME_ENTRY_get_data' from 'X509_NAME_get_text_by_OBJ'
openssl-3.5.4/crypto/x509/x509name.c:39:12: return_function: returning to 'X509_NAME_get_text_by_OBJ' from 'X509_NAME_ENTRY_get_data'
openssl-3.5.4/crypto/x509/x509name.c:40:8: branch_true: following 'true' branch (when 'buf' is NULL)...
openssl-3.5.4/crypto/x509/x509name.c:41:16: branch_true: ...to here
openssl-3.5.4/crypto/x509/x509name.c:41:16: danger: dereference of NULL 'X509_NAME_ENTRY_get_data(X509_NAME_get_entry(name, X509_NAME_get_index_by_OBJ(name, obj, -1)))'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
openssl-3.5.4/crypto/x509/x509name.c:44:10: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.4/crypto/x509/x509name.c:30:5: enter_function: entry to 'X509_NAME_get_text_by_OBJ'
openssl-3.5.4/crypto/x509/x509name.c:37:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/x509/x509name.c:39:37: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509name.c:39:12: call_function: calling 'X509_NAME_ENTRY_get_data' from 'X509_NAME_get_text_by_OBJ'
openssl-3.5.4/crypto/x509/x509name.c:39:12: return_function: returning to 'X509_NAME_get_text_by_OBJ' from 'X509_NAME_ENTRY_get_data'
openssl-3.5.4/crypto/x509/x509name.c:40:8: branch_false: following 'false' branch (when 'buf' is non-NULL)...
openssl-3.5.4/crypto/x509/x509name.c:42:8: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509name.c:42:8: branch_false: following 'false' branch (when 'len > 0')...
openssl-3.5.4/crypto/x509/x509name.c:44:10: branch_false: ...to here
openssl-3.5.4/crypto/x509/x509name.c:44:10: danger: dereference of NULL 'X509_NAME_ENTRY_get_data(X509_NAME_get_entry(name, X509_NAME_get_index_by_OBJ(name, obj, -1)))'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def138]
openssl-3.5.4/engines/e_afalg.c:886:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'sock'
openssl-3.5.4/engines/e_afalg.c:847:12: enter_function: entry to 'afalg_chk_platform'
openssl-3.5.4/engines/e_afalg.c:857:8: branch_false: following 'false' branch (when 'ret == 0')...
openssl-3.5.4/engines/e_afalg.c:863:11: branch_false: ...to here
openssl-3.5.4/engines/e_afalg.c:864:17: branch_true: following 'true' branch...
openssl-3.5.4/engines/e_afalg.c:865:19: call_function: inlined call to 'atoi' from 'afalg_chk_platform'
openssl-3.5.4/engines/e_afalg.c:864:17: branch_false: following 'false' branch...
openssl-3.5.4/engines/e_afalg.c:869:9: branch_false: ...to here
openssl-3.5.4/engines/e_afalg.c:869:8: branch_false: following 'false' branch...
openssl-3.5.4/engines/e_afalg.c:881:12: branch_false: ...to here
openssl-3.5.4/engines/e_afalg.c:881:12: acquire_resource: socket created here
openssl-3.5.4/engines/e_afalg.c:882:8: branch_false: following 'false' branch (when 'sock != -1')...
openssl-3.5.4/engines/e_afalg.c:886:5: branch_false: ...to here
openssl-3.5.4/engines/e_afalg.c:886:5: danger: 'sock' leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
openssl-3.5.4/include/internal/ktls.h:416:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cmsg'
openssl-3.5.4/crypto/bio/bss_conn.c:366:12: enter_function: entry to 'conn_read'
openssl-3.5.4/crypto/bio/bss_conn.c:372:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/bio/bss_conn.c:378:9: branch_false: ...to here
openssl-3.5.4/crypto/bio/bss_conn.c:378:8: branch_false: following 'false' branch...
openssl-3.5.4/crypto/bio/bss_conn.c:385:8: branch_false: ...to here
openssl-3.5.4/crypto/bio/bss_conn.c:385:8: branch_true: following 'true' branch (when 'out' is non-NULL)...
openssl-3.5.4/crypto/bio/bss_conn.c:386:9: branch_true: ...to here
openssl-3.5.4/crypto/bio/bss_conn.c:388:12: branch_true: following 'true' branch...
openssl-3.5.4/crypto/bio/bss_conn.c:389:19: branch_true: ...to here
openssl-3.5.4/crypto/bio/bss_conn.c:389:19: call_function: calling 'ktls_read_record' from 'conn_read'
Error: CPPCHECK_WARNING (CWE-457): [#def140]
openssl-3.5.4/include/openssl/asn1.h:234: warning[uninitvar]: Uninitialized variables: ptr.minsize, ptr.maxsize, ptr.mask, ptr.flags
Error: CPPCHECK_WARNING (CWE-457): [#def141]
openssl-3.5.4/include/openssl/comp.h:66: warning[uninitvar]: Uninitialized variables: ptr.name, ptr.method
Error: CPPCHECK_WARNING (CWE-457): [#def142]
openssl-3.5.4/include/openssl/conf.h:70: warning[uninitvar]: Uninitialized variable: ptr.value
Error: CPPCHECK_WARNING (CWE-457): [#def143]
openssl-3.5.4/include/openssl/err.h:374: warning[uninitvar]: Uninitialized variable: ptr.string
Error: CPPCHECK_WARNING (CWE-457): [#def144]
openssl-3.5.4/include/openssl/x509.h:104: warning[uninitvar]: Uninitialized variables: ptr.revocationDate, ptr.extensions, ptr.issuer, ptr.reason, ptr.sequence
Error: CPPCHECK_WARNING (CWE-457): [#def145]
openssl-3.5.4/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): [#def146]
openssl-3.5.4/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): [#def147]
openssl-3.5.4/include/openssl/x509v3.h:716: warning[uninitvar]: Uninitialized variables: ptr.trust, ptr.flags, ptr.check_purpose, ptr.name, ptr.sname, ptr.usr_data
Error: CPPCHECK_WARNING (CWE-457): [#def148]
openssl-3.5.4/include/openssl/x509v3.h:1065: warning[uninitvar]: Uninitialized variables: ptr.parent, ptr.nchild
Error: GCC_ANALYZER_WARNING (CWE-404): [#def149]
openssl-3.5.4/providers/common/bio_prov.c:145:12: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/common/bio_prov.c:148:5: enter_function: entry to 'ossl_prov_bio_printf'
openssl-3.5.4/providers/common/bio_prov.c:153:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/common/bio_prov.c:154:11: call_function: calling 'ossl_prov_bio_vprintf' from 'ossl_prov_bio_printf'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def150]
openssl-3.5.4/providers/fips/fipsprov.c:1023:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/fips/fipsprov.c:1022:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/fips/fipsprov.c:1023:5: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def151]
openssl-3.5.4/providers/fips/fipsprov.c:1138:11: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/fips/fipsprov.c:1137:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/fips/fipsprov.c:1138:11: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def152]
openssl-3.5.4/providers/fips/self_test_kats.c:170:26: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/fips/self_test_kats.c:216:29: enter_function: entry to 'kat_params_to_ossl_params'
openssl-3.5.4/providers/fips/self_test_kats.c:225:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:227:11: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:228:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/fips/self_test_kats.c:232:12: branch_true: following 'true' branch (when 'pms' is non-NULL)...
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: branch_true: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: call_function: calling 'add_params' from 'kat_params_to_ossl_params'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def153]
openssl-3.5.4/providers/fips/self_test_kats.c:173:21: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/fips/self_test_kats.c:216:29: enter_function: entry to 'kat_params_to_ossl_params'
openssl-3.5.4/providers/fips/self_test_kats.c:225:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:227:11: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:228:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/fips/self_test_kats.c:232:12: branch_true: following 'true' branch (when 'pms' is non-NULL)...
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: branch_true: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: call_function: calling 'add_params' from 'kat_params_to_ossl_params'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def154]
openssl-3.5.4/providers/fips/self_test_kats.c:174:21: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/fips/self_test_kats.c:216:29: enter_function: entry to 'kat_params_to_ossl_params'
openssl-3.5.4/providers/fips/self_test_kats.c:225:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:227:11: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:228:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/fips/self_test_kats.c:232:12: branch_true: following 'true' branch (when 'pms' is non-NULL)...
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: branch_true: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: call_function: calling 'add_params' from 'kat_params_to_ossl_params'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def155]
openssl-3.5.4/providers/fips/self_test_kats.c:179:18: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/fips/self_test_kats.c:216:29: enter_function: entry to 'kat_params_to_ossl_params'
openssl-3.5.4/providers/fips/self_test_kats.c:225:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:227:11: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:228:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/fips/self_test_kats.c:232:12: branch_true: following 'true' branch (when 'pms' is non-NULL)...
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: branch_true: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: call_function: calling 'add_params' from 'kat_params_to_ossl_params'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def156]
openssl-3.5.4/providers/fips/self_test_kats.c:185:18: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/fips/self_test_kats.c:216:29: enter_function: entry to 'kat_params_to_ossl_params'
openssl-3.5.4/providers/fips/self_test_kats.c:225:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:227:11: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:228:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/fips/self_test_kats.c:232:12: branch_true: following 'true' branch (when 'pms' is non-NULL)...
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: branch_true: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: call_function: calling 'add_params' from 'kat_params_to_ossl_params'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def157]
openssl-3.5.4/providers/fips/self_test_kats.c:191:18: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/fips/self_test_kats.c:216:29: enter_function: entry to 'kat_params_to_ossl_params'
openssl-3.5.4/providers/fips/self_test_kats.c:225:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:227:11: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:228:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: branch_false: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:231:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/fips/self_test_kats.c:232:12: branch_true: following 'true' branch (when 'pms' is non-NULL)...
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: branch_true: ...to here
openssl-3.5.4/providers/fips/self_test_kats.c:233:14: call_function: calling 'add_params' from 'kat_params_to_ossl_params'
Error: COMPILER_WARNING (CWE-1164): [#def158]
openssl-3.5.4/providers/fips/self_test_kats.c:943:12: warning[-Wunused-function]: 'self_test_asym_ciphers' defined but not used
Error: CPPCHECK_WARNING (CWE-457): [#def159]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:146: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def160]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:766:12: enter_function: entry to 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:769:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def161]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:170:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:766:12: enter_function: entry to 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:769:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def162]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:171:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:766:12: enter_function: entry to 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:769:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def163]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:173:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:766:12: enter_function: entry to 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c:769:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha1_tls1_multiblock_encrypt'
Error: CPPCHECK_WARNING (CWE-758): [#def164]
openssl-3.5.4/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): [#def165]
openssl-3.5.4/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): [#def166]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:150: error[legacyUninitvar]: Uninitialized variable: blocks[0].c
Error: GCC_ANALYZER_WARNING (CWE-121): [#def167]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:818:12: enter_function: entry to 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:821:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def168]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:174:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:818:12: enter_function: entry to 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:821:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def169]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:175:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:818:12: enter_function: entry to 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:821:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
Error: GCC_ANALYZER_WARNING (CWE-121): [#def170]
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:177:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:818:12: enter_function: entry to 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
openssl-3.5.4/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c:821:17: call_function: calling 'tls1_multi_block_encrypt' from 'aesni_cbc_hmac_sha256_tls1_multiblock_encrypt'
Error: CPPCHECK_WARNING (CWE-758): [#def171]
openssl-3.5.4/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): [#def172]
openssl-3.5.4/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): [#def173]
openssl-3.5.4/providers/implementations/digests/blake2b_prov.c:234:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'm[1]'
openssl-3.5.4/providers/implementations/digests/blake2b_prov.c:185:17: branch_true: following 'true' branch (when 'i != 8')...
openssl-3.5.4/providers/implementations/digests/blake2b_prov.c:186:16: branch_true: ...to here
openssl-3.5.4/providers/implementations/digests/blake2b_prov.c:190:21: branch_true: following 'true' branch (when 'i != 16')...
openssl-3.5.4/providers/implementations/digests/blake2b_prov.c:191:36: branch_true: ...to here
openssl-3.5.4/providers/implementations/digests/blake2b_prov.c:190:21: branch_false: following 'false' branch (when 'i == 16')...
openssl-3.5.4/providers/implementations/digests/blake2b_prov.c:195:9: branch_false: ...to here
openssl-3.5.4/providers/implementations/digests/blake2b_prov.c:234:9: danger: use of uninitialized value 'm[1]' here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def174]
openssl-3.5.4/providers/implementations/digests/blake2s_prov.c:224:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'm[1]'
openssl-3.5.4/providers/implementations/digests/blake2s_prov.c:175:17: branch_true: following 'true' branch (when 'i != 8')...
openssl-3.5.4/providers/implementations/digests/blake2s_prov.c:176:16: branch_true: ...to here
openssl-3.5.4/providers/implementations/digests/blake2s_prov.c:180:21: branch_true: following 'true' branch (when 'i != 16')...
openssl-3.5.4/providers/implementations/digests/blake2s_prov.c:181:36: branch_true: ...to here
openssl-3.5.4/providers/implementations/digests/blake2s_prov.c:180:21: branch_false: following 'false' branch (when 'i == 16')...
openssl-3.5.4/providers/implementations/digests/blake2s_prov.c:185:9: branch_false: ...to here
openssl-3.5.4/providers/implementations/digests/blake2s_prov.c:224:9: danger: use of uninitialized value 'm[1]' here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def175]
openssl-3.5.4/providers/implementations/kdfs/argon2.c:884:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '&outbuf'
openssl-3.5.4/providers/implementations/kdfs/argon2.c:861:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/implementations/kdfs/argon2.c:865:5: branch_false: ...to here
openssl-3.5.4/providers/implementations/kdfs/argon2.c:867:8: branch_false: following 'false' branch...
openssl-3.5.4/providers/implementations/kdfs/argon2.c:870:17: branch_false: ...to here
openssl-3.5.4/providers/implementations/kdfs/argon2.c:874:11: branch_true: following 'true' branch...
openssl-3.5.4/providers/implementations/kdfs/argon2.c:875:12: branch_true: ...to here
openssl-3.5.4/providers/implementations/kdfs/argon2.c:874:11: branch_true: following 'true' branch...
openssl-3.5.4/providers/implementations/kdfs/argon2.c:876:12: branch_true: ...to here
openssl-3.5.4/providers/implementations/kdfs/argon2.c:874:11: branch_true: following 'true' branch...
openssl-3.5.4/providers/implementations/kdfs/argon2.c:877:12: branch_true: ...to here
openssl-3.5.4/providers/implementations/kdfs/argon2.c:874:11: branch_true: following 'true' branch...
openssl-3.5.4/providers/implementations/kdfs/argon2.c:883:8: branch_true: ...to here
openssl-3.5.4/providers/implementations/kdfs/argon2.c:883:8: branch_true: following 'true' branch (when 'outlen > 64')...
openssl-3.5.4/providers/implementations/kdfs/argon2.c:884:9: branch_true: ...to here
openssl-3.5.4/providers/implementations/kdfs/argon2.c:884:9: danger: use of uninitialized value '&outbuf' here
Error: CPPCHECK_WARNING (CWE-758): [#def176]
openssl-3.5.4/providers/implementations/keymgmt/ml_kem_kmgmt.c:347: error[ctuPointerArith]: Pointer arithmetic overflow; 'seed' buffer size is 64
Error: CPPCHECK_WARNING (CWE-476): [#def177]
openssl-3.5.4/providers/implementations/keymgmt/ml_kem_kmgmt.c:525: error[nullPointer]: Null pointer dereference: key
Error: CPPCHECK_WARNING (CWE-457): [#def178]
openssl-3.5.4/providers/implementations/signature/dsa_sig.c:404: warning[uninitvar]: Uninitialized variable: digest
Error: CPPCHECK_WARNING (CWE-457): [#def179]
openssl-3.5.4/providers/implementations/signature/rsa_sig.c:882: warning[uninitvar]: Uninitialized variable: digest
Error: GCC_ANALYZER_WARNING (CWE-404): [#def180]
openssl-3.5.4/providers/legacyprov.c:285:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/providers/legacyprov.c:284:5: acquire_resource: 'va_start' called here
openssl-3.5.4/providers/legacyprov.c:285:5: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def181]
openssl-3.5.4/ssl/quic/quic_impl.c:137:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/ssl/quic/quic_impl.c:3859:12: enter_function: entry to 'wait_for_incoming_stream'
openssl-3.5.4/ssl/quic/quic_impl.c:3867:9: call_function: calling 'quic_raise_non_normal_error' from 'wait_for_incoming_stream'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
openssl-3.5.4/ssl/quic/quic_reactor_wait_ctx.c:37:11: warning[-Wanalyzer-null-dereference]: dereference of NULL 'slot'
openssl-3.5.4/ssl/quic/quic_reactor_wait_ctx.c:64:6: enter_function: entry to 'ossl_quic_reactor_wait_ctx_leave'
openssl-3.5.4/ssl/quic/quic_reactor_wait_ctx.c:69:5: branch_false: following 'false' branch (when 'slot' is NULL)...
openssl-3.5.4/ssl/quic/quic_reactor_wait_ctx.c:74:5: branch_false: ...to here
openssl-3.5.4/ssl/quic/quic_reactor_wait_ctx.c:74:5: call_function: calling 'slot_deactivate' from 'ossl_quic_reactor_wait_ctx_leave'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def183]
openssl-3.5.4/ssl/quic/quic_record_shared.c:49:13: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.4/ssl/quic/quic_record_shared.c:44:5: enter_function: entry to 'ossl_qrl_enc_level_set_have_el'
openssl-3.5.4/ssl/quic/quic_record_shared.c:47:30: call_function: calling 'ossl_qrl_enc_level_set_get' from 'ossl_qrl_enc_level_set_have_el'
openssl-3.5.4/ssl/quic/quic_record_shared.c:47:30: return_function: returning to 'ossl_qrl_enc_level_set_have_el' from 'ossl_qrl_enc_level_set_get'
openssl-3.5.4/ssl/quic/quic_record_shared.c:49:13: danger: dereference of NULL 'ossl_qrl_enc_level_set_get(els, enc_level, 0)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
openssl-3.5.4/ssl/quic/quic_record_shared.c:90:10: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
openssl-3.5.4/ssl/quic/quic_record_shared.c:84:13: enter_function: entry to 'el_teardown_keyslot'
openssl-3.5.4/ssl/quic/quic_record_shared.c:88:30: call_function: calling 'ossl_qrl_enc_level_set_get' from 'el_teardown_keyslot'
openssl-3.5.4/ssl/quic/quic_record_shared.c:88:30: return_function: returning to 'el_teardown_keyslot' from 'ossl_qrl_enc_level_set_get'
openssl-3.5.4/ssl/quic/quic_record_shared.c:90:10: danger: dereference of NULL 'ossl_qrl_enc_level_set_get(els, enc_level, 0)'
Error: CPPCHECK_WARNING (CWE-476): [#def185]
openssl-3.5.4/ssl/quic/quic_record_tx.c:42: error[ctunullpointer]: Null pointer dereference: elem
Error: CPPCHECK_WARNING (CWE-476): [#def186]
openssl-3.5.4/ssl/quic/quic_record_tx.c:42: error[ctunullpointer]: Null pointer dereference: list
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
openssl-3.5.4/ssl/quic/quic_record_tx.c:42:1: warning[-Wanalyzer-null-dereference]: dereference of NULL 'list'
openssl-3.5.4/ssl/quic/quic_record_tx.c:793:5: enter_function: entry to 'ossl_qtx_write_pkt'
openssl-3.5.4/ssl/quic/quic_record_tx.c:802:8: branch_false: following 'false' branch...
openssl-3.5.4/ssl/quic/quic_record_tx.c:805:49: branch_false: ...to here
openssl-3.5.4/ssl/quic/quic_record_tx.c:810:13: branch_false: following 'false' branch...
openssl-3.5.4/ssl/quic/quic_record_tx.c:811:19: branch_false: ...to here
openssl-3.5.4/ssl/quic/quic_record_tx.c:810:14: branch_false: following 'false' branch...
openssl-3.5.4/ssl/quic/quic_record_tx.c:816:23: branch_false: ...to here
openssl-3.5.4/ssl/quic/quic_record_tx.c:833:12: branch_false: following 'false' branch...
openssl-3.5.4/ssl/quic/quic_record_tx.c:840:14: branch_false: ...to here
openssl-3.5.4/ssl/quic/quic_record_tx.c:840:14: call_function: inlined call to 'qtx_reserve_txe' from 'ossl_qtx_write_pkt'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
openssl-3.5.4/ssl/quic/quic_tls_api.c:202:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.4/ssl/quic/quic_tls_api.c:195:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.4/ssl/quic/quic_tls_api.c:197:10: branch_false: ...to here
openssl-3.5.4/ssl/quic/quic_tls_api.c:197:8: branch_false: following 'false' branch...
openssl-3.5.4/ssl/quic/quic_tls_api.c:202:9: branch_false: ...to here
openssl-3.5.4/ssl/quic/quic_tls_api.c:202:9: danger: dereference of NULL 'sc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
openssl-3.5.4/ssl/record/methods/ktls_meth.c:225:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'eiv'
openssl-3.5.4/ssl/record/methods/ktls_meth.c:188:8: branch_false: following 'false' branch...
openssl-3.5.4/ssl/record/methods/ktls_meth.c:189:16: branch_false: ...to here
openssl-3.5.4/ssl/record/methods/ktls_meth.c:188:9: branch_false: following 'false' branch...
openssl-3.5.4/ssl/record/methods/ktls_meth.c:213:5: branch_false: ...to here
openssl-3.5.4/ssl/record/methods/ktls_meth.c:225:9: danger: dereference of NULL 'eiv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
openssl-3.5.4/ssl/record/methods/ktls_meth.c:242:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'eiv'
openssl-3.5.4/ssl/record/methods/ktls_meth.c:188:8: branch_false: following 'false' branch...
openssl-3.5.4/ssl/record/methods/ktls_meth.c:189:16: branch_false: ...to here
openssl-3.5.4/ssl/record/methods/ktls_meth.c:188:9: branch_false: following 'false' branch...
openssl-3.5.4/ssl/record/methods/ktls_meth.c:213:5: branch_false: ...to here
openssl-3.5.4/ssl/record/methods/ktls_meth.c:242:9: danger: dereference of NULL 'eiv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
openssl-3.5.4/ssl/record/methods/ktls_meth.c:260:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'eiv'
openssl-3.5.4/ssl/record/methods/ktls_meth.c:188:8: branch_false: following 'false' branch...
openssl-3.5.4/ssl/record/methods/ktls_meth.c:189:16: branch_false: ...to here
openssl-3.5.4/ssl/record/methods/ktls_meth.c:188:9: branch_false: following 'false' branch...
openssl-3.5.4/ssl/record/methods/ktls_meth.c:213:5: branch_false: ...to here
openssl-3.5.4/ssl/record/methods/ktls_meth.c:260:9: danger: dereference of NULL 'eiv'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def192]
openssl-3.5.4/ssl/record/methods/tls_common.c:54:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/ssl/record/methods/tls_common.c:53:5: acquire_resource: 'va_start' called here
openssl-3.5.4/ssl/record/methods/tls_common.c:54:5: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
openssl-3.5.4/ssl/record/rec_layer_s3.c:673:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.4/ssl/record/rec_layer_s3.c:633:9: branch_false: following 'false' branch...
openssl-3.5.4/ssl/record/rec_layer_s3.c:641:8: branch_false: ...to here
openssl-3.5.4/ssl/record/rec_layer_s3.c:671:8: branch_true: following 'true' branch...
openssl-3.5.4/ssl/record/rec_layer_s3.c:673:13: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
openssl-3.5.4/ssl/record/rec_layer_s3.c:681:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.4/ssl/record/rec_layer_s3.c:633:9: branch_false: following 'false' branch...
openssl-3.5.4/ssl/record/rec_layer_s3.c:641:8: branch_false: ...to here
openssl-3.5.4/ssl/record/rec_layer_s3.c:681:5: danger: dereference of NULL 's'
Error: COMPILER_WARNING: [#def195]
openssl-3.5.4/ssl/ssl_ciph.c:12:9: warning: '_GNU_SOURCE' redefined
<command-line>: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def196]
openssl-3.5.4/ssl/ssl_ciph.c:12:9: warning[warning]: '_GNU_SOURCE' redefined
Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
openssl-3.5.4/ssl/ssl_lib.c:995:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.4/ssl/ssl_lib.c:992:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.4/ssl/ssl_lib.c:995:9: branch_false: ...to here
openssl-3.5.4/ssl/ssl_lib.c:995:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
openssl-3.5.4/ssl/ssl_lib.c:1010:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.4/ssl/ssl_lib.c:1007:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.4/ssl/ssl_lib.c:1010:9: branch_false: ...to here
openssl-3.5.4/ssl/ssl_lib.c:1010:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
openssl-3.5.4/ssl/ssl_lib.c:1755:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.4/ssl/ssl_lib.c:1750:5: enter_function: entry to 'SSL_set_wfd'
openssl-3.5.4/ssl/ssl_lib.c:1752:17: call_function: calling 'SSL_get_rbio' from 'SSL_set_wfd'
openssl-3.5.4/ssl/ssl_lib.c:1752:17: return_function: returning to 'SSL_set_wfd' from 'SSL_get_rbio'
openssl-3.5.4/ssl/ssl_lib.c:1753:24: branch_false: following 'false' branch (when 's' is NULL)...
branch_false: ...to here
openssl-3.5.4/ssl/ssl_lib.c:1755:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def200]
openssl-3.5.4/ssl/ssl_lib.c:1792:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.4/ssl/ssl_lib.c:1787:5: enter_function: entry to 'SSL_set_rfd'
openssl-3.5.4/ssl/ssl_lib.c:1789:17: call_function: calling 'SSL_get_wbio' from 'SSL_set_rfd'
openssl-3.5.4/ssl/ssl_lib.c:1789:17: return_function: returning to 'SSL_set_rfd' from 'SSL_get_wbio'
openssl-3.5.4/ssl/ssl_lib.c:1790:24: branch_false: following 'false' branch (when 's' is NULL)...
branch_false: ...to here
openssl-3.5.4/ssl/ssl_lib.c:1792:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def201]
openssl-3.5.4/ssl/ssl_lib.c:5026:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.4/ssl/ssl_lib.c:5016:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.4/ssl/ssl_lib.c:5026:5: branch_false: ...to here
openssl-3.5.4/ssl/ssl_lib.c:5026:5: danger: dereference of NULL 'sc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
openssl-3.5.4/ssl/ssl_lib.c:5046:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sc'
openssl-3.5.4/ssl/ssl_lib.c:5036:26: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.4/ssl/ssl_lib.c:5046:5: branch_false: ...to here
openssl-3.5.4/ssl/ssl_lib.c:5046:5: danger: dereference of NULL 'sc'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
openssl-3.5.4/ssl/ssl_lib.c:5104:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.4/ssl/ssl_lib.c:5100:32: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.4/ssl/ssl_lib.c:5104:9: branch_false: ...to here
openssl-3.5.4/ssl/ssl_lib.c:5104:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def204]
openssl-3.5.4/ssl/ssl_lib.c:5466:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.4/ssl/ssl_lib.c:5462:32: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.4/ssl/ssl_lib.c:5466:9: branch_false: ...to here
openssl-3.5.4/ssl/ssl_lib.c:5466:9: danger: dereference of NULL 's'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def205]
openssl-3.5.4/ssl/ssl_lib.c:5481:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 's'
openssl-3.5.4/ssl/ssl_lib.c:5477:32: branch_false: following 'false' branch (when 's' is NULL)...
openssl-3.5.4/ssl/ssl_lib.c:5481:9: branch_false: ...to here
openssl-3.5.4/ssl/ssl_lib.c:5481:9: danger: dereference of NULL 's'
Error: CPPCHECK_WARNING (CWE-476): [#def206]
openssl-3.5.4/ssl/ssl_rsa.c:990: warning[nullPointer]: Possible null pointer dereference: ctx
Error: GCC_ANALYZER_WARNING (CWE-404): [#def207]
openssl-3.5.4/ssl/statem/statem.c:170:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
openssl-3.5.4/ssl/statem/statem.c:807:25: enter_function: entry to 'write_state_machine'
openssl-3.5.4/ssl/statem/statem.c:962:13: call_function: calling 'ossl_statem_fatal' from 'write_state_machine'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
openssl-3.5.4/ssl/t1_lib.c:4774:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'lu'
openssl-3.5.4/ssl/t1_lib.c:4657:12: branch_false: following 'false' branch...
openssl-3.5.4/ssl/t1_lib.c:4659:14: branch_false: ...to here
openssl-3.5.4/ssl/t1_lib.c:4662:12: branch_true: following 'true' branch...
openssl-3.5.4/ssl/t1_lib.c:4664:17: branch_true: ...to here
openssl-3.5.4/ssl/t1_lib.c:4664:16: branch_true: following 'true' branch...
openssl-3.5.4/ssl/t1_lib.c:4666:26: branch_true: ...to here
openssl-3.5.4/ssl/t1_lib.c:4669:20: branch_false: following 'false' branch...
openssl-3.5.4/ssl/t1_lib.c:4677:17: branch_false: ...to here
openssl-3.5.4/ssl/t1_lib.c:4677:29: branch_false: following 'false' branch...
openssl-3.5.4/ssl/t1_lib.c:4711:26: branch_false: ...to here
openssl-3.5.4/ssl/t1_lib.c:4726:20: branch_false: following 'false' branch...
openssl-3.5.4/ssl/t1_lib.c:4773:8: branch_false: ...to here
openssl-3.5.4/ssl/t1_lib.c:4773:8: branch_true: following 'true' branch (when 'sig_idx == -1')...
openssl-3.5.4/ssl/t1_lib.c:4774:9: branch_true: ...to here
openssl-3.5.4/ssl/t1_lib.c:4774:9: danger: dereference of NULL 'lu'
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-253.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | openssl-3.5.4-1.fc44 |
| store-results-to | /tmp/tmp9ux4irij/openssl-3.5.4-1.fc44.tar.xz |
| time-created | 2025-10-28 20:14:59 |
| time-finished | 2025-10-28 20:31:53 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp9ux4irij/openssl-3.5.4-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp9ux4irij/openssl-3.5.4-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |