openssh-10.2p1-1.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-758): [#def1]
/etc/profile.d/gnome-ssh-askpass.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: GCC_ANALYZER_WARNING: [#def2]
openssh-10.2p1/addr.c:239:9: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
openssh-10.2p1/addr.c:361:1: enter_function: entry to ‘addr_host_to_all1s’
openssh-10.2p1/addr.c:365:13: call_function: calling ‘addr_hostmask’ from ‘addr_host_to_all1s’
openssh-10.2p1/addr.c:365:13: return_function: returning to ‘addr_host_to_all1s’ from ‘addr_hostmask’
openssh-10.2p1/addr.c:365:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addr.c:367:13: branch_false: ...to here
openssh-10.2p1/addr.c:367:13: call_function: calling ‘addr_or’ from ‘addr_host_to_all1s’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
openssh-10.2p1/addrmatch.c:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:60:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:60:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:60:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:62:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:63:23: branch_true: ...to here
openssh-10.2p1/addrmatch.c:64:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:66:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:66:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:71:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:71:21: throw: if ‘addr_pton_cidr’ throws an exception...
openssh-10.2p1/addrmatch.c:71:21: danger: ‘list’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
openssh-10.2p1/addrmatch.c:73:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:60:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:60:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:60:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:62:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:63:23: branch_true: ...to here
openssh-10.2p1/addrmatch.c:66:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:71:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:73:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/addrmatch.c:73:25: danger: ‘list’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
openssh-10.2p1/addrmatch.c:78:45: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:56:13: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:60:25: branch_false: ...to here
openssh-10.2p1/addrmatch.c:60:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:60:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:60:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:62:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:63:23: branch_true: ...to here
openssh-10.2p1/addrmatch.c:64:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:66:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:66:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:71:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:72:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:77:27: branch_false: ...to here
openssh-10.2p1/addrmatch.c:77:27: branch_true: following ‘true’ branch...
openssh-10.2p1/addrmatch.c:78:28: branch_true: ...to here
openssh-10.2p1/addrmatch.c:78:28: branch_true: following ‘true’ branch (when ‘addr’ is non-NULL)...
openssh-10.2p1/addrmatch.c:78:45: branch_true: ...to here
openssh-10.2p1/addrmatch.c:78:45: throw: if ‘addr_netmatch’ throws an exception...
openssh-10.2p1/addrmatch.c:78:45: danger: ‘list’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
openssh-10.2p1/addrmatch.c:90:45: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:56:13: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:60:25: branch_false: ...to here
openssh-10.2p1/addrmatch.c:60:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:60:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:60:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:62:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:63:23: branch_true: ...to here
openssh-10.2p1/addrmatch.c:66:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:71:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:72:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:77:27: branch_false: ...to here
openssh-10.2p1/addrmatch.c:90:45: throw: if ‘match_pattern’ throws an exception...
openssh-10.2p1/addrmatch.c:90:45: danger: ‘list’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
openssh-10.2p1/addrmatch.c:124:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:120:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.2p1/addrmatch.c:124:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/addrmatch.c:124:25: danger: ‘list’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
openssh-10.2p1/addrmatch.c:137:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:120:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.2p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:137:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/addrmatch.c:137:25: danger: ‘list’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
openssh-10.2p1/addrmatch.c:143:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:120:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.2p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:142:20: branch_true: following ‘true’ branch...
openssh-10.2p1/addrmatch.c:143:25: branch_true: ...to here
openssh-10.2p1/addrmatch.c:143:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/addrmatch.c:143:25: danger: ‘list’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
openssh-10.2p1/addrmatch.c:149:21: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:120:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.2p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:142:20: branch_true: following ‘true’ branch...
openssh-10.2p1/addrmatch.c:143:25: branch_true: ...to here
openssh-10.2p1/addrmatch.c:149:21: throw: if ‘addr_pton_cidr’ throws an exception...
openssh-10.2p1/addrmatch.c:149:21: danger: ‘list’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
openssh-10.2p1/addrmatch.c:151:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:120:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.2p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:151:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/addrmatch.c:151:25: danger: ‘list’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
openssh-10.2p1/addrmatch.c:155:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:120:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.2p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:150:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:154:27: branch_false: ...to here
openssh-10.2p1/addrmatch.c:155:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/addrmatch.c:155:25: danger: ‘list’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
openssh-10.2p1/addrmatch.c:160:29: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.2p1/addrmatch.c:116:13: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:120:25: branch_false: ...to here
openssh-10.2p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.2p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:120:12: branch_false: ...to here
openssh-10.2p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.2p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.2p1/addrmatch.c:150:20: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:154:27: branch_false: ...to here
openssh-10.2p1/addrmatch.c:154:27: branch_false: following ‘false’ branch...
openssh-10.2p1/addrmatch.c:159:28: branch_false: ...to here
openssh-10.2p1/addrmatch.c:160:29: throw: if ‘addr_netmatch’ throws an exception...
openssh-10.2p1/addrmatch.c:160:29: danger: ‘list’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
openssh-10.2p1/audit-linux.c:176:77: warning[-Wanalyzer-malloc-leak]: leak of ‘audit_encode_nv_string("key_id", *cert.key_id, 0)’
openssh-10.2p1/audit-linux.c:150:12: branch_false: following ‘false’ branch...
openssh-10.2p1/audit-linux.c:157:15: branch_false: ...to here
openssh-10.2p1/audit-linux.c:169:12: branch_true: following ‘true’ branch (when ‘cert’ is non-NULL)...
openssh-10.2p1/audit-linux.c:172:57: branch_true: ...to here
openssh-10.2p1/audit-linux.c:172:24: acquire_memory: allocated here
openssh-10.2p1/audit-linux.c:173:20: branch_false: following ‘false’ branch...
openssh-10.2p1/audit-linux.c:176:77: branch_false: ...to here
openssh-10.2p1/audit-linux.c:175:17: throw: if ‘sshkey_type’ throws an exception...
openssh-10.2p1/audit-linux.c:176:77: danger: ‘audit_encode_nv_string("key_id", *cert.key_id, 0)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
openssh-10.2p1/auth-krb5.c:268:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.2p1/auth-krb5.c:246:12: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-krb5.c:247:30: branch_true: ...to here
openssh-10.2p1/auth-krb5.c:256:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-krb5.c:259:23: branch_false: ...to here
openssh-10.2p1/auth-krb5.c:264:27: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-krb5.c:266:25: branch_true: ...to here
openssh-10.2p1/auth-krb5.c:268:25: danger: dereference of NULL ‘strchr(&krb5_ccname, 58)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
openssh-10.2p1/auth-krb5.c:361:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.2p1/auth-krb5.c:335:12: branch_false: following ‘false’ branch (when ‘template’ is non-NULL)...
openssh-10.2p1/auth-krb5.c:338:36: branch_false: ...to here
openssh-10.2p1/auth-krb5.c:341:16: branch_true: following ‘true’ branch (when ‘p_n’ is non-NULL)...
openssh-10.2p1/auth-krb5.c:343:18: branch_true: ...to here
openssh-10.2p1/auth-krb5.c:344:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-krb5.c:347:21: branch_false: ...to here
openssh-10.2p1/auth-krb5.c:361:25: danger: dereference of NULL ‘strchr(p_n, 125)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
openssh-10.2p1/auth-options.c:229:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:849:1: enter_function: entry to ‘sshauthopt_deserialise’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_true: ...to here
openssh-10.2p1/auth-options.c:909:9: call_function: calling ‘sshauthopt_free’ from ‘sshauthopt_deserialise’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
openssh-10.2p1/auth-options.c:668:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sshauthopt_new()’
openssh-10.2p1/auth-options.c:660:1: enter_function: entry to ‘sshauthopt_copy’
openssh-10.2p1/auth-options.c:664:20: call_function: calling ‘sshauthopt_new’ from ‘sshauthopt_copy’
openssh-10.2p1/auth-options.c:664:20: return_function: returning to ‘sshauthopt_copy’ from ‘sshauthopt_new’
openssh-10.2p1/auth-options.c:664:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:668:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:687:9: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-options.c:687:9: call_function: calling ‘sshauthopt_free’ from ‘sshauthopt_copy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
openssh-10.2p1/auth-options.c:753:26: warning[-Wanalyzer-malloc-leak]: leak of ‘a’
openssh-10.2p1/auth-options.c:740:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:741:18: branch_false: ...to here
openssh-10.2p1/auth-options.c:740:13: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:743:13: branch_false: ...to here
openssh-10.2p1/auth-options.c:743:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:747:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:748:12: branch_true: following ‘true’ branch (when ‘n != 0’)...
openssh-10.2p1/auth-options.c:748:27: branch_true: ...to here
openssh-10.2p1/auth-options.c:748:27: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:748:13: branch_false: following ‘false’ branch (when ‘a’ is non-NULL)...
openssh-10.2p1/auth-options.c:752:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:752:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-options.c:753:50: branch_true: ...to here
openssh-10.2p1/auth-options.c:753:26: throw: if ‘sshbuf_get_cstring’ throws an exception...
openssh-10.2p1/auth-options.c:753:26: danger: ‘a’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
openssh-10.2p1/auth-options.c:866:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-options.c:866:9: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
openssh-10.2p1/auth-options.c:867:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:867:9: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-options.c:867:9: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
openssh-10.2p1/auth-options.c:868:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:868:9: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-options.c:868:9: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
openssh-10.2p1/auth-options.c:869:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:869:9: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-options.c:869:9: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
openssh-10.2p1/auth-options.c:870:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:870:9: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-options.c:870:9: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
openssh-10.2p1/auth-options.c:871:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:871:9: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-options.c:871:9: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
openssh-10.2p1/auth-options.c:872:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:871:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:871:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:872:9: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-options.c:872:9: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
openssh-10.2p1/auth-options.c:873:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:871:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:871:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:872:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:872:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:873:9: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-options.c:873:9: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
openssh-10.2p1/auth-options.c:874:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:871:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:871:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:872:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:872:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:873:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:873:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:874:9: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-options.c:874:9: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
openssh-10.2p1/auth-options.c:878:18: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.2p1/auth-options.c:856:21: acquire_memory: allocated here
openssh-10.2p1/auth-options.c:856:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:866:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:866:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:871:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:871:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:872:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:872:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:873:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:873:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:874:9: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-options.c:874:9: branch_false: ...to here
openssh-10.2p1/auth-options.c:878:18: throw: if ‘sshbuf_get_u64’ throws an exception...
openssh-10.2p1/auth-options.c:878:18: danger: ‘opts’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
openssh-10.2p1/auth-pam.c:413:23: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:23: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/auth-pam.c:413:23: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
openssh-10.2p1/auth-pam.c:422:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:422:34: throw: if ‘sshbuf_put_cstring’ throws an exception...
openssh-10.2p1/auth-pam.c:422:34: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
openssh-10.2p1/auth-pam.c:424:33: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:422:28: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-pam.c:424:33: branch_true: ...to here
openssh-10.2p1/auth-pam.c:424:33: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/auth-pam.c:424:33: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
openssh-10.2p1/auth-pam.c:426:29: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:426:29: throw: if ‘ssh_msg_send’ throws an exception...
openssh-10.2p1/auth-pam.c:426:29: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
openssh-10.2p1/auth-pam.c:430:29: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:426:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:430:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:430:29: throw: if ‘ssh_msg_recv’ throws an exception...
openssh-10.2p1/auth-pam.c:430:29: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
openssh-10.2p1/auth-pam.c:432:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:426:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:430:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:430:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:432:34: branch_false: ...to here
openssh-10.2p1/auth-pam.c:432:34: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/auth-pam.c:432:34: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
openssh-10.2p1/auth-pam.c:433:33: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:426:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:430:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:430:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:432:34: branch_false: ...to here
openssh-10.2p1/auth-pam.c:432:28: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-pam.c:433:33: branch_true: ...to here
openssh-10.2p1/auth-pam.c:433:33: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/auth-pam.c:433:33: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
openssh-10.2p1/auth-pam.c:437:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:426:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:430:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:430:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:432:34: branch_false: ...to here
openssh-10.2p1/auth-pam.c:432:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:435:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:435:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:438:35: branch_false: ...to here
openssh-10.2p1/auth-pam.c:437:34: throw: if ‘sshbuf_get_cstring’ throws an exception...
openssh-10.2p1/auth-pam.c:437:34: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
openssh-10.2p1/auth-pam.c:444:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:444:34: throw: if ‘sshbuf_put_cstring’ throws an exception...
openssh-10.2p1/auth-pam.c:444:34: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
openssh-10.2p1/auth-pam.c:446:33: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:444:28: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-pam.c:446:33: branch_true: ...to here
openssh-10.2p1/auth-pam.c:446:33: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/auth-pam.c:446:33: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
openssh-10.2p1/auth-pam.c:448:29: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:444:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:449:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:448:29: throw: if ‘ssh_msg_send’ throws an exception...
openssh-10.2p1/auth-pam.c:448:29: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
openssh-10.2p1/auth-pam.c:455:17: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.2p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:444:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:449:29: branch_false: ...to here
openssh-10.2p1/auth-pam.c:448:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:455:17: branch_false: ...to here
openssh-10.2p1/auth-pam.c:455:17: throw: if ‘sshbuf_reset’ throws an exception...
openssh-10.2p1/auth-pam.c:455:17: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
openssh-10.2p1/auth-pam.c:457:9: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.2p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.2p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.2p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:413:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:457:9: throw: if ‘sshbuf_free’ throws an exception...
openssh-10.2p1/auth-pam.c:457:9: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
openssh-10.2p1/auth-pam.c:675:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:668:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:668:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:668:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:671:21: branch_true: following ‘true’ branch (when ‘n > i’)...
openssh-10.2p1/auth-pam.c:672:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:672:17: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-pam.c:673:17: branch_true: ...to here
openssh-10.2p1/auth-pam.c:675:34: throw: if ‘sshbuf_putf’ throws an exception...
openssh-10.2p1/auth-pam.c:675:34: danger: ‘reply’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
openssh-10.2p1/auth-pam.c:677:33: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:668:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:668:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:668:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:671:21: branch_true: following ‘true’ branch (when ‘n > i’)...
openssh-10.2p1/auth-pam.c:672:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:672:17: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-pam.c:673:17: branch_true: ...to here
openssh-10.2p1/auth-pam.c:675:28: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-pam.c:677:33: branch_true: ...to here
openssh-10.2p1/auth-pam.c:677:33: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/auth-pam.c:677:33: danger: ‘reply’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
openssh-10.2p1/auth-pam.c:1002:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fake_password(*resp)’
openssh-10.2p1/auth-pam.c:1013:1: enter_function: entry to ‘sshpam_respond’
openssh-10.2p1/auth-pam.c:1030:12: branch_false: following ‘false’ branch (when ‘num == 1’)...
openssh-10.2p1/auth-pam.c:1034:23: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1034:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:1036:28: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1042:24: call_function: calling ‘fake_password’ from ‘sshpam_respond’
openssh-10.2p1/auth-pam.c:1042:24: return_function: returning to ‘sshpam_respond’ from ‘fake_password’
openssh-10.2p1/auth-pam.c:1043:26: throw: if ‘sshbuf_put_cstring’ throws an exception...
openssh-10.2p1/auth-pam.c:1002:15: danger: ‘fake_password(*resp)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
openssh-10.2p1/auth-pam.c:1349:42: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/auth-pam.c:1333:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:1333:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1336:21: branch_true: following ‘true’ branch (when ‘n > i’)...
openssh-10.2p1/auth-pam.c:1337:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1339:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:1341:35: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1341:46: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:1341:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:1343:25: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1336:21: branch_true: following ‘true’ branch (when ‘n > i’)...
openssh-10.2p1/auth-pam.c:1337:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1348:28: branch_true: following ‘true’ branch (when ‘len != 0’)...
openssh-10.2p1/auth-pam.c:1349:42: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1349:42: throw: if ‘sshbuf_putf’ throws an exception...
openssh-10.2p1/auth-pam.c:1349:42: danger: ‘<unknown>’ leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
openssh-10.2p1/auth-pam.c:1349:42: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:1333:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:1333:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:1333:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1336:21: branch_true: following ‘true’ branch (when ‘n > i’)...
openssh-10.2p1/auth-pam.c:1337:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1348:28: branch_true: following ‘true’ branch (when ‘len != 0’)...
openssh-10.2p1/auth-pam.c:1349:42: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1349:42: throw: if ‘sshbuf_putf’ throws an exception...
openssh-10.2p1/auth-pam.c:1349:42: danger: ‘reply’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
openssh-10.2p1/auth-pam.c:1351:41: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/auth-pam.c:1333:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:1333:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1336:21: branch_true: following ‘true’ branch (when ‘n > i’)...
openssh-10.2p1/auth-pam.c:1337:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1339:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:1341:35: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1341:46: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:1341:28: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-pam.c:1343:25: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1336:21: branch_true: following ‘true’ branch (when ‘n > i’)...
openssh-10.2p1/auth-pam.c:1337:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1348:28: branch_true: following ‘true’ branch (when ‘len != 0’)...
openssh-10.2p1/auth-pam.c:1349:42: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1349:36: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-pam.c:1351:41: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1351:41: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/auth-pam.c:1351:41: danger: ‘<unknown>’ leaks here; was allocated at [(9)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
openssh-10.2p1/auth-pam.c:1351:41: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.2p1/auth-pam.c:1333:22: acquire_memory: allocated here
openssh-10.2p1/auth-pam.c:1333:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.2p1/auth-pam.c:1333:12: branch_false: ...to here
openssh-10.2p1/auth-pam.c:1336:21: branch_true: following ‘true’ branch (when ‘n > i’)...
openssh-10.2p1/auth-pam.c:1337:25: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1348:28: branch_true: following ‘true’ branch (when ‘len != 0’)...
openssh-10.2p1/auth-pam.c:1349:42: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1349:36: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-pam.c:1351:41: branch_true: ...to here
openssh-10.2p1/auth-pam.c:1351:41: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/auth-pam.c:1351:41: danger: ‘reply’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
openssh-10.2p1/auth-rhosts.c:108:25: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/auth-rhosts.c:66:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:68:13: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:72:14: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:72:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:78:9: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:79:18: acquire_memory: allocated here
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:98:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:105:25: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:108:25: throw: if ‘auth_debug_add’ throws an exception...
openssh-10.2p1/auth-rhosts.c:108:25: danger: ‘f’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
openssh-10.2p1/auth-rhosts.c:118:25: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/auth-rhosts.c:66:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:68:13: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:72:14: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:72:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:78:9: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:79:18: acquire_memory: allocated here
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:98:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:105:25: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:118:25: throw: if ‘auth_debug_add’ throws an exception...
openssh-10.2p1/auth-rhosts.c:118:25: danger: ‘f’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
openssh-10.2p1/auth-rhosts.c:145:25: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/auth-rhosts.c:66:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:68:13: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:72:14: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:72:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:78:9: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:79:18: acquire_memory: allocated here
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:98:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:105:25: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:145:25: throw: if ‘auth_debug_add’ throws an exception...
openssh-10.2p1/auth-rhosts.c:145:25: danger: ‘f’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
openssh-10.2p1/auth-rhosts.c:151:30: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/auth-rhosts.c:66:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:68:13: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:72:14: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:72:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:78:9: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:79:18: acquire_memory: allocated here
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:98:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:105:25: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:143:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:150:20: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:151:38: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:151:30: throw: if ‘innetgr’ throws an exception...
openssh-10.2p1/auth-rhosts.c:151:30: danger: ‘f’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
openssh-10.2p1/auth-rhosts.c:152:30: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/auth-rhosts.c:66:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:68:13: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:72:14: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:72:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:78:9: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:79:18: acquire_memory: allocated here
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:98:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:105:25: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:143:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:150:20: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:151:38: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:151:28: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:152:30: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:152:30: throw: if ‘innetgr’ throws an exception...
openssh-10.2p1/auth-rhosts.c:152:30: danger: ‘f’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
openssh-10.2p1/auth-rhosts.c:160:30: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/auth-rhosts.c:66:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:68:13: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:72:14: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:72:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:78:9: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:79:18: acquire_memory: allocated here
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/auth-rhosts.c:79:12: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:83:16: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:98:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:105:25: branch_false: ...to here
openssh-10.2p1/auth-rhosts.c:143:20: branch_false: following ‘false’ branch...
openssh-10.2p1/auth-rhosts.c:159:20: branch_true: following ‘true’ branch...
openssh-10.2p1/auth-rhosts.c:160:38: branch_true: ...to here
openssh-10.2p1/auth-rhosts.c:160:30: throw: if ‘innetgr’ throws an exception...
openssh-10.2p1/auth-rhosts.c:160:30: danger: ‘f’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
openssh-10.2p1/auth2-chall.c:332:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘response’
openssh-10.2p1/auth2-chall.c:304:12: branch_false: following ‘false’ branch (when ‘authctxt’ is non-NULL)...
openssh-10.2p1/auth2-chall.c:306:9: branch_false: ...to here
openssh-10.2p1/auth2-chall.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-chall.c:309:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-chall.c:312:9: branch_false: ...to here
openssh-10.2p1/auth2-chall.c:313:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-chall.c:315:22: branch_false: ...to here
openssh-10.2p1/auth2-chall.c:315:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-chall.c:317:12: branch_false: ...to here
openssh-10.2p1/auth2-chall.c:317:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-chall.c:319:12: branch_false: ...to here
openssh-10.2p1/auth2-chall.c:319:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-chall.c:326:18: branch_false: ...to here
openssh-10.2p1/auth2-chall.c:326:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-chall.c:329:15: branch_false: ...to here
openssh-10.2p1/auth2-chall.c:331:21: branch_true: following ‘true’ branch...
openssh-10.2p1/auth2-chall.c:332:60: branch_true: ...to here
openssh-10.2p1/auth2-chall.c:332:17: danger: dereference of NULL ‘response + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
openssh-10.2p1/auth2-pubkeyfile.c:486:13: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/auth2-pubkeyfile.c:459:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-pubkeyfile.c:470:13: branch_false: ...to here
openssh-10.2p1/auth2-pubkeyfile.c:470:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-pubkeyfile.c:474:14: branch_false: ...to here
openssh-10.2p1/auth2-pubkeyfile.c:474:12: branch_false: following ‘false’ branch...
openssh-10.2p1/auth2-pubkeyfile.c:480:9: branch_false: ...to here
openssh-10.2p1/auth2-pubkeyfile.c:481:18: acquire_memory: allocated here
openssh-10.2p1/auth2-pubkeyfile.c:481:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/auth2-pubkeyfile.c:485:12: branch_false: ...to here
openssh-10.2p1/auth2-pubkeyfile.c:485:12: branch_true: following ‘true’ branch (when ‘strict_modes != 0’)...
openssh-10.2p1/auth2-pubkeyfile.c:486:13: branch_true: ...to here
openssh-10.2p1/auth2-pubkeyfile.c:486:13: throw: if ‘safe_path_fd’ throws an exception...
openssh-10.2p1/auth2-pubkeyfile.c:486:13: danger: ‘f’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
openssh-10.2p1/authfd.c:103:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/authfd.c:99:21: acquire_resource: stream socket created here
openssh-10.2p1/authfd.c:99:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/authfd.c:103:13: branch_false: ...to here
openssh-10.2p1/authfd.c:103:13: throw: if ‘fcntl’ throws an exception...
openssh-10.2p1/authfd.c:103:13: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
openssh-10.2p1/authfile.c:181:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
openssh-10.2p1/authfile.c:176:12: branch_false: following ‘false’ branch (when ‘pubkeyp’ is NULL)...
openssh-10.2p1/authfile.c:179:19: branch_false: ...to here
openssh-10.2p1/authfile.c:179:19: acquire_resource: opened here
openssh-10.2p1/authfile.c:179:12: branch_false: following ‘false’ branch...
openssh-10.2p1/authfile.c:181:18: branch_false: ...to here
openssh-10.2p1/authfile.c:181:18: throw: if ‘sshbuf_load_fd’ throws an exception...
openssh-10.2p1/authfile.c:181:18: danger: ‘open(filename, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
openssh-10.2p1/authfile.c:215:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
openssh-10.2p1/authfile.c:208:12: branch_false: following ‘false’ branch (when ‘kp’ is non-NULL)...
openssh-10.2p1/authfile.c:210:9: branch_false: ...to here
openssh-10.2p1/authfile.c:211:12: branch_false: following ‘false’ branch (when ‘commentp’ is NULL)...
openssh-10.2p1/authfile.c:213:18: branch_false: ...to here
openssh-10.2p1/authfile.c:213:18: acquire_resource: opened here
openssh-10.2p1/authfile.c:213:12: branch_false: following ‘false’ branch...
openssh-10.2p1/authfile.c:215:18: branch_false: ...to here
openssh-10.2p1/authfile.c:215:18: throw: if ‘sshkey_new’ throws an exception...
openssh-10.2p1/authfile.c:215:18: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
openssh-10.2p1/authfile.c:215:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
openssh-10.2p1/authfile.c:208:12: branch_false: following ‘false’ branch (when ‘kp’ is non-NULL)...
openssh-10.2p1/authfile.c:210:9: branch_false: ...to here
openssh-10.2p1/authfile.c:211:12: branch_false: following ‘false’ branch (when ‘commentp’ is NULL)...
openssh-10.2p1/authfile.c:213:18: branch_false: ...to here
openssh-10.2p1/authfile.c:213:18: acquire_memory: allocated here
openssh-10.2p1/authfile.c:213:12: branch_false: following ‘false’ branch...
openssh-10.2p1/authfile.c:215:18: branch_false: ...to here
openssh-10.2p1/authfile.c:215:18: throw: if ‘sshkey_new’ throws an exception...
openssh-10.2p1/authfile.c:215:18: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
openssh-10.2p1/authfile.c:501:18: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/authfile.c:494:12: branch_false: following ‘false’ branch...
openssh-10.2p1/authfile.c:496:18: branch_false: ...to here
openssh-10.2p1/authfile.c:496:18: acquire_memory: allocated here
openssh-10.2p1/authfile.c:496:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/authfile.c:501:18: branch_false: ...to here
openssh-10.2p1/authfile.c:501:18: throw: if ‘sshkey_write’ throws an exception...
openssh-10.2p1/authfile.c:501:18: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def63]
openssh-10.2p1/chacha.c:51:31: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available)
Error: COMPILER_WARNING: [#def64]
openssh-10.2p1/chacha.c:52:29: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
openssh-10.2p1/channels.c:531:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:4226:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.2p1/channels.c:4229:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:4233:24: branch_false: ...to here
openssh-10.2p1/channels.c:4233:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def66]
openssh-10.2p1/channels.c:533:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:4226:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.2p1/channels.c:4229:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:4233:24: branch_false: ...to here
openssh-10.2p1/channels.c:4233:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
openssh-10.2p1/channels.c:536:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:4226:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.2p1/channels.c:4229:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:4233:24: branch_false: ...to here
openssh-10.2p1/channels.c:4233:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def68]
openssh-10.2p1/channels.c:539:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:4226:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.2p1/channels.c:4229:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:4233:24: branch_false: ...to here
openssh-10.2p1/channels.c:4233:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def69]
openssh-10.2p1/channels.c:540:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:4226:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.2p1/channels.c:4229:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:4233:24: branch_false: ...to here
openssh-10.2p1/channels.c:4233:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def70]
openssh-10.2p1/channels.c:541:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:4226:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.2p1/channels.c:4229:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:4233:24: branch_false: ...to here
openssh-10.2p1/channels.c:4233:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def71]
openssh-10.2p1/channels.c:542:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:4226:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.2p1/channels.c:4229:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:4233:24: branch_false: ...to here
openssh-10.2p1/channels.c:4233:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def72]
openssh-10.2p1/channels.c:543:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:4226:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.2p1/channels.c:4229:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:4233:24: branch_false: ...to here
openssh-10.2p1/channels.c:4233:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def73]
openssh-10.2p1/channels.c:3955:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:3862:1: enter_function: entry to ‘channel_setup_fwd_listener_tcpip’
openssh-10.2p1/channels.c:3891:16: call_function: calling ‘channel_fwd_bind_addr’ from ‘channel_setup_fwd_listener_tcpip’
openssh-10.2p1/channels.c:3891:16: return_function: returning to ‘channel_setup_fwd_listener_tcpip’ from ‘channel_fwd_bind_addr’
openssh-10.2p1/channels.c:3893:9: branch_true: following ‘true’ branch...
openssh-10.2p1/channels.c:3893:9: branch_true: ...to here
openssh-10.2p1/channels.c:3905:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:3916:12: branch_false: ...to here
openssh-10.2p1/channels.c:3918:26: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.2p1/channels.c:3919:25: branch_true: ...to here
openssh-10.2p1/channels.c:3940:20: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:3947:24: branch_false: ...to here
openssh-10.2p1/channels.c:3947:24: acquire_resource: socket created here
openssh-10.2p1/channels.c:3948:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/channels.c:3955:17: branch_false: ...to here
openssh-10.2p1/channels.c:3955:17: throw: if ‘set_reuseaddr’ throws an exception...
openssh-10.2p1/channels.c:3955:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def74]
openssh-10.2p1/channels.c:3980:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:3862:1: enter_function: entry to ‘channel_setup_fwd_listener_tcpip’
openssh-10.2p1/channels.c:3891:16: call_function: calling ‘channel_fwd_bind_addr’ from ‘channel_setup_fwd_listener_tcpip’
openssh-10.2p1/channels.c:3891:16: return_function: returning to ‘channel_setup_fwd_listener_tcpip’ from ‘channel_fwd_bind_addr’
openssh-10.2p1/channels.c:3893:9: branch_true: following ‘true’ branch...
openssh-10.2p1/channels.c:3893:9: branch_true: ...to here
openssh-10.2p1/channels.c:3905:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:3916:12: branch_false: ...to here
openssh-10.2p1/channels.c:3918:26: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.2p1/channels.c:3919:25: branch_true: ...to here
openssh-10.2p1/channels.c:3947:24: acquire_resource: socket created here
openssh-10.2p1/channels.c:3948:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/channels.c:3955:17: branch_false: ...to here
openssh-10.2p1/channels.c:3979:20: branch_true: following ‘true’ branch...
openssh-10.2p1/channels.c:3980:25: branch_true: ...to here
openssh-10.2p1/channels.c:3980:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/channels.c:3980:25: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def75]
openssh-10.2p1/channels.c:3982:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:3862:1: enter_function: entry to ‘channel_setup_fwd_listener_tcpip’
openssh-10.2p1/channels.c:3891:16: call_function: calling ‘channel_fwd_bind_addr’ from ‘channel_setup_fwd_listener_tcpip’
openssh-10.2p1/channels.c:3891:16: return_function: returning to ‘channel_setup_fwd_listener_tcpip’ from ‘channel_fwd_bind_addr’
openssh-10.2p1/channels.c:3893:9: branch_true: following ‘true’ branch...
openssh-10.2p1/channels.c:3893:9: branch_true: ...to here
openssh-10.2p1/channels.c:3905:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:3916:12: branch_false: ...to here
openssh-10.2p1/channels.c:3918:26: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.2p1/channels.c:3919:25: branch_true: ...to here
openssh-10.2p1/channels.c:3947:24: acquire_resource: socket created here
openssh-10.2p1/channels.c:3948:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/channels.c:3955:17: branch_false: ...to here
openssh-10.2p1/channels.c:3979:20: branch_true: following ‘true’ branch...
openssh-10.2p1/channels.c:3980:25: branch_true: ...to here
openssh-10.2p1/channels.c:3982:25: throw: if ‘close’ throws an exception...
openssh-10.2p1/channels.c:3982:25: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
openssh-10.2p1/channels.c:4690:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:4660:16: branch_true: following ‘true’ branch...
openssh-10.2p1/channels.c:4661:25: branch_true: ...to here
openssh-10.2p1/channels.c:4670:28: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:4680:17: branch_false: ...to here
openssh-10.2p1/channels.c:4682:29: acquire_resource: socket created here
openssh-10.2p1/channels.c:4682:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/channels.c:4690:21: branch_false: ...to here
openssh-10.2p1/channels.c:4690:21: throw: if ‘set_nonblock’ throws an exception...
openssh-10.2p1/channels.c:4690:21: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def77]
openssh-10.2p1/channels.c:5122:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:5079:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:5087:13: branch_true: following ‘true’ branch (when ‘display_number < x11_max_displays’)...
openssh-10.2p1/channels.c:5089:17: branch_true: ...to here
openssh-10.2p1/channels.c:5095:20: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:5100:22: branch_false: ...to here
openssh-10.2p1/channels.c:5100:34: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.2p1/channels.c:5101:29: branch_true: ...to here
openssh-10.2p1/channels.c:5101:28: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:5104:32: branch_false: ...to here
openssh-10.2p1/channels.c:5104:32: acquire_resource: socket created here
openssh-10.2p1/channels.c:5106:28: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/channels.c:5121:29: branch_false: ...to here
openssh-10.2p1/channels.c:5121:28: branch_true: following ‘true’ branch...
openssh-10.2p1/channels.c:5122:33: branch_true: ...to here
openssh-10.2p1/channels.c:5122:33: throw: if ‘sock_set_v6only’ throws an exception...
openssh-10.2p1/channels.c:5122:33: danger: ‘sock’ leaks here
Error: CPPCHECK_WARNING (CWE-457): [#def78]
openssh-10.2p1/channels.c:5152: warning[uninitvar]: Uninitialized variable: port
Error: COMPILER_WARNING (CWE-195): [#def79]
openssh-10.2p1/channels.c: scope_hint: In function ‘connect_local_xsocket_path’
openssh-10.2p1/channels.c:5199:17: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def80]
openssh-10.2p1/channels.c:5202:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:5190:12: branch_false: following ‘false’ branch (when ‘len > 0’)...
openssh-10.2p1/channels.c:5192:16: branch_false: ...to here
openssh-10.2p1/channels.c:5192:16: acquire_resource: stream socket created here
openssh-10.2p1/channels.c:5193:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/channels.c:5197:9: branch_false: ...to here
openssh-10.2p1/channels.c:5202:13: throw: if ‘connect’ throws an exception...
openssh-10.2p1/channels.c:5202:13: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def81]
openssh-10.2p1/channels.c:5353:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/channels.c:5265:12: branch_false: following ‘false’ branch (when ‘display’ is non-NULL)...
openssh-10.2p1/channels.c:5296:13: branch_false: ...to here
openssh-10.2p1/channels.c:5296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:5297:13: branch_false: ...to here
openssh-10.2p1/channels.c:5296:13: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:5317:9: branch_false: ...to here
openssh-10.2p1/channels.c:5319:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/channels.c:5323:9: branch_false: ...to here
openssh-10.2p1/channels.c:5328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:5329:13: branch_false: ...to here
openssh-10.2p1/channels.c:5328:13: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:5336:9: branch_false: ...to here
openssh-10.2p1/channels.c:5340:12: branch_false: following ‘false’ branch...
openssh-10.2p1/channels.c:5345:14: branch_false: ...to here
openssh-10.2p1/channels.c:5345:26: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.2p1/channels.c:5347:24: branch_true: ...to here
openssh-10.2p1/channels.c:5347:24: acquire_resource: socket created here
openssh-10.2p1/channels.c:5348:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/channels.c:5353:21: branch_false: ...to here
openssh-10.2p1/channels.c:5353:21: throw: if ‘connect’ throws an exception...
openssh-10.2p1/channels.c:5353:21: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: throw: if ‘EVP_CIPHER_CTX_new’ throws an exception...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: danger: ‘ctx’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
openssh-10.2p1/cipher-chachapoly-libcrypto.c:51:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:51:32: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:51:32: throw: if ‘EVP_CIPHER_CTX_new’ throws an exception...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:51:32: danger: ‘ctx’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
openssh-10.2p1/cipher-chachapoly-libcrypto.c:53:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:51:32: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:13: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:53:14: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:53:14: throw: if ‘EVP_chacha20’ throws an exception...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:53:14: danger: ‘ctx’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
openssh-10.2p1/cipher-chachapoly-libcrypto.c:55:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:51:32: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:13: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:53:14: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:53:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:55:62: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:55:14: throw: if ‘EVP_chacha20’ throws an exception...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:55:14: danger: ‘ctx’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
openssh-10.2p1/cipher-chachapoly-libcrypto.c:70:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:42:1: enter_function: entry to ‘chachapoly_new’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:12: branch_true: following ‘true’ branch...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:52:17: branch_true: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:61:9: call_function: calling ‘chachapoly_free’ from ‘chachapoly_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
openssh-10.2p1/cipher-chachapoly-libcrypto.c:71:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:42:1: enter_function: entry to ‘chachapoly_new’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:12: branch_true: following ‘true’ branch...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:52:17: branch_true: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:61:9: call_function: calling ‘chachapoly_free’ from ‘chachapoly_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
openssh-10.2p1/cipher-chachapoly-libcrypto.c:72:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:42:1: enter_function: entry to ‘chachapoly_new’
openssh-10.2p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:50:12: branch_true: following ‘true’ branch...
openssh-10.2p1/cipher-chachapoly-libcrypto.c:52:17: branch_true: ...to here
openssh-10.2p1/cipher-chachapoly-libcrypto.c:61:9: call_function: calling ‘chachapoly_free’ from ‘chachapoly_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
openssh-10.2p1/cipher.c:244:30: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.2p1/cipher.c:230:19: acquire_memory: allocated here
openssh-10.2p1/cipher.c:230:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.2p1/cipher.c:233:26: branch_false: ...to here
openssh-10.2p1/cipher.c:236:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:236:13: branch_false: ...to here
openssh-10.2p1/cipher.c:243:12: branch_true: following ‘true’ branch...
openssh-10.2p1/cipher.c:244:30: branch_true: ...to here
openssh-10.2p1/cipher.c:244:30: throw: if ‘chachapoly_new’ throws an exception...
openssh-10.2p1/cipher.c:244:30: danger: ‘cc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
openssh-10.2p1/cipher.c:262:16: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.2p1/cipher.c:230:19: acquire_memory: allocated here
openssh-10.2p1/cipher.c:230:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.2p1/cipher.c:233:26: branch_false: ...to here
openssh-10.2p1/cipher.c:236:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:236:13: branch_false: ...to here
openssh-10.2p1/cipher.c:243:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:248:13: branch_false: ...to here
openssh-10.2p1/cipher.c:248:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:262:18: branch_false: ...to here
openssh-10.2p1/cipher.c:262:16: throw: if the called function throws an exception...
openssh-10.2p1/cipher.c:262:16: danger: ‘cc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
openssh-10.2p1/cipher.c:263:24: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.2p1/cipher.c:230:19: acquire_memory: allocated here
openssh-10.2p1/cipher.c:230:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.2p1/cipher.c:233:26: branch_false: ...to here
openssh-10.2p1/cipher.c:236:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:236:13: branch_false: ...to here
openssh-10.2p1/cipher.c:243:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:248:13: branch_false: ...to here
openssh-10.2p1/cipher.c:248:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:262:18: branch_false: ...to here
openssh-10.2p1/cipher.c:263:24: throw: if ‘EVP_CIPHER_CTX_new’ throws an exception...
openssh-10.2p1/cipher.c:263:24: danger: ‘cc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
openssh-10.2p1/cipher.c:267:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.2p1/cipher.c:230:19: acquire_memory: allocated here
openssh-10.2p1/cipher.c:230:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.2p1/cipher.c:233:26: branch_false: ...to here
openssh-10.2p1/cipher.c:236:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:236:13: branch_false: ...to here
openssh-10.2p1/cipher.c:243:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:248:13: branch_false: ...to here
openssh-10.2p1/cipher.c:248:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:262:18: branch_false: ...to here
openssh-10.2p1/cipher.c:263:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:267:13: branch_false: ...to here
openssh-10.2p1/cipher.c:267:13: throw: if ‘EVP_CipherInit’ throws an exception...
openssh-10.2p1/cipher.c:267:13: danger: ‘cc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
openssh-10.2p1/cipher.c:273:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.2p1/cipher.c:230:19: acquire_memory: allocated here
openssh-10.2p1/cipher.c:230:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.2p1/cipher.c:233:26: branch_false: ...to here
openssh-10.2p1/cipher.c:236:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:236:13: branch_false: ...to here
openssh-10.2p1/cipher.c:243:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:248:13: branch_false: ...to here
openssh-10.2p1/cipher.c:248:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:262:18: branch_false: ...to here
openssh-10.2p1/cipher.c:263:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:267:13: branch_false: ...to here
openssh-10.2p1/cipher.c:267:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:272:13: branch_false: ...to here
openssh-10.2p1/cipher.c:272:12: branch_true: following ‘true’ branch...
openssh-10.2p1/cipher.c:273:13: branch_true: ...to here
openssh-10.2p1/cipher.c:273:13: throw: if ‘EVP_CIPHER_CTX_ctrl’ throws an exception...
openssh-10.2p1/cipher.c:273:13: danger: ‘cc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
openssh-10.2p1/cipher.c:280:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.2p1/cipher.c:230:19: acquire_memory: allocated here
openssh-10.2p1/cipher.c:230:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.2p1/cipher.c:233:26: branch_false: ...to here
openssh-10.2p1/cipher.c:236:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:236:13: branch_false: ...to here
openssh-10.2p1/cipher.c:243:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:248:13: branch_false: ...to here
openssh-10.2p1/cipher.c:248:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:262:18: branch_false: ...to here
openssh-10.2p1/cipher.c:263:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:267:13: branch_false: ...to here
openssh-10.2p1/cipher.c:267:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:272:13: branch_false: ...to here
openssh-10.2p1/cipher.c:279:12: branch_true: following ‘true’ branch...
openssh-10.2p1/cipher.c:280:21: branch_true: ...to here
openssh-10.2p1/cipher.c:280:21: throw: if ‘EVP_CIPHER_CTX_set_key_length’ throws an exception...
openssh-10.2p1/cipher.c:280:21: danger: ‘cc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
openssh-10.2p1/cipher.c:285:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.2p1/cipher.c:230:19: acquire_memory: allocated here
openssh-10.2p1/cipher.c:230:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.2p1/cipher.c:233:26: branch_false: ...to here
openssh-10.2p1/cipher.c:236:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:236:13: branch_false: ...to here
openssh-10.2p1/cipher.c:243:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:248:13: branch_false: ...to here
openssh-10.2p1/cipher.c:248:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:262:18: branch_false: ...to here
openssh-10.2p1/cipher.c:263:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:267:13: branch_false: ...to here
openssh-10.2p1/cipher.c:267:12: branch_false: following ‘false’ branch...
openssh-10.2p1/cipher.c:272:13: branch_false: ...to here
openssh-10.2p1/cipher.c:285:13: throw: if ‘EVP_CipherInit’ throws an exception...
openssh-10.2p1/cipher.c:285:13: danger: ‘cc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
openssh-10.2p1/cipher.c:298:25: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.2p1/cipher.c:230:19: acquire_memory: allocated here
openssh-10.2p1/cipher.c:230:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.2p1/cipher.c:233:26: branch_false: ...to here
openssh-10.2p1/cipher.c:298:25: throw: if ‘EVP_CIPHER_CTX_free’ throws an exception...
openssh-10.2p1/cipher.c:298:25: danger: ‘cc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
openssh-10.2p1/cipher.c:300:25: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.2p1/cipher.c:230:19: acquire_memory: allocated here
openssh-10.2p1/cipher.c:230:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.2p1/cipher.c:233:26: branch_false: ...to here
openssh-10.2p1/cipher.c:300:25: throw: if ‘freezero’ throws an exception...
openssh-10.2p1/cipher.c:300:25: danger: ‘cc’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def98]
openssh-10.2p1/clientloop.c:204:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/clientloop.c:203:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/clientloop.c:204:9: throw: if ‘xvasprintf’ throws an exception...
openssh-10.2p1/clientloop.c:204:9: 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-401): [#def99]
openssh-10.2p1/clientloop.c:416:33: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(cmd, "r")’
openssh-10.2p1/clientloop.c:311:12: branch_false: following ‘false’ branch...
openssh-10.2p1/clientloop.c:317:12: branch_false: ...to here
openssh-10.2p1/clientloop.c:317:12: branch_true: following ‘true’ branch (when ‘xauth_path’ is non-NULL)...
openssh-10.2p1/clientloop.c:317:35: branch_true: ...to here
openssh-10.2p1/clientloop.c:317:13: branch_false: following ‘false’ branch...
openssh-10.2p1/clientloop.c:330:21: branch_false: ...to here
openssh-10.2p1/clientloop.c:404:25: branch_false: following ‘false’ branch (when ‘generated == 0’)...
openssh-10.2p1/clientloop.c:404:25: branch_false: ...to here
openssh-10.2p1/clientloop.c:411:29: acquire_memory: allocated here
openssh-10.2p1/clientloop.c:412:28: branch_true: following ‘true’ branch...
openssh-10.2p1/clientloop.c:412:34: branch_true: ...to here
openssh-10.2p1/clientloop.c:416:33: danger: ‘popen(cmd, "r")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING (CWE-704): [#def100]
openssh-10.2p1/clientloop.c: scope_hint: In function ‘hostspec_is_complex’
openssh-10.2p1/clientloop.c:2109:17: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def101]
openssh-10.2p1/clientloop.c:2109:17: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-563): [#def102]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:136:21: warning[-Wunused-variable]: unused variable ‘failed’
Error: COMPILER_WARNING (CWE-477): [#def103]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c: scope_hint: In function ‘passphrase_dialog’
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:184:17: warning[-Wdeprecated-declarations]: ‘gtk_widget_modify_fg’ is deprecated: Use 'gtk_widget_override_color' instead
/usr/include/gtk-3.0/gtk/gtk.h:277: included_from: Included from here.
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:61: included_from: Included from here.
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:749:13: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def104]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:184:17: warning[-Wdeprecated-declarations]: ‘gtk_widget_modify_fg’ is deprecated: Use 'gtk_widget_override_color' instead
Error: COMPILER_WARNING (CWE-477): [#def105]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:186:17: warning[-Wdeprecated-declarations]: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753:13: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def106]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:186:17: warning[-Wdeprecated-declarations]: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead
Error: COMPILER_WARNING (CWE-477): [#def107]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:191:25: warning[-Wdeprecated-declarations]: ‘gtk_widget_modify_fg’ is deprecated: Use 'gtk_widget_override_color' instead
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:749:13: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def108]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:191:25: warning[-Wdeprecated-declarations]: ‘gtk_widget_modify_fg’ is deprecated: Use 'gtk_widget_override_color' instead
Error: COMPILER_WARNING (CWE-477): [#def109]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:193:25: warning[-Wdeprecated-declarations]: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753:13: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def110]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:193:25: warning[-Wdeprecated-declarations]: ‘gtk_widget_modify_bg’ is deprecated: Use 'gtk_widget_override_background_color' instead
Error: COMPILER_WARNING (CWE-457): [#def111]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:243:39: warning[-Wmaybe-uninitialized]: ‘entry’ may be used uninitialized
openssh-10.2p1/contrib/gnome-ssh-askpass3.c: scope_hint: In function ‘main’
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:140:45: note: ‘entry’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def112]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:246:29: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:280:1: enter_function: entry to ‘main’
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:301:18: call_function: calling ‘passphrase_dialog’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def113]
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:256:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:280:1: enter_function: entry to ‘main’
openssh-10.2p1/contrib/gnome-ssh-askpass3.c:301:18: call_function: calling ‘passphrase_dialog’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
openssh-10.2p1/digest-openssl.c:122:27: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/digest-openssl.c:114:1: enter_function: entry to ‘ssh_digest_start’
openssh-10.2p1/digest-openssl.c:116:43: call_function: calling ‘ssh_digest_by_alg’ from ‘ssh_digest_start’
openssh-10.2p1/digest-openssl.c:116:43: return_function: returning to ‘ssh_digest_start’ from ‘ssh_digest_by_alg’
openssh-10.2p1/digest-openssl.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/digest-openssl.c:119:39: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:119:39: acquire_memory: allocated here
openssh-10.2p1/digest-openssl.c:119:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/digest-openssl.c:121:9: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:122:27: throw: if ‘EVP_MD_CTX_new’ throws an exception...
openssh-10.2p1/digest-openssl.c:122:27: danger: ‘ret’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
openssh-10.2p1/digest-openssl.c:126:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/digest-openssl.c:114:1: enter_function: entry to ‘ssh_digest_start’
openssh-10.2p1/digest-openssl.c:116:43: call_function: calling ‘ssh_digest_by_alg’ from ‘ssh_digest_start’
openssh-10.2p1/digest-openssl.c:116:43: return_function: returning to ‘ssh_digest_start’ from ‘ssh_digest_by_alg’
openssh-10.2p1/digest-openssl.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/digest-openssl.c:119:39: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:119:39: acquire_memory: allocated here
openssh-10.2p1/digest-openssl.c:119:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/digest-openssl.c:121:9: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:122:12: branch_false: following ‘false’ branch...
openssh-10.2p1/digest-openssl.c:126:43: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:126:13: throw: if the called function throws an exception...
openssh-10.2p1/digest-openssl.c:126:13: danger: ‘ret’ leaks here; was allocated at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
openssh-10.2p1/digest-openssl.c:180:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/digest-openssl.c:114:1: enter_function: entry to ‘ssh_digest_start’
openssh-10.2p1/digest-openssl.c:116:43: call_function: calling ‘ssh_digest_by_alg’ from ‘ssh_digest_start’
openssh-10.2p1/digest-openssl.c:116:43: return_function: returning to ‘ssh_digest_start’ from ‘ssh_digest_by_alg’
openssh-10.2p1/digest-openssl.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/digest-openssl.c:119:39: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:119:39: acquire_memory: allocated here
openssh-10.2p1/digest-openssl.c:119:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/digest-openssl.c:121:9: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:122:12: branch_false: following ‘false’ branch...
openssh-10.2p1/digest-openssl.c:126:43: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:126:12: branch_true: following ‘true’ branch...
openssh-10.2p1/digest-openssl.c:127:17: branch_true: ...to here
openssh-10.2p1/digest-openssl.c:127:17: call_function: calling ‘ssh_digest_free’ from ‘ssh_digest_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
openssh-10.2p1/digest-openssl.c:181:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/digest-openssl.c:114:1: enter_function: entry to ‘ssh_digest_start’
openssh-10.2p1/digest-openssl.c:116:43: call_function: calling ‘ssh_digest_by_alg’ from ‘ssh_digest_start’
openssh-10.2p1/digest-openssl.c:116:43: return_function: returning to ‘ssh_digest_start’ from ‘ssh_digest_by_alg’
openssh-10.2p1/digest-openssl.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/digest-openssl.c:119:39: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:119:39: acquire_memory: allocated here
openssh-10.2p1/digest-openssl.c:119:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/digest-openssl.c:121:9: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:122:12: branch_false: following ‘false’ branch...
openssh-10.2p1/digest-openssl.c:126:43: branch_false: ...to here
openssh-10.2p1/digest-openssl.c:126:12: branch_true: following ‘true’ branch...
openssh-10.2p1/digest-openssl.c:127:17: branch_true: ...to here
openssh-10.2p1/digest-openssl.c:127:17: call_function: calling ‘ssh_digest_free’ from ‘ssh_digest_start’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def118]
openssh-10.2p1/fatal.c:43:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/fatal.c:42:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/fatal.c:43:9: throw: if ‘sshlogv’ throws an exception...
openssh-10.2p1/fatal.c:43:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-563): [#def119]
openssh-10.2p1/gss-genr.c: scope_hint: In function ‘ssh_gssapi_kex_mechs’
openssh-10.2p1/gss-genr.c:132:32: warning[-Wunused-variable]: unused variable ‘md’
Error: COMPILER_WARNING: [#def120]
openssh-10.2p1/gss-genr.c:182:30: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length
openssh-10.2p1/gss-genr.c:182:46: note: length computed here
Error: COMPILER_WARNING: [#def121]
openssh-10.2p1/gss-serv-krb5.c: scope_hint: In function ‘ssh_gssapi_krb5_cmdok’
openssh-10.2p1/gss-serv-krb5.c:337:16: warning[-Wunused-but-set-variable=]: variable ‘linenum’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def122]
openssh-10.2p1/gss-serv-krb5.c:359:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&file, "r")’
openssh-10.2p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:346:19: acquire_resource: opened here
openssh-10.2p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:357:12: branch_true: following ‘true’ branch...
openssh-10.2p1/gss-serv-krb5.c:359:17: branch_true: ...to here
openssh-10.2p1/gss-serv-krb5.c:359:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/gss-serv-krb5.c:359:17: danger: ‘fopen(&file, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
openssh-10.2p1/gss-serv-krb5.c:359:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&file, "r")’
openssh-10.2p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:346:19: acquire_memory: allocated here
openssh-10.2p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:357:12: branch_true: following ‘true’ branch...
openssh-10.2p1/gss-serv-krb5.c:359:17: branch_true: ...to here
openssh-10.2p1/gss-serv-krb5.c:359:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/gss-serv-krb5.c:359:17: danger: ‘fopen(&file, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def124]
openssh-10.2p1/gss-serv-krb5.c:364:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&file, "r")’
openssh-10.2p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:346:19: acquire_resource: opened here
openssh-10.2p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:357:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:364:15: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:364:12: branch_true: following ‘true’ branch...
openssh-10.2p1/gss-serv-krb5.c:365:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/gss-serv-krb5.c:364:15: danger: ‘fopen(&file, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
openssh-10.2p1/gss-serv-krb5.c:364:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&file, "r")’
openssh-10.2p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:346:19: acquire_memory: allocated here
openssh-10.2p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:357:12: branch_false: following ‘false’ branch...
openssh-10.2p1/gss-serv-krb5.c:364:15: branch_false: ...to here
openssh-10.2p1/gss-serv-krb5.c:364:12: branch_true: following ‘true’ branch...
openssh-10.2p1/gss-serv-krb5.c:365:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/gss-serv-krb5.c:364:15: danger: ‘fopen(&file, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
openssh-10.2p1/hmac.c:52:26: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.2p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/hmac.c:51:9: branch_false: ...to here
openssh-10.2p1/hmac.c:52:26: throw: if ‘ssh_digest_start’ throws an exception...
openssh-10.2p1/hmac.c:52:26: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
openssh-10.2p1/hmac.c:53:26: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.2p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/hmac.c:51:9: branch_false: ...to here
openssh-10.2p1/hmac.c:52:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hmac.c:53:26: branch_false: ...to here
openssh-10.2p1/hmac.c:53:26: throw: if ‘ssh_digest_start’ throws an exception...
openssh-10.2p1/hmac.c:53:26: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
openssh-10.2p1/hmac.c:54:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.2p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/hmac.c:51:9: branch_false: ...to here
openssh-10.2p1/hmac.c:52:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hmac.c:53:26: branch_false: ...to here
openssh-10.2p1/hmac.c:52:13: branch_false: following ‘false’ branch...
openssh-10.2p1/hmac.c:54:28: branch_false: ...to here
openssh-10.2p1/hmac.c:54:28: throw: if ‘ssh_digest_start’ throws an exception...
openssh-10.2p1/hmac.c:54:28: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
openssh-10.2p1/hmac.c:56:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.2p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/hmac.c:51:9: branch_false: ...to here
openssh-10.2p1/hmac.c:52:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hmac.c:53:26: branch_false: ...to here
openssh-10.2p1/hmac.c:52:13: branch_false: following ‘false’ branch...
openssh-10.2p1/hmac.c:54:28: branch_false: ...to here
openssh-10.2p1/hmac.c:52:13: branch_false: following ‘false’ branch...
openssh-10.2p1/hmac.c:56:24: branch_false: ...to here
openssh-10.2p1/hmac.c:56:24: throw: if ‘ssh_digest_blocksize’ throws an exception...
openssh-10.2p1/hmac.c:56:24: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
openssh-10.2p1/hmac.c:127:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/hmac.c:45:1: enter_function: entry to ‘ssh_hmac_start’
openssh-10.2p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.2p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/hmac.c:51:9: branch_false: ...to here
openssh-10.2p1/hmac.c:52:12: branch_true: following ‘true’ branch...
openssh-10.2p1/hmac.c:55:17: branch_true: ...to here
openssh-10.2p1/hmac.c:61:9: call_function: calling ‘ssh_hmac_free’ from ‘ssh_hmac_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
openssh-10.2p1/hmac.c:128:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/hmac.c:45:1: enter_function: entry to ‘ssh_hmac_start’
openssh-10.2p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.2p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/hmac.c:51:9: branch_false: ...to here
openssh-10.2p1/hmac.c:52:12: branch_true: following ‘true’ branch...
openssh-10.2p1/hmac.c:55:17: branch_true: ...to here
openssh-10.2p1/hmac.c:61:9: call_function: calling ‘ssh_hmac_free’ from ‘ssh_hmac_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
openssh-10.2p1/hmac.c:129:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/hmac.c:45:1: enter_function: entry to ‘ssh_hmac_start’
openssh-10.2p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.2p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/hmac.c:51:9: branch_false: ...to here
openssh-10.2p1/hmac.c:52:12: branch_true: following ‘true’ branch...
openssh-10.2p1/hmac.c:55:17: branch_true: ...to here
openssh-10.2p1/hmac.c:61:9: call_function: calling ‘ssh_hmac_free’ from ‘ssh_hmac_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
openssh-10.2p1/hmac.c:134:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/hmac.c:45:1: enter_function: entry to ‘ssh_hmac_start’
openssh-10.2p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.2p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/hmac.c:51:9: branch_false: ...to here
openssh-10.2p1/hmac.c:52:12: branch_true: following ‘true’ branch...
openssh-10.2p1/hmac.c:55:17: branch_true: ...to here
openssh-10.2p1/hmac.c:61:9: call_function: calling ‘ssh_hmac_free’ from ‘ssh_hmac_start’
Error: COMPILER_WARNING (CWE-704): [#def134]
openssh-10.2p1/hostfile.c: scope_hint: In function ‘extract_salt’
openssh-10.2p1/hostfile.c:93:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def135]
openssh-10.2p1/hostfile.c:93:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
openssh-10.2p1/hostfile.c:132:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
openssh-10.2p1/hostfile.c:132:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def138]
openssh-10.2p1/hostfile.c:136:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
openssh-10.2p1/hostfile.c:136:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
openssh-10.2p1/hostfile.c:458:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
openssh-10.2p1/hostfile.c:458:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def142]
openssh-10.2p1/hostfile.c:459:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
openssh-10.2p1/hostfile.c:459:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def144]
openssh-10.2p1/hostfile.c:498:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
openssh-10.2p1/hostfile.c:498:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def146]
openssh-10.2p1/hostfile.c:499:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
openssh-10.2p1/hostfile.c:499:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:557:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:572:13: branch_false: ...to here
openssh-10.2p1/hostfile.c:578:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: COMPILER_WARNING (CWE-704): [#def148]
openssh-10.2p1/hostfile.c: scope_hint: In function ‘hostfile_create_user_ssh_dir’
openssh-10.2p1/hostfile.c:525:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def149]
openssh-10.2p1/hostfile.c:525:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def150]
openssh-10.2p1/hostfile.c:570:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:570:13: throw: if ‘fseek’ throws an exception...
openssh-10.2p1/hostfile.c:570:13: danger: ‘fopen(filename, "a+")’ leaks here; was opened at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
openssh-10.2p1/hostfile.c:570:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:570:13: throw: if ‘fseek’ throws an exception...
openssh-10.2p1/hostfile.c:570:13: danger: ‘fopen(filename, "a+")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
openssh-10.2p1/hostfile.c:570:45: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:570:12: branch_true: following ‘true’ branch...
openssh-10.2p1/hostfile.c:570:45: branch_true: ...to here
openssh-10.2p1/hostfile.c:570:45: throw: if ‘fgetc’ throws an exception...
openssh-10.2p1/hostfile.c:570:45: danger: ‘fopen(filename, "a+")’ leaks here; was opened at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
openssh-10.2p1/hostfile.c:570:45: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:570:12: branch_true: following ‘true’ branch...
openssh-10.2p1/hostfile.c:570:45: branch_true: ...to here
openssh-10.2p1/hostfile.c:570:45: throw: if ‘fgetc’ throws an exception...
openssh-10.2p1/hostfile.c:570:45: danger: ‘fopen(filename, "a+")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def154]
openssh-10.2p1/hostfile.c:572:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:13: throw: if ‘fseek’ throws an exception...
openssh-10.2p1/hostfile.c:572:13: danger: ‘fopen(filename, "a+")’ leaks here; was opened at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
openssh-10.2p1/hostfile.c:572:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:572:13: throw: if ‘fseek’ throws an exception...
openssh-10.2p1/hostfile.c:572:13: danger: ‘fopen(filename, "a+")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def156]
openssh-10.2p1/hostfile.c:573:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:573:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/hostfile.c:573:17: danger: ‘fopen(filename, "a+")’ leaks here; was opened at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
openssh-10.2p1/hostfile.c:573:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.2p1/hostfile.c:563:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/hostfile.c:565:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:566:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:566:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:568:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:573:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/hostfile.c:573:17: danger: ‘fopen(filename, "a+")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
openssh-10.2p1/hostfile.c:672:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.2p1/hostfile.c:657:31: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:657:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:659:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:667:18: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:672:19: branch_false: ...to here
openssh-10.2p1/hostfile.c:672:19: throw: if ‘_ssh_mkstemp’ throws an exception...
openssh-10.2p1/hostfile.c:672:19: danger: ‘ctx.match_keys’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
openssh-10.2p1/hostfile.c:674:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.2p1/hostfile.c:657:31: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:657:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:659:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:667:18: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:672:19: branch_false: ...to here
openssh-10.2p1/hostfile.c:672:12: branch_true: following ‘true’ branch...
openssh-10.2p1/hostfile.c:673:26: branch_true: ...to here
openssh-10.2p1/hostfile.c:674:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/hostfile.c:674:17: danger: ‘ctx.match_keys’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
openssh-10.2p1/hostfile.c:680:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.2p1/hostfile.c:657:31: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:657:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:659:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:667:18: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:672:19: branch_false: ...to here
openssh-10.2p1/hostfile.c:672:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:678:24: branch_false: ...to here
openssh-10.2p1/hostfile.c:678:12: branch_true: following ‘true’ branch...
openssh-10.2p1/hostfile.c:679:26: branch_true: ...to here
openssh-10.2p1/hostfile.c:680:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/hostfile.c:680:17: danger: ‘ctx.match_keys’ leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
openssh-10.2p1/hostfile.c:681:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.2p1/hostfile.c:657:31: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:657:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:659:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:667:18: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:672:19: branch_false: ...to here
openssh-10.2p1/hostfile.c:672:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:678:24: branch_false: ...to here
openssh-10.2p1/hostfile.c:678:12: branch_true: following ‘true’ branch...
openssh-10.2p1/hostfile.c:679:26: branch_true: ...to here
openssh-10.2p1/hostfile.c:681:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/hostfile.c:681:17: danger: ‘ctx.match_keys’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
openssh-10.2p1/hostfile.c:816:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "r")’
openssh-10.2p1/hostfile.c:301:1: enter_function: entry to ‘load_hostkeys’
openssh-10.2p1/hostfile.c:306:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:306:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:311:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:311:9: call_function: calling ‘load_hostkeys_file’ from ‘load_hostkeys’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
openssh-10.2p1/hostfile.c:816:29: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "r")’
openssh-10.2p1/hostfile.c:301:1: enter_function: entry to ‘load_hostkeys’
openssh-10.2p1/hostfile.c:306:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:306:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:311:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:311:9: call_function: calling ‘load_hostkeys_file’ from ‘load_hostkeys’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def164]
openssh-10.2p1/hostfile.c:988:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "r")’
openssh-10.2p1/hostfile.c:985:18: acquire_resource: opened here
openssh-10.2p1/hostfile.c:985:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:988:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:988:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/hostfile.c:988:9: danger: ‘fopen(path, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
openssh-10.2p1/hostfile.c:988:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.2p1/hostfile.c:638:1: enter_function: entry to ‘hostfile_replace_entries’
openssh-10.2p1/hostfile.c:657:31: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:657:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:659:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:667:18: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:672:19: branch_false: ...to here
openssh-10.2p1/hostfile.c:672:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:678:24: branch_false: ...to here
openssh-10.2p1/hostfile.c:678:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:687:18: branch_false: ...to here
openssh-10.2p1/hostfile.c:687:18: call_function: calling ‘hostkeys_foreach’ from ‘hostfile_replace_entries’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
openssh-10.2p1/hostfile.c:988:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.out’
openssh-10.2p1/hostfile.c:638:1: enter_function: entry to ‘hostfile_replace_entries’
openssh-10.2p1/hostfile.c:657:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:659:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:667:18: branch_false: ...to here
openssh-10.2p1/hostfile.c:666:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.2p1/hostfile.c:672:19: branch_false: ...to here
openssh-10.2p1/hostfile.c:672:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:678:24: branch_false: ...to here
openssh-10.2p1/hostfile.c:678:24: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:678:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:687:18: branch_false: ...to here
openssh-10.2p1/hostfile.c:687:18: call_function: calling ‘hostkeys_foreach’ from ‘hostfile_replace_entries’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
openssh-10.2p1/hostfile.c:988:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "r")’
openssh-10.2p1/hostfile.c:985:18: acquire_memory: allocated here
openssh-10.2p1/hostfile.c:985:12: branch_false: following ‘false’ branch...
openssh-10.2p1/hostfile.c:988:9: branch_false: ...to here
openssh-10.2p1/hostfile.c:988:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/hostfile.c:988:9: danger: ‘fopen(path, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
openssh-10.2p1/kex-names.c:129:32: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.2p1/kex-names.c:284:1: enter_function: entry to ‘kex_names_valid’
openssh-10.2p1/kex-names.c:288:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:290:23: acquire_memory: allocated here
openssh-10.2p1/kex-names.c:290:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:292:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:292:38: branch_true: following ‘true’ branch...
openssh-10.2p1/kex-names.c:294:21: call_function: calling ‘kex_alg_by_name’ from ‘kex_names_valid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
openssh-10.2p1/kex-names.c:133:36: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.2p1/kex-names.c:284:1: enter_function: entry to ‘kex_names_valid’
openssh-10.2p1/kex-names.c:288:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:290:23: acquire_memory: allocated here
openssh-10.2p1/kex-names.c:290:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:292:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:292:38: branch_true: following ‘true’ branch...
openssh-10.2p1/kex-names.c:294:21: call_function: calling ‘kex_alg_by_name’ from ‘kex_names_valid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
openssh-10.2p1/kex-names.c:137:32: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.2p1/kex-names.c:284:1: enter_function: entry to ‘kex_names_valid’
openssh-10.2p1/kex-names.c:288:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:290:23: acquire_memory: allocated here
openssh-10.2p1/kex-names.c:290:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:292:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:292:38: branch_true: following ‘true’ branch...
openssh-10.2p1/kex-names.c:294:21: call_function: calling ‘kex_alg_by_name’ from ‘kex_names_valid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
openssh-10.2p1/kex-names.c:140:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.2p1/kex-names.c:284:1: enter_function: entry to ‘kex_names_valid’
openssh-10.2p1/kex-names.c:288:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:290:23: acquire_memory: allocated here
openssh-10.2p1/kex-names.c:290:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:292:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:292:38: branch_true: following ‘true’ branch...
openssh-10.2p1/kex-names.c:294:21: call_function: calling ‘kex_alg_by_name’ from ‘kex_names_valid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
openssh-10.2p1/kex-names.c:303:9: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.2p1/kex-names.c:288:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:290:23: acquire_memory: allocated here
openssh-10.2p1/kex-names.c:290:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:292:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:303:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/kex-names.c:303:9: danger: ‘cp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
openssh-10.2p1/kex-names.c:314:19: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.2p1/kex-names.c:325:1: enter_function: entry to ‘kex_names_cat’
openssh-10.2p1/kex-names.c:334:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:336:15: branch_false: ...to here
openssh-10.2p1/kex-names.c:337:25: acquire_memory: allocated here
openssh-10.2p1/kex-names.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:338:20: branch_false: ...to here
openssh-10.2p1/kex-names.c:337:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/kex-names.c:342:9: branch_false: ...to here
openssh-10.2p1/kex-names.c:343:38: branch_true: following ‘true’ branch...
openssh-10.2p1/kex-names.c:344:21: call_function: calling ‘kex_has_any_alg’ from ‘kex_names_cat’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
openssh-10.2p1/kex-names.c:314:19: warning[-Wanalyzer-malloc-leak]: leak of ‘patterns’
openssh-10.2p1/kex-names.c:365:1: enter_function: entry to ‘kex_assemble_names’
openssh-10.2p1/kex-names.c:371:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:374:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:382:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:390:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:390:19: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:399:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:399:19: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:417:37: branch_false: ...to here
openssh-10.2p1/kex-names.c:417:37: acquire_memory: allocated here
openssh-10.2p1/kex-names.c:417:12: branch_false: following ‘false’ branch (when ‘opatterns’ is non-NULL)...
openssh-10.2p1/kex-names.c:417:12: branch_false: ...to here
openssh-10.2p1/kex-names.c:422:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/kex-names.c:423:21: branch_true: ...to here
openssh-10.2p1/kex-names.c:423:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:428:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:429:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:433:28: branch_false: ...to here
openssh-10.2p1/kex-names.c:433:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
openssh-10.2p1/kex-names.c:433:28: return_function: returning to ‘kex_assemble_names’ from ‘kex_names_cat’
openssh-10.2p1/kex-names.c:433:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:437:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:422:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/kex-names.c:423:21: branch_true: ...to here
openssh-10.2p1/kex-names.c:423:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:428:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:429:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:433:28: branch_false: ...to here
openssh-10.2p1/kex-names.c:433:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
openssh-10.2p1/kex-names.c:314:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/kex-names.c:365:1: enter_function: entry to ‘kex_assemble_names’
openssh-10.2p1/kex-names.c:371:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:374:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:382:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:390:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:390:19: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:399:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:399:19: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:417:37: branch_false: ...to here
openssh-10.2p1/kex-names.c:417:12: branch_false: following ‘false’ branch (when ‘opatterns’ is non-NULL)...
openssh-10.2p1/kex-names.c:417:12: branch_false: ...to here
openssh-10.2p1/kex-names.c:422:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/kex-names.c:423:21: branch_true: ...to here
openssh-10.2p1/kex-names.c:423:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:428:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:429:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:433:28: branch_false: ...to here
openssh-10.2p1/kex-names.c:433:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
openssh-10.2p1/kex-names.c:433:28: return_function: returning to ‘kex_assemble_names’ from ‘kex_names_cat’
openssh-10.2p1/kex-names.c:433:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:437:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:422:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/kex-names.c:423:21: branch_true: ...to here
openssh-10.2p1/kex-names.c:423:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:428:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:429:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:433:28: branch_false: ...to here
openssh-10.2p1/kex-names.c:433:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
openssh-10.2p1/kex-names.c:429:33: warning[-Wanalyzer-malloc-leak]: leak of ‘patterns’
openssh-10.2p1/kex-names.c:371:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:374:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:382:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:390:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:390:19: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:399:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:399:19: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:417:37: branch_false: ...to here
openssh-10.2p1/kex-names.c:417:37: acquire_memory: allocated here
openssh-10.2p1/kex-names.c:417:12: branch_false: following ‘false’ branch (when ‘opatterns’ is non-NULL)...
openssh-10.2p1/kex-names.c:417:12: branch_false: ...to here
openssh-10.2p1/kex-names.c:422:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/kex-names.c:423:21: branch_true: ...to here
openssh-10.2p1/kex-names.c:423:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:428:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:429:33: throw: if ‘match_filter_allowlist’ throws an exception...
openssh-10.2p1/kex-names.c:429:33: danger: ‘patterns’ leaks here; was allocated at [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
openssh-10.2p1/kex-names.c:429:33: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/kex-names.c:365:1: enter_function: entry to ‘kex_assemble_names’
openssh-10.2p1/kex-names.c:371:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:374:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:382:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:390:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:390:19: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:399:19: branch_false: ...to here
openssh-10.2p1/kex-names.c:399:19: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:417:37: branch_false: ...to here
openssh-10.2p1/kex-names.c:417:12: branch_false: following ‘false’ branch (when ‘opatterns’ is non-NULL)...
openssh-10.2p1/kex-names.c:417:12: branch_false: ...to here
openssh-10.2p1/kex-names.c:422:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/kex-names.c:423:21: branch_true: ...to here
openssh-10.2p1/kex-names.c:423:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:428:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:429:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:433:28: branch_false: ...to here
openssh-10.2p1/kex-names.c:433:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
openssh-10.2p1/kex-names.c:433:28: return_function: returning to ‘kex_assemble_names’ from ‘kex_names_cat’
openssh-10.2p1/kex-names.c:433:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:437:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:422:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.2p1/kex-names.c:423:21: branch_true: ...to here
openssh-10.2p1/kex-names.c:423:20: branch_false: following ‘false’ branch...
openssh-10.2p1/kex-names.c:428:17: branch_false: ...to here
openssh-10.2p1/kex-names.c:429:33: throw: if ‘match_filter_allowlist’ throws an exception...
openssh-10.2p1/kex-names.c:429:33: danger: ‘ret’ leaks here; was allocated at [(24)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
openssh-10.2p1/kex.c:193:18: warning[-Wanalyzer-malloc-leak]: leak of ‘proposal’
openssh-10.2p1/kex.c:191:25: acquire_memory: allocated here
openssh-10.2p1/kex.c:191:12: branch_false: following ‘false’ branch (when ‘proposal’ is non-NULL)...
openssh-10.2p1/kex.c:193:18: branch_false: ...to here
openssh-10.2p1/kex.c:193:18: throw: if ‘sshbuf_fromb’ throws an exception...
openssh-10.2p1/kex.c:193:18: danger: ‘proposal’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
openssh-10.2p1/kex.c:197:18: warning[-Wanalyzer-malloc-leak]: leak of ‘proposal’
openssh-10.2p1/kex.c:191:25: acquire_memory: allocated here
openssh-10.2p1/kex.c:191:12: branch_false: following ‘false’ branch (when ‘proposal’ is non-NULL)...
openssh-10.2p1/kex.c:193:18: branch_false: ...to here
openssh-10.2p1/kex.c:193:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:197:18: branch_false: ...to here
openssh-10.2p1/kex.c:197:18: throw: if ‘sshbuf_consume’ throws an exception...
openssh-10.2p1/kex.c:197:18: danger: ‘proposal’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
openssh-10.2p1/kex.c:198:17: warning[-Wanalyzer-malloc-leak]: leak of ‘proposal’
openssh-10.2p1/kex.c:191:25: acquire_memory: allocated here
openssh-10.2p1/kex.c:191:12: branch_false: following ‘false’ branch (when ‘proposal’ is non-NULL)...
openssh-10.2p1/kex.c:193:18: branch_false: ...to here
openssh-10.2p1/kex.c:193:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:197:18: branch_false: ...to here
openssh-10.2p1/kex.c:197:12: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:198:17: branch_true: ...to here
openssh-10.2p1/kex.c:198:17: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/kex.c:198:17: danger: ‘proposal’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
openssh-10.2p1/kex.c:203:26: warning[-Wanalyzer-malloc-leak]: leak of ‘proposal’
openssh-10.2p1/kex.c:191:25: acquire_memory: allocated here
openssh-10.2p1/kex.c:191:12: branch_false: following ‘false’ branch (when ‘proposal’ is non-NULL)...
openssh-10.2p1/kex.c:193:18: branch_false: ...to here
openssh-10.2p1/kex.c:193:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:197:18: branch_false: ...to here
openssh-10.2p1/kex.c:197:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:202:14: branch_false: ...to here
openssh-10.2p1/kex.c:202:21: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:203:58: branch_true: ...to here
openssh-10.2p1/kex.c:203:26: throw: if ‘sshbuf_get_cstring’ throws an exception...
openssh-10.2p1/kex.c:203:26: danger: ‘proposal’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
openssh-10.2p1/kex.c:700:26: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:700:26: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/kex.c:700:26: danger: ‘kex’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
openssh-10.2p1/kex.c:701:24: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:701:24: branch_false: ...to here
openssh-10.2p1/kex.c:701:24: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/kex.c:701:24: danger: ‘kex’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
openssh-10.2p1/kex.c:702:36: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:701:24: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:702:36: branch_false: ...to here
openssh-10.2p1/kex.c:702:36: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/kex.c:702:36: danger: ‘kex’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
openssh-10.2p1/kex.c:703:36: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:701:24: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:702:36: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:703:36: branch_false: ...to here
openssh-10.2p1/kex.c:703:36: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/kex.c:703:36: danger: ‘kex’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
openssh-10.2p1/kex.c:704:32: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:701:24: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:702:36: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:703:36: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:704:32: branch_false: ...to here
openssh-10.2p1/kex.c:704:32: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/kex.c:704:32: danger: ‘kex’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
openssh-10.2p1/kex.c:750:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:695:1: enter_function: entry to ‘kex_new’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:705:17: branch_true: ...to here
openssh-10.2p1/kex.c:705:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
openssh-10.2p1/kex.c:752:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:695:1: enter_function: entry to ‘kex_new’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:705:17: branch_true: ...to here
openssh-10.2p1/kex.c:705:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
openssh-10.2p1/kex.c:754:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:695:1: enter_function: entry to ‘kex_new’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:705:17: branch_true: ...to here
openssh-10.2p1/kex.c:705:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
openssh-10.2p1/kex.c:760:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:695:1: enter_function: entry to ‘kex_new’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:705:17: branch_true: ...to here
openssh-10.2p1/kex.c:705:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
openssh-10.2p1/kex.c:761:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:695:1: enter_function: entry to ‘kex_new’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:705:17: branch_true: ...to here
openssh-10.2p1/kex.c:705:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
openssh-10.2p1/kex.c:762:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:695:1: enter_function: entry to ‘kex_new’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:705:17: branch_true: ...to here
openssh-10.2p1/kex.c:705:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
openssh-10.2p1/kex.c:763:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:695:1: enter_function: entry to ‘kex_new’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:705:17: branch_true: ...to here
openssh-10.2p1/kex.c:705:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
openssh-10.2p1/kex.c:764:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.2p1/kex.c:695:1: enter_function: entry to ‘kex_new’
openssh-10.2p1/kex.c:699:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:699:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.2p1/kex.c:700:26: branch_false: ...to here
openssh-10.2p1/kex.c:699:13: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:705:17: branch_true: ...to here
openssh-10.2p1/kex.c:705:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
openssh-10.2p1/kex.c:1161:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1161:17: throw: if ‘OSSL_PARAM_BLD_push_utf8_string’ throws an exception...
openssh-10.2p1/kex.c:1161:17: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
openssh-10.2p1/kex.c:1163:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1163:17: branch_true: ...to here
openssh-10.2p1/kex.c:1163:17: throw: if ‘sshbuf_len’ throws an exception...
openssh-10.2p1/kex.c:1163:17: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
openssh-10.2p1/kex.c:1164:33: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1163:17: branch_true: ...to here
openssh-10.2p1/kex.c:1164:33: throw: if ‘sshbuf_ptr’ throws an exception...
openssh-10.2p1/kex.c:1164:33: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
openssh-10.2p1/kex.c:1165:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1163:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1165:17: branch_true: ...to here
openssh-10.2p1/kex.c:1165:17: throw: if ‘OSSL_PARAM_BLD_push_octet_string’ throws an exception...
openssh-10.2p1/kex.c:1165:17: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
openssh-10.2p1/kex.c:1167:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1163:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1165:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1168:73: branch_true: ...to here
openssh-10.2p1/kex.c:1167:17: throw: if ‘sshbuf_len’ throws an exception...
openssh-10.2p1/kex.c:1167:17: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
openssh-10.2p1/kex.c:1168:33: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1163:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1165:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1168:73: branch_true: ...to here
openssh-10.2p1/kex.c:1168:33: throw: if ‘sshbuf_ptr’ throws an exception...
openssh-10.2p1/kex.c:1168:33: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
openssh-10.2p1/kex.c:1169:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1163:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1165:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1168:73: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1169:17: branch_true: ...to here
openssh-10.2p1/kex.c:1169:17: throw: if ‘OSSL_PARAM_BLD_push_utf8_string’ throws an exception...
openssh-10.2p1/kex.c:1169:17: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
openssh-10.2p1/kex.c:1176:18: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1163:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1165:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1168:73: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1169:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1176:18: branch_true: ...to here
openssh-10.2p1/kex.c:1176:18: throw: if ‘OSSL_PARAM_BLD_to_param’ throws an exception...
openssh-10.2p1/kex.c:1176:18: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
openssh-10.2p1/kex.c:1181:13: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1163:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1165:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1168:73: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1169:17: branch_true: ...to here
openssh-10.2p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1176:18: branch_true: ...to here
openssh-10.2p1/kex.c:1177:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1181:13: branch_false: ...to here
openssh-10.2p1/kex.c:1181:13: throw: if ‘EVP_KDF_derive’ throws an exception...
openssh-10.2p1/kex.c:1181:13: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
openssh-10.2p1/kex.c:1195:9: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1195:9: throw: if ‘OSSL_PARAM_BLD_free’ throws an exception...
openssh-10.2p1/kex.c:1195:9: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
openssh-10.2p1/kex.c:1196:9: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.2p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1141:12: branch_false: ...to here
openssh-10.2p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1146:12: branch_false: ...to here
openssh-10.2p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1150:24: branch_false: ...to here
openssh-10.2p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.2p1/kex.c:1155:19: branch_false: ...to here
openssh-10.2p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.2p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/kex.c:1161:17: branch_false: ...to here
openssh-10.2p1/kex.c:1196:9: throw: if ‘OSSL_PARAM_free’ throws an exception...
openssh-10.2p1/kex.c:1196:9: danger: ‘key’ leaks here; was allocated at [(9)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
openssh-10.2p1/kex.c:1684:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pub_ser’
openssh-10.2p1/kex.c:1656:12: branch_false: following ‘false’ branch (when ‘k’ is non-NULL)...
openssh-10.2p1/kex.c:1658:20: branch_false: ...to here
openssh-10.2p1/kex.c:1658:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1659:26: branch_false: ...to here
openssh-10.2p1/kex.c:1658:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1660:23: branch_false: ...to here
openssh-10.2p1/kex.c:1658:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1665:27: branch_false: ...to here
openssh-10.2p1/kex.c:1665:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1666:13: branch_false: ...to here
openssh-10.2p1/kex.c:1665:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kex.c:1673:20: branch_false: ...to here
openssh-10.2p1/kex.c:1673:12: branch_true: following ‘true’ branch...
openssh-10.2p1/kex.c:1677:25: branch_true: ...to here
openssh-10.2p1/kex.c:1680:32: acquire_memory: allocated here
openssh-10.2p1/kex.c:1680:20: branch_false: following ‘false’ branch (when ‘pub_ser’ is non-NULL)...
openssh-10.2p1/kex.c:1684:17: branch_false: ...to here
openssh-10.2p1/kex.c:1684:17: throw: if ‘EC_POINT_point2oct’ throws an exception...
openssh-10.2p1/kex.c:1684:17: danger: ‘pub_ser’ leaks here; was allocated at [(15)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
openssh-10.2p1/kexdh.c:144:30: warning[-Wanalyzer-malloc-leak]: leak of ‘kbuf’
openssh-10.2p1/kexdh.c:107:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:112:21: branch_false: ...to here
openssh-10.2p1/kexdh.c:116:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:124:13: branch_false: ...to here
openssh-10.2p1/kexdh.c:125:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:131:20: branch_false: ...to here
openssh-10.2p1/kexdh.c:131:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:136:13: branch_false: ...to here
openssh-10.2p1/kexdh.c:136:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:137:13: branch_false: ...to here
openssh-10.2p1/kexdh.c:136:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:138:13: branch_false: ...to here
openssh-10.2p1/kexdh.c:136:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:143:21: branch_false: ...to here
openssh-10.2p1/kexdh.c:143:21: acquire_memory: allocated here
openssh-10.2p1/kexdh.c:143:12: branch_false: following ‘false’ branch (when ‘kbuf’ is non-NULL)...
openssh-10.2p1/kexdh.c:144:30: branch_false: ...to here
openssh-10.2p1/kexdh.c:144:30: throw: if ‘BN_new’ throws an exception...
openssh-10.2p1/kexdh.c:144:30: danger: ‘kbuf’ leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
openssh-10.2p1/kexdh.c:148:13: warning[-Wanalyzer-malloc-leak]: leak of ‘kbuf’
openssh-10.2p1/kexdh.c:107:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:112:21: branch_false: ...to here
openssh-10.2p1/kexdh.c:116:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:124:13: branch_false: ...to here
openssh-10.2p1/kexdh.c:125:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:131:20: branch_false: ...to here
openssh-10.2p1/kexdh.c:131:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:136:13: branch_false: ...to here
openssh-10.2p1/kexdh.c:136:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:137:13: branch_false: ...to here
openssh-10.2p1/kexdh.c:136:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:138:13: branch_false: ...to here
openssh-10.2p1/kexdh.c:136:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:143:21: branch_false: ...to here
openssh-10.2p1/kexdh.c:143:21: acquire_memory: allocated here
openssh-10.2p1/kexdh.c:143:12: branch_false: following ‘false’ branch (when ‘kbuf’ is non-NULL)...
openssh-10.2p1/kexdh.c:144:30: branch_false: ...to here
openssh-10.2p1/kexdh.c:143:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexdh.c:148:13: branch_false: ...to here
openssh-10.2p1/kexdh.c:148:13: throw: if ‘EVP_PKEY_derive’ throws an exception...
openssh-10.2p1/kexdh.c:148:13: danger: ‘kbuf’ leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
openssh-10.2p1/kexecdh.c:250:13: warning[-Wanalyzer-malloc-leak]: leak of ‘kbuf’
openssh-10.2p1/kexecdh.c:186:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:191:9: branch_false: ...to here
openssh-10.2p1/kexecdh.c:193:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:197:18: branch_false: ...to here
openssh-10.2p1/kexecdh.c:197:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:202:18: branch_false: ...to here
openssh-10.2p1/kexecdh.c:202:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:204:9: branch_false: ...to here
openssh-10.2p1/kexecdh.c:205:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:206:26: branch_false: ...to here
openssh-10.2p1/kexecdh.c:205:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:210:27: branch_false: ...to here
openssh-10.2p1/kexecdh.c:210:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:214:13: branch_false: ...to here
openssh-10.2p1/kexecdh.c:214:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:216:13: branch_false: ...to here
openssh-10.2p1/kexecdh.c:214:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:218:23: branch_false: ...to here
openssh-10.2p1/kexecdh.c:214:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:223:13: branch_false: ...to here
openssh-10.2p1/kexecdh.c:223:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:224:13: branch_false: ...to here
openssh-10.2p1/kexecdh.c:223:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:226:13: branch_false: ...to here
openssh-10.2p1/kexecdh.c:223:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:236:9: branch_false: ...to here
openssh-10.2p1/kexecdh.c:238:12: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:239:13: branch_false: ...to here
openssh-10.2p1/kexecdh.c:238:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:240:13: branch_false: ...to here
openssh-10.2p1/kexecdh.c:238:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:241:13: branch_false: ...to here
openssh-10.2p1/kexecdh.c:238:13: branch_false: following ‘false’ branch...
openssh-10.2p1/kexecdh.c:246:21: branch_false: ...to here
openssh-10.2p1/kexecdh.c:246:21: acquire_memory: allocated here
openssh-10.2p1/kexecdh.c:246:12: branch_false: following ‘false’ branch (when ‘kbuf’ is non-NULL)...
openssh-10.2p1/kexecdh.c:250:13: branch_false: ...to here
openssh-10.2p1/kexecdh.c:250:13: throw: if ‘EVP_PKEY_derive’ throws an exception...
openssh-10.2p1/kexecdh.c:250:13: danger: ‘kbuf’ leaks here; was allocated at [(35)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/34)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def210]
openssh-10.2p1/kexecdh.c:274:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘publen’
Error: COMPILER_WARNING (CWE-195): [#def211]
openssh-10.2p1/kexgssc.c: scope_hint: In function ‘input_kexgssgex_group’
openssh-10.2p1/kexgssc.c:618:28: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def212]
openssh-10.2p1/kexgssc.c:618:57: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-704): [#def213]
openssh-10.2p1/kexmlkem768x25519.c: scope_hint: In function ‘buf2nist_key’
openssh-10.2p1/kexmlkem768x25519.c:675:82: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘OSSL_PARAM_construct_utf8_string’ discards ‘const’ qualifier from pointer target type
/usr/include/openssl/indicator.h:18: included_from: Included from here.
/usr/include/openssl/core_dispatch.h:16: included_from: Included from here.
/usr/include/openssl/evp.h:28: included_from: Included from here.
openssh-10.2p1/sshkey.h:33: included_from: Included from here.
openssh-10.2p1/kexmlkem768x25519.c:37: included_from: Included from here.
/usr/include/openssl/params.h:88:68: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def214]
openssh-10.2p1/kexmlkem768x25519.c:675:82: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘OSSL_PARAM_construct_utf8_string’ discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def215]
openssh-10.2p1/kexmlkem768x25519.c: scope_hint: In function ‘nist_pkey_keygen’
openssh-10.2p1/kexmlkem768x25519.c:755:82: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘OSSL_PARAM_construct_utf8_string’ discards ‘const’ qualifier from pointer target type
/usr/include/openssl/params.h:88:68: note: expected ‘char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def216]
openssh-10.2p1/kexmlkem768x25519.c:755:82: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘OSSL_PARAM_construct_utf8_string’ discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING: [#def217]
openssh-10.2p1/kexmlkem768x25519.c:42: included_from: Included from here.
openssh-10.2p1/kexmlkem768x25519.c: scope_hint: In function ‘get_uncompressed_ec_pubkey’
openssh-10.2p1/kexmlkem768x25519.c:839:21: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘size_t’ {aka ‘long unsigned int’}
openssh-10.2p1/log.h:123:100: note: in definition of macro ‘debug_f’
openssh-10.2p1/kexmlkem768x25519.c:839:78: note: format string is defined here
Error: COMPILER_WARNING: [#def218]
openssh-10.2p1/kexmlkem768x25519.c:839:21: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘size_t’ {aka ‘long unsigned int’}
openssh-10.2p1/log.h:123:100: note: in definition of macro ‘debug_f’
openssh-10.2p1/kexmlkem768x25519.c:839:86: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
openssh-10.2p1/krl.c:142:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ssh_krl_init()’
openssh-10.2p1/krl.c:1278:1: enter_function: entry to ‘ssh_krl_file_contains_key’
openssh-10.2p1/krl.c:1284:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/krl.c:1286:18: branch_false: ...to here
openssh-10.2p1/krl.c:1286:12: branch_false: following ‘false’ branch...
openssh-10.2p1/krl.c:1290:18: branch_false: ...to here
openssh-10.2p1/krl.c:1290:18: call_function: calling ‘ssh_krl_from_blob’ from ‘ssh_krl_file_contains_key’
Error: COMPILER_WARNING: [#def220]
openssh-10.2p1/log.c: scope_hint: In function ‘do_log’
openssh-10.2p1/log.c:404:53: warning[-Wformat-truncation=]: ‘: ’ directive output may be truncated writing 2 bytes into a region of size between 1 and 1024
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 3 or more bytes (assuming 1026) into a destination of size 1024
Error: COMPILER_WARNING: [#def221]
openssh-10.2p1/log.c: scope_hint: In function ‘do_log’
openssh-10.2p1/log.c:416:58: warning: ‘
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 3 and 1026 bytes into a destination of size 1024
Error: COMPILER_WARNING: [#def222]
openssh-10.2p1/log.c: scope_hint: In function ‘sshlogv’
openssh-10.2p1/log.c:472:67: warning[-Wformat-truncation=]: ‘%ld’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 111
openssh-10.2p1/log.c:472:36: note: directive argument in the range [-2147483648, 2147483647]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 20 or more bytes (assuming 133) into a destination of size 128
Error: GCC_ANALYZER_WARNING (CWE-404): [#def223]
openssh-10.2p1/log.c:476:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/log.c:447:1: enter_function: entry to ‘sshlogdie’
openssh-10.2p1/log.c:452:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/log.c:453:9: call_function: calling ‘sshlogv’ from ‘sshlogdie’
Error: COMPILER_WARNING (CWE-704): [#def224]
openssh-10.2p1/match.c: scope_hint: In function ‘match_user’
openssh-10.2p1/match.c:244:24: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def225]
openssh-10.2p1/match.c:244:24: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def226]
openssh-10.2p1/misc-agent.c:140:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/misc-agent.c:116:20: branch_false: following ‘false’ branch...
openssh-10.2p1/misc-agent.c:123:29: branch_false: ...to here
openssh-10.2p1/misc-agent.c:123:29: acquire_resource: stream socket created here
openssh-10.2p1/misc-agent.c:123:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/misc-agent.c:127:21: branch_false: ...to here
openssh-10.2p1/misc-agent.c:139:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc-agent.c:140:25: branch_true: ...to here
openssh-10.2p1/misc-agent.c:140:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/misc-agent.c:140:25: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def227]
openssh-10.2p1/misc-agent.c:147:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/misc-agent.c:116:20: branch_false: following ‘false’ branch...
openssh-10.2p1/misc-agent.c:123:29: branch_false: ...to here
openssh-10.2p1/misc-agent.c:123:29: acquire_resource: stream socket created here
openssh-10.2p1/misc-agent.c:123:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/misc-agent.c:127:21: branch_false: ...to here
openssh-10.2p1/misc-agent.c:139:20: branch_false: following ‘false’ branch...
openssh-10.2p1/misc-agent.c:145:9: branch_false: ...to here
openssh-10.2p1/misc-agent.c:146:12: branch_true: following ‘true’ branch (when ‘good != 0’)...
openssh-10.2p1/misc-agent.c:147:17: branch_true: ...to here
openssh-10.2p1/misc-agent.c:147:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/misc-agent.c:147:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
openssh-10.2p1/misc-agent.c:150:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/misc-agent.c:116:20: branch_false: following ‘false’ branch...
openssh-10.2p1/misc-agent.c:123:29: branch_false: ...to here
openssh-10.2p1/misc-agent.c:123:29: acquire_resource: stream socket created here
openssh-10.2p1/misc-agent.c:123:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/misc-agent.c:127:21: branch_false: ...to here
openssh-10.2p1/misc-agent.c:139:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc-agent.c:140:25: branch_true: ...to here
openssh-10.2p1/misc-agent.c:146:12: branch_false: following ‘false’ branch (when ‘good == 0’)...
openssh-10.2p1/misc-agent.c:149:19: branch_false: ...to here
openssh-10.2p1/misc-agent.c:149:19: branch_true: following ‘true’ branch (when ‘sock != -1’)...
openssh-10.2p1/misc-agent.c:150:17: branch_true: ...to here
openssh-10.2p1/misc-agent.c:150:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/misc-agent.c:150:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def229]
openssh-10.2p1/misc-agent.c:244:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/misc-agent.c:235:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc-agent.c:240:19: branch_false: ...to here
openssh-10.2p1/misc-agent.c:240:19: acquire_resource: stream socket created here
openssh-10.2p1/misc-agent.c:240:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
openssh-10.2p1/misc-agent.c:244:9: branch_false: ...to here
openssh-10.2p1/misc-agent.c:244:9: throw: if ‘set_nonblock’ throws an exception...
openssh-10.2p1/misc-agent.c:244:9: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
openssh-10.2p1/misc-agent.c:310:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
openssh-10.2p1/misc-agent.c:283:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc-agent.c:289:9: branch_false: ...to here
openssh-10.2p1/misc-agent.c:292:12: branch_false: following ‘false’ branch (when ‘ignore_hosthash != 0’)...
openssh-10.2p1/misc-agent.c:302:9: branch_false: ...to here
openssh-10.2p1/misc-agent.c:303:18: acquire_memory: allocated here
openssh-10.2p1/misc-agent.c:303:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc-agent.c:309:9: branch_false: ...to here
openssh-10.2p1/misc-agent.c:310:22: throw: if ‘readdir’ throws an exception...
openssh-10.2p1/misc-agent.c:310:22: danger: ‘opendir(dirpath)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
openssh-10.2p1/misc.c:651:29: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
openssh-10.2p1/misc.c:633:1: enter_function: entry to ‘convtime’
openssh-10.2p1/misc.c:639:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:641:18: acquire_memory: allocated here
openssh-10.2p1/misc.c:642:12: branch_false: following ‘false’ branch (when ‘os’ is non-NULL)...
openssh-10.2p1/misc.c:642:12: branch_false: ...to here
openssh-10.2p1/misc.c:645:16: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:646:22: branch_true: ...to here
openssh-10.2p1/misc.c:646:22: call_function: calling ‘scandigits’ from ‘convtime’
openssh-10.2p1/misc.c:646:22: return_function: returning to ‘convtime’ from ‘scandigits’
openssh-10.2p1/misc.c:651:29: throw: if ‘strtonum’ throws an exception...
openssh-10.2p1/misc.c:651:29: danger: ‘p’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: COMPILER_WARNING: [#def232]
openssh-10.2p1/misc.c: scope_hint: In function ‘fmt_timeframe’
openssh-10.2p1/misc.c:728:40: warning[-Wformat-truncation=]: ‘%02llu’ directive output may be truncated writing between 2 and 14 bytes into a region of size 9
openssh-10.2p1/misc.c:728:39: note: directive argument in the range [1, 30500568904943]
openssh-10.2p1/misc.c:728:39: note: directive argument in the range [0, 6]
openssh-10.2p1/misc.c:728:39: note: directive argument in the range [0, 23]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 9 and 21 bytes into a destination of size 9
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
openssh-10.2p1/misc.c:767:27: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(s)’
openssh-10.2p1/misc.c:930:1: enter_function: entry to ‘parse_user_host_port’
openssh-10.2p1/misc.c:938:12: branch_false: following ‘false’ branch (when ‘hostp’ is NULL)...
openssh-10.2p1/misc.c:940:12: branch_false: ...to here
openssh-10.2p1/misc.c:943:27: acquire_memory: allocated here
openssh-10.2p1/misc.c:943:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:946:19: branch_false: ...to here
openssh-10.2p1/misc.c:946:12: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
openssh-10.2p1/misc.c:955:19: branch_false: ...to here
openssh-10.2p1/misc.c:955:19: call_function: calling ‘hpdelim’ from ‘parse_user_host_port’
openssh-10.2p1/misc.c:955:19: return_function: returning to ‘parse_user_host_port’ from ‘hpdelim’
openssh-10.2p1/misc.c:955:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:957:16: throw: if ‘xstrdup’ throws an exception...
openssh-10.2p1/misc.c:767:27: danger: ‘strdup(s)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def234]
openssh-10.2p1/misc.c:1323:20: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1463:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.2p1/misc.c:1469:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1470:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def235]
openssh-10.2p1/misc.c:1324:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1463:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.2p1/misc.c:1469:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1470:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def236]
openssh-10.2p1/misc.c:1337:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1463:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.2p1/misc.c:1469:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1470:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def237]
openssh-10.2p1/misc.c:1342:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1463:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.2p1/misc.c:1469:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1470:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def238]
openssh-10.2p1/misc.c:1344:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1463:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.2p1/misc.c:1469:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1470:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: COMPILER_WARNING (CWE-704): [#def239]
openssh-10.2p1/misc.c: scope_hint: In function ‘vdollar_percent_expand’
openssh-10.2p1/misc.c:1352:37: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def240]
openssh-10.2p1/misc.c:1352:37: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-404): [#def241]
openssh-10.2p1/misc.c:1353:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1425:1: enter_function: entry to ‘dollar_expand’
openssh-10.2p1/misc.c:1431:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1432:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def242]
openssh-10.2p1/misc.c:1359:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1425:1: enter_function: entry to ‘dollar_expand’
openssh-10.2p1/misc.c:1431:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1432:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def243]
openssh-10.2p1/misc.c:1362:31: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1425:1: enter_function: entry to ‘dollar_expand’
openssh-10.2p1/misc.c:1431:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1432:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def244]
openssh-10.2p1/misc.c:1365:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1425:1: enter_function: entry to ‘dollar_expand’
openssh-10.2p1/misc.c:1431:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1432:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def245]
openssh-10.2p1/misc.c:1384:34: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1444:1: enter_function: entry to ‘percent_expand’
openssh-10.2p1/misc.c:1450:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1451:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def246]
openssh-10.2p1/misc.c:1385:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1444:1: enter_function: entry to ‘percent_expand’
openssh-10.2p1/misc.c:1450:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1451:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_expand’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def247]
openssh-10.2p1/misc.c:1565:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dupfd’
openssh-10.2p1/misc.c:1560:31: acquire_resource: opened here
openssh-10.2p1/misc.c:1560:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:1560:12: branch_false: ...to here
openssh-10.2p1/misc.c:1565:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.2p1/misc.c:1567:21: branch_true: ...to here
openssh-10.2p1/misc.c:1567:21: throw: if ‘fcntl’ throws an exception...
openssh-10.2p1/misc.c:1565:16: danger: ‘dupfd’ leaks here; was opened at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def248]
openssh-10.2p1/misc.c:1567:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.2p1/misc.c:1560:31: acquire_resource: opened here
openssh-10.2p1/misc.c:1560:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:1560:12: branch_false: ...to here
openssh-10.2p1/misc.c:1565:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.2p1/misc.c:1567:21: branch_true: ...to here
openssh-10.2p1/misc.c:1565:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.2p1/misc.c:1567:21: branch_true: ...to here
openssh-10.2p1/misc.c:1567:21: throw: if ‘fcntl’ throws an exception...
openssh-10.2p1/misc.c:1567:21: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def249]
openssh-10.2p1/misc.c:1568:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), dupfd)’
openssh-10.2p1/misc.c:1560:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:1560:12: branch_false: ...to here
openssh-10.2p1/misc.c:1565:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.2p1/misc.c:1567:21: branch_true: ...to here
openssh-10.2p1/misc.c:1567:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:1568:29: acquire_resource: opened here
openssh-10.2p1/misc.c:1568:28: danger: ‘dup2(open("/dev/null", 2), dupfd)’ leaks here; was opened at [(7)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def250]
openssh-10.2p1/misc.c:1574:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.2p1/misc.c:1560:31: acquire_resource: opened here
openssh-10.2p1/misc.c:1560:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:1560:12: branch_false: ...to here
openssh-10.2p1/misc.c:1565:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.2p1/misc.c:1567:21: branch_true: ...to here
openssh-10.2p1/misc.c:1574:12: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def251]
openssh-10.2p1/misc.c:1611:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/misc.c:1610:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/misc.c:1611:9: throw: if ‘xvasprintf’ throws an exception...
openssh-10.2p1/misc.c:1611:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
openssh-10.2p1/misc.c:1986:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/misc.c:1970:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:1977:16: branch_false: ...to here
openssh-10.2p1/misc.c:1977:16: acquire_resource: stream socket created here
openssh-10.2p1/misc.c:1978:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/misc.c:1984:12: branch_false: ...to here
openssh-10.2p1/misc.c:1984:12: branch_true: following ‘true’ branch (when ‘unlink_first == 1’)...
openssh-10.2p1/misc.c:1985:21: branch_true: ...to here
openssh-10.2p1/misc.c:1985:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:1986:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/misc.c:1986:25: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def253]
openssh-10.2p1/misc.c:1997:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/misc.c:1970:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:1977:16: branch_false: ...to here
openssh-10.2p1/misc.c:1977:16: acquire_resource: stream socket created here
openssh-10.2p1/misc.c:1978:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/misc.c:1984:12: branch_false: ...to here
openssh-10.2p1/misc.c:1988:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:1995:13: branch_false: ...to here
openssh-10.2p1/misc.c:1995:12: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:1996:31: branch_true: ...to here
openssh-10.2p1/misc.c:1997:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/misc.c:1997:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def254]
openssh-10.2p1/misc.c:1998:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/misc.c:1970:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:1977:16: branch_false: ...to here
openssh-10.2p1/misc.c:1977:16: acquire_resource: stream socket created here
openssh-10.2p1/misc.c:1978:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/misc.c:1984:12: branch_false: ...to here
openssh-10.2p1/misc.c:1988:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:1995:13: branch_false: ...to here
openssh-10.2p1/misc.c:1995:12: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:1996:31: branch_true: ...to here
openssh-10.2p1/misc.c:1998:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/misc.c:1998:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def255]
openssh-10.2p1/misc.c:2075:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 256)’
openssh-10.2p1/misc.c:2074:19: acquire_resource: opened here
openssh-10.2p1/misc.c:2074:12: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2075:17: branch_true: ...to here
openssh-10.2p1/misc.c:2075:17: danger: ‘open("/dev/tty", 256)’ leaks here; was opened at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
openssh-10.2p1/misc.c:2207:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/misc.c:2171:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2174:21: branch_false: following ‘false’ branch (when ‘i >= argc’)...
openssh-10.2p1/misc.c:2205:27: branch_false: ...to here
openssh-10.2p1/misc.c:2205:20: acquire_memory: allocated here
openssh-10.2p1/misc.c:2205:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/misc.c:2207:9: branch_false: ...to here
openssh-10.2p1/misc.c:2207:9: throw: if ‘sshbuf_len’ throws an exception...
openssh-10.2p1/misc.c:2207:9: danger: ‘ret’ leaks here; was allocated at [(5)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
openssh-10.2p1/misc.c:2207:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/misc.c:2171:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2174:21: branch_false: following ‘false’ branch (when ‘i >= argc’)...
openssh-10.2p1/misc.c:2205:27: branch_false: ...to here
openssh-10.2p1/misc.c:2205:20: acquire_memory: allocated here
openssh-10.2p1/misc.c:2205:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/misc.c:2207:9: branch_false: ...to here
openssh-10.2p1/misc.c:2207:21: throw: if ‘sshbuf_ptr’ throws an exception...
openssh-10.2p1/misc.c:2207:21: danger: ‘ret’ leaks here; was allocated at [(5)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
openssh-10.2p1/misc.c:2208:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/misc.c:2171:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2174:21: branch_false: following ‘false’ branch (when ‘i >= argc’)...
openssh-10.2p1/misc.c:2205:27: branch_false: ...to here
openssh-10.2p1/misc.c:2205:20: acquire_memory: allocated here
openssh-10.2p1/misc.c:2205:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/misc.c:2207:9: branch_false: ...to here
openssh-10.2p1/misc.c:2208:13: throw: if ‘sshbuf_len’ throws an exception...
openssh-10.2p1/misc.c:2208:13: danger: ‘ret’ leaks here; was allocated at [(5)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
openssh-10.2p1/misc.c:2209:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/misc.c:2171:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2174:21: branch_false: following ‘false’ branch (when ‘i >= argc’)...
openssh-10.2p1/misc.c:2205:27: branch_false: ...to here
openssh-10.2p1/misc.c:2205:20: acquire_memory: allocated here
openssh-10.2p1/misc.c:2205:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/misc.c:2207:9: branch_false: ...to here
openssh-10.2p1/misc.c:2209:9: throw: if ‘sshbuf_free’ throws an exception...
openssh-10.2p1/misc.c:2209:9: danger: ‘ret’ leaks here; was allocated at [(5)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
openssh-10.2p1/misc.c:2210:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/misc.c:2171:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2174:21: branch_false: following ‘false’ branch (when ‘i >= argc’)...
openssh-10.2p1/misc.c:2205:27: branch_false: ...to here
openssh-10.2p1/misc.c:2205:20: acquire_memory: allocated here
openssh-10.2p1/misc.c:2205:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/misc.c:2207:9: branch_false: ...to here
openssh-10.2p1/misc.c:2210:9: throw: if ‘sshbuf_free’ throws an exception...
openssh-10.2p1/misc.c:2210:9: danger: ‘ret’ leaks here; was allocated at [(5)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def261]
openssh-10.2p1/misc.c:2377:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2792:1: enter_function: entry to ‘subprocess’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2871:25: branch_true: ...to here
openssh-10.2p1/misc.c:2873:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def262]
openssh-10.2p1/misc.c:2377:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2792:1: enter_function: entry to ‘subprocess’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2871:25: branch_true: ...to here
openssh-10.2p1/misc.c:2873:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def263]
openssh-10.2p1/misc.c:2386:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2792:1: enter_function: entry to ‘subprocess’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2871:25: branch_true: ...to here
openssh-10.2p1/misc.c:2873:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def264]
openssh-10.2p1/misc.c:2386:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2792:1: enter_function: entry to ‘subprocess’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2871:25: branch_true: ...to here
openssh-10.2p1/misc.c:2873:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def265]
openssh-10.2p1/misc.c:2422:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2792:1: enter_function: entry to ‘subprocess’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2871:25: branch_true: ...to here
openssh-10.2p1/misc.c:2873:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def266]
openssh-10.2p1/misc.c:2422:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2792:1: enter_function: entry to ‘subprocess’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2871:25: branch_true: ...to here
openssh-10.2p1/misc.c:2873:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def267]
openssh-10.2p1/misc.c:2754:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2792:1: enter_function: entry to ‘subprocess’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2881:17: branch_false: ...to here
openssh-10.2p1/misc.c:2881:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.2p1/misc.c:2882:25: branch_true: ...to here
openssh-10.2p1/misc.c:2882:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def268]
openssh-10.2p1/misc.c:2754:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2792:1: enter_function: entry to ‘subprocess’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2881:17: branch_false: ...to here
openssh-10.2p1/misc.c:2881:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.2p1/misc.c:2882:25: branch_true: ...to here
openssh-10.2p1/misc.c:2882:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.2p1/misc.c:2882:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.2p1/misc.c:2881:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.2p1/misc.c:2882:25: branch_true: ...to here
openssh-10.2p1/misc.c:2882:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def269]
openssh-10.2p1/misc.c:2754:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[i]’
openssh-10.2p1/misc.c:2792:1: enter_function: entry to ‘subprocess’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2881:17: branch_false: ...to here
openssh-10.2p1/misc.c:2881:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.2p1/misc.c:2882:25: branch_true: ...to here
openssh-10.2p1/misc.c:2882:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def270]
openssh-10.2p1/misc.c:2770:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 0)’
openssh-10.2p1/misc.c:2765:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2770:12: branch_false: ...to here
openssh-10.2p1/misc.c:2770:12: branch_true: following ‘true’ branch (when ‘do_stdin != 0’)...
openssh-10.2p1/misc.c:2770:26: branch_true: ...to here
openssh-10.2p1/misc.c:2770:26: acquire_resource: opened here
openssh-10.2p1/misc.c:2770:13: danger: ‘dup2(open("/dev/null", 2), 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def271]
openssh-10.2p1/misc.c:2771:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 1)’
openssh-10.2p1/misc.c:2765:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2770:12: branch_false: ...to here
openssh-10.2p1/misc.c:2770:13: branch_true: following ‘true’ branch (when ‘do_stdout != 0’)...
openssh-10.2p1/misc.c:2771:27: branch_true: ...to here
openssh-10.2p1/misc.c:2771:27: acquire_resource: opened here
openssh-10.2p1/misc.c:2771:13: danger: ‘dup2(open("/dev/null", 2), 1)’ leaks here; was opened at [(5)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def272]
openssh-10.2p1/misc.c:2772:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 2)’
openssh-10.2p1/misc.c:2765:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2770:12: branch_false: ...to here
openssh-10.2p1/misc.c:2770:13: branch_true: following ‘true’ branch (when ‘do_stderr != 0’)...
openssh-10.2p1/misc.c:2772:27: branch_true: ...to here
openssh-10.2p1/misc.c:2772:27: acquire_resource: opened here
openssh-10.2p1/misc.c:2772:13: danger: ‘dup2(open("/dev/null", 2), 2)’ leaks here; was opened at [(5)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def273]
openssh-10.2p1/misc.c:2773:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.2p1/misc.c:2765:24: acquire_resource: opened here
openssh-10.2p1/misc.c:2765:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2770:12: branch_false: ...to here
openssh-10.2p1/misc.c:2773:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/misc.c:2773:17: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def274]
openssh-10.2p1/misc.c:2776:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.2p1/misc.c:2765:24: acquire_resource: opened here
openssh-10.2p1/misc.c:2765:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2770:12: branch_false: ...to here
openssh-10.2p1/misc.c:2776:12: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def275]
openssh-10.2p1/misc.c:2777:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.2p1/misc.c:2765:24: acquire_resource: opened here
openssh-10.2p1/misc.c:2765:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2770:12: branch_false: ...to here
openssh-10.2p1/misc.c:2776:12: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2777:17: branch_true: ...to here
openssh-10.2p1/misc.c:2777:17: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def276]
openssh-10.2p1/misc.c:2860:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2859:12: branch_true: following ‘true’ branch (when ‘restore_privs’ is non-NULL)...
openssh-10.2p1/misc.c:2860:17: branch_true: ...to here
openssh-10.2p1/misc.c:2860:17: throw: if the called function throws an exception...
openssh-10.2p1/misc.c:2860:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def277]
openssh-10.2p1/misc.c:2860:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2859:12: branch_true: following ‘true’ branch (when ‘restore_privs’ is non-NULL)...
openssh-10.2p1/misc.c:2860:17: branch_true: ...to here
openssh-10.2p1/misc.c:2860:17: throw: if the called function throws an exception...
openssh-10.2p1/misc.c:2860:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
openssh-10.2p1/misc.c:2862:24: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2947:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2949:23: branch_false: ...to here
openssh-10.2p1/misc.c:2949:23: acquire_memory: allocated here
openssh-10.2p1/misc.c:2949:17: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/misc.c:2959:9: branch_false: ...to here
openssh-10.2p1/misc.c:2960:12: branch_false: following ‘false’ branch (when ‘child’ is NULL)...
openssh-10.2p1/misc.c:2808:24: branch_false: ...to here
openssh-10.2p1/misc.c:2862:24: danger: ‘f’ leaks here; was allocated at [(14)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def279]
openssh-10.2p1/misc.c:2864:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2864:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/misc.c:2864:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def280]
openssh-10.2p1/misc.c:2864:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2864:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/misc.c:2864:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def281]
openssh-10.2p1/misc.c:2865:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2865:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/misc.c:2865:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def282]
openssh-10.2p1/misc.c:2865:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2865:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/misc.c:2865:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def283]
openssh-10.2p1/misc.c:2866:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2866:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/misc.c:2866:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
openssh-10.2p1/misc.c:2872:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2871:25: branch_true: ...to here
openssh-10.2p1/misc.c:2872:31: throw: if ‘xcalloc’ throws an exception...
openssh-10.2p1/misc.c:2872:31: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def285]
openssh-10.2p1/misc.c:2872:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2870:20: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2871:25: branch_true: ...to here
openssh-10.2p1/misc.c:2872:31: throw: if ‘xcalloc’ throws an exception...
openssh-10.2p1/misc.c:2872:31: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def286]
openssh-10.2p1/misc.c:2946:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2946:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/misc.c:2946:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def287]
openssh-10.2p1/misc.c:2946:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2946:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/misc.c:2946:9: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def288]
openssh-10.2p1/misc.c:2948:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2947:12: branch_true: following ‘true’ branch...
openssh-10.2p1/misc.c:2948:17: branch_true: ...to here
openssh-10.2p1/misc.c:2948:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/misc.c:2948:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
openssh-10.2p1/misc.c:2959:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.2p1/misc.c:2826:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2835:14: branch_false: ...to here
openssh-10.2p1/misc.c:2835:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2839:12: branch_false: ...to here
openssh-10.2p1/misc.c:2841:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2846:13: branch_false: ...to here
openssh-10.2p1/misc.c:2852:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2859:12: branch_false: ...to here
openssh-10.2p1/misc.c:2947:12: branch_false: following ‘false’ branch...
openssh-10.2p1/misc.c:2949:23: branch_false: ...to here
openssh-10.2p1/misc.c:2949:23: acquire_memory: allocated here
openssh-10.2p1/misc.c:2949:17: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.2p1/misc.c:2959:9: branch_false: ...to here
openssh-10.2p1/misc.c:2959:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/misc.c:2959:9: danger: ‘f’ leaks here; was allocated at [(14)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/13)
Error: COMPILER_WARNING (CWE-9001): [#def290]
openssh-10.2p1/ssh-keycat.c:57: included_from: Included from here.
openssh-10.2p1/misc.h:159:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def291]
openssh-10.2p1/misc.h:159:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def292]
openssh-10.2p1/misc.h:161:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def293]
openssh-10.2p1/misc.h:161:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def294]
openssh-10.2p1/misc.h:163:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def295]
openssh-10.2p1/misc.h:163:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def296]
openssh-10.2p1/misc.h:165:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def297]
openssh-10.2p1/misc.h:165:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def298]
openssh-10.2p1/misc.h:167:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def299]
openssh-10.2p1/misc.h:167:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def300]
openssh-10.2p1/misc.h:169:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def301]
openssh-10.2p1/misc.h:169:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def302]
openssh-10.2p1/misc.h:173:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def303]
openssh-10.2p1/misc.h:173:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def304]
openssh-10.2p1/misc.h:175:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def305]
openssh-10.2p1/misc.h:175:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-563): [#def306]
openssh-10.2p1/monitor.c:758:32: warning[-Wunused-variable]: unused variable ‘alglen’
Error: COMPILER_WARNING (CWE-195): [#def307]
openssh-10.2p1/monitor.c: scope_hint: In function ‘mm_answer_sign’
openssh-10.2p1/monitor.c:772:57: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’
Error: COMPILER_WARNING (CWE-704): [#def308]
openssh-10.2p1/monitor.c:822:39: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def309]
openssh-10.2p1/monitor.c:822:39: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def310]
openssh-10.2p1/monitor.c:833:39: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def311]
openssh-10.2p1/monitor.c:833:39: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-195): [#def312]
openssh-10.2p1/monitor.c: scope_hint: In function ‘mm_answer_keyverify’
openssh-10.2p1/monitor.c:1620:18: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’}
Error: GCC_ANALYZER_WARNING (CWE-775): [#def313]
openssh-10.2p1/monitor.c:1790:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*<unknown>.ttyfd, 0)’
openssh-10.2p1/monitor.c:1775:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1777:9: branch_false: ...to here
openssh-10.2p1/monitor.c:1781:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1783:30: branch_false: ...to here
openssh-10.2p1/monitor.c:1785:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1786:18: branch_false: ...to here
openssh-10.2p1/monitor.c:1785:13: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1790:13: branch_false: ...to here
openssh-10.2p1/monitor.c:1790:13: acquire_resource: opened here
openssh-10.2p1/monitor.c:1790:12: danger: ‘dup2(*<unknown>.ttyfd, 0)’ leaks here; was opened at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def314]
openssh-10.2p1/monitor.c:1812:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
openssh-10.2p1/monitor.c:1775:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1777:9: branch_false: ...to here
openssh-10.2p1/monitor.c:1781:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1783:30: branch_false: ...to here
openssh-10.2p1/monitor.c:1785:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1786:18: branch_false: ...to here
openssh-10.2p1/monitor.c:1785:13: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1790:13: branch_false: ...to here
openssh-10.2p1/monitor.c:1790:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1793:41: branch_false: ...to here
openssh-10.2p1/monitor.c:1799:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1801:9: branch_false: ...to here
openssh-10.2p1/monitor.c:1805:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1806:13: branch_false: ...to here
openssh-10.2p1/monitor.c:1805:13: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1810:20: branch_false: ...to here
openssh-10.2p1/monitor.c:1810:20: acquire_resource: opened here
openssh-10.2p1/monitor.c:1810:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1812:12: branch_false: ...to here
openssh-10.2p1/monitor.c:1812:12: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(17)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def315]
openssh-10.2p1/monitor.c:1813:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
openssh-10.2p1/monitor.c:1775:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1777:9: branch_false: ...to here
openssh-10.2p1/monitor.c:1781:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1783:30: branch_false: ...to here
openssh-10.2p1/monitor.c:1785:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1786:18: branch_false: ...to here
openssh-10.2p1/monitor.c:1785:13: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1790:13: branch_false: ...to here
openssh-10.2p1/monitor.c:1790:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1793:41: branch_false: ...to here
openssh-10.2p1/monitor.c:1799:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1801:9: branch_false: ...to here
openssh-10.2p1/monitor.c:1805:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1806:13: branch_false: ...to here
openssh-10.2p1/monitor.c:1805:13: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1810:20: branch_false: ...to here
openssh-10.2p1/monitor.c:1810:20: acquire_resource: opened here
openssh-10.2p1/monitor.c:1810:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:1812:12: branch_false: ...to here
openssh-10.2p1/monitor.c:1812:12: branch_true: following ‘true’ branch...
openssh-10.2p1/monitor.c:1813:17: branch_true: ...to here
openssh-10.2p1/monitor.c:1813:17: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(17)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def316]
openssh-10.2p1/monitor.c:2085:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pair[0]’
openssh-10.2p1/monitor.c:2069:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:2077:9: branch_false: ...to here
openssh-10.2p1/monitor.c:2077:9: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:2078:9: branch_false: ...to here
openssh-10.2p1/monitor.c:2078:9: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:2079:25: branch_false: ...to here
openssh-10.2p1/monitor.c:2082:12: branch_true: following ‘true’ branch (when ‘do_logfds != 0’)...
openssh-10.2p1/monitor.c:2083:21: branch_true: ...to here
openssh-10.2p1/monitor.c:2083:20: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:2085:17: branch_false: ...to here
openssh-10.2p1/monitor.c:2085:17: throw: if ‘fcntl’ throws an exception...
openssh-10.2p1/monitor.c:2085:17: danger: ‘pair[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def317]
openssh-10.2p1/monitor.c:2085:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pair[1]’
openssh-10.2p1/monitor.c:2069:12: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:2077:9: branch_false: ...to here
openssh-10.2p1/monitor.c:2077:9: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:2078:9: branch_false: ...to here
openssh-10.2p1/monitor.c:2078:9: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:2079:25: branch_false: ...to here
openssh-10.2p1/monitor.c:2082:12: branch_true: following ‘true’ branch (when ‘do_logfds != 0’)...
openssh-10.2p1/monitor.c:2083:21: branch_true: ...to here
openssh-10.2p1/monitor.c:2083:20: branch_false: following ‘false’ branch...
openssh-10.2p1/monitor.c:2085:17: branch_false: ...to here
openssh-10.2p1/monitor.c:2085:17: throw: if ‘fcntl’ throws an exception...
openssh-10.2p1/monitor.c:2085:17: danger: ‘pair[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def318]
openssh-10.2p1/monitor_wrap.c:672:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp1’
openssh-10.2p1/monitor_wrap.c:670:21: acquire_resource: opened here
openssh-10.2p1/monitor_wrap.c:670:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.2p1/monitor_wrap.c:671:33: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:670:13: branch_true: following ‘true’ branch (when ‘tmp2 == -1’)...
openssh-10.2p1/monitor_wrap.c:672:17: branch_true: ...to here
openssh-10.2p1/monitor_wrap.c:672:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/monitor_wrap.c:672:17: danger: ‘tmp1’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def319]
openssh-10.2p1/monitor_wrap.c:674:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp1’
openssh-10.2p1/monitor_wrap.c:670:21: acquire_resource: opened here
openssh-10.2p1/monitor_wrap.c:670:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.2p1/monitor_wrap.c:671:33: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:670:13: branch_true: following ‘true’ branch (when ‘tmp2 == -1’)...
openssh-10.2p1/monitor_wrap.c:672:17: branch_true: ...to here
openssh-10.2p1/monitor_wrap.c:673:20: branch_true: following ‘true’ branch (when ‘tmp1 >= 0’)...
openssh-10.2p1/monitor_wrap.c:674:25: branch_true: ...to here
openssh-10.2p1/monitor_wrap.c:674:25: throw: if ‘close’ throws an exception...
openssh-10.2p1/monitor_wrap.c:674:25: danger: ‘tmp1’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def320]
openssh-10.2p1/monitor_wrap.c:677:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp1’
openssh-10.2p1/monitor_wrap.c:670:21: acquire_resource: opened here
openssh-10.2p1/monitor_wrap.c:670:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.2p1/monitor_wrap.c:671:33: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:670:13: branch_false: following ‘false’ branch (when ‘tmp2 != -1’)...
openssh-10.2p1/monitor_wrap.c:677:9: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:677:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/monitor_wrap.c:677:9: danger: ‘tmp1’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def321]
openssh-10.2p1/monitor_wrap.c:677:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp2’
openssh-10.2p1/monitor_wrap.c:670:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.2p1/monitor_wrap.c:671:33: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:671:21: acquire_resource: opened here
openssh-10.2p1/monitor_wrap.c:670:13: branch_false: following ‘false’ branch (when ‘tmp2 != -1’)...
openssh-10.2p1/monitor_wrap.c:677:9: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:677:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/monitor_wrap.c:677:9: danger: ‘tmp2’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def322]
openssh-10.2p1/monitor_wrap.c:678:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp2’
openssh-10.2p1/monitor_wrap.c:670:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.2p1/monitor_wrap.c:671:33: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:671:21: acquire_resource: opened here
openssh-10.2p1/monitor_wrap.c:670:13: branch_false: following ‘false’ branch (when ‘tmp2 != -1’)...
openssh-10.2p1/monitor_wrap.c:677:9: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:678:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/monitor_wrap.c:678:9: danger: ‘tmp2’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def323]
openssh-10.2p1/monitor_wrap.c:712:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp1’
openssh-10.2p1/monitor_wrap.c:670:21: acquire_resource: opened here
openssh-10.2p1/monitor_wrap.c:670:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.2p1/monitor_wrap.c:671:33: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:670:13: branch_true: following ‘true’ branch (when ‘tmp2 == -1’)...
openssh-10.2p1/monitor_wrap.c:672:17: branch_true: ...to here
openssh-10.2p1/monitor_wrap.c:673:20: branch_false: following ‘false’ branch (when ‘tmp1 < 0’)...
openssh-10.2p1/monitor_wrap.c:675:24: branch_false: ...to here
openssh-10.2p1/monitor_wrap.c:712:1: danger: ‘tmp1’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-704): [#def324]
openssh-10.2p1/mux.c: scope_hint: In function ‘env_permitted’
openssh-10.2p1/mux.c:238:17: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def325]
openssh-10.2p1/mux.c:238:17: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def326]
openssh-10.2p1/mux.c:2294:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/mux.c:2286:12: branch_false: following ‘false’ branch...
openssh-10.2p1/mux.c:2291:21: branch_false: ...to here
openssh-10.2p1/mux.c:2291:21: acquire_resource: stream socket created here
openssh-10.2p1/mux.c:2291:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.2p1/mux.c:2294:13: branch_false: ...to here
openssh-10.2p1/mux.c:2294:13: throw: if ‘connect’ throws an exception...
openssh-10.2p1/mux.c:2294:13: danger: ‘sock’ leaks here
Error: COMPILER_WARNING (CWE-704): [#def327]
openssh-10.2p1/openbsd-compat/base64.c: scope_hint: In function ‘__b64_pton’
openssh-10.2p1/openbsd-compat/base64.c:212:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def328]
openssh-10.2p1/openbsd-compat/base64.c:212:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING: [#def329]
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c: scope_hint: In function ‘bcrypt_hash’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:77:13: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (33 chars into 32 available)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:84:9: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def331]
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:85:9: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:87:17: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def333]
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:88:17: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:94:28: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def335]
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:97:17: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:140:9: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:140:9: throw: if ‘crypto_hash_sha512’ throws an exception...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:140:9: danger: ‘countsalt’ leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def337]
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:150:17: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:150:17: throw: if ‘crypto_hash_sha512’ throws an exception...
openssh-10.2p1/openbsd-compat/bcrypt_pbkdf.c:150:17: danger: ‘countsalt’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:139:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&fdpath)’
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:132:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:137:66: branch_false: ...to here
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:138:8: branch_true: following ‘true’ branch...
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:138:60: branch_true: ...to here
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:138:60: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:138:9: branch_true: following ‘true’ branch...
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:138:9: branch_true: ...to here
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:139:24: throw: if ‘readdir’ throws an exception...
openssh-10.2p1/openbsd-compat/bsd-closefrom.c:139:24: danger: ‘opendir(&fdpath)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-704): [#def339]
openssh-10.2p1/openbsd-compat/getopt_long.c: scope_hint: In function ‘getopt_internal’
openssh-10.2p1/openbsd-compat/getopt_long.c:441:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def340]
openssh-10.2p1/openbsd-compat/getopt_long.c:441:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
openssh-10.2p1/openbsd-compat/glob.c:833:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pathv’
openssh-10.2p1/openbsd-compat/glob.c:808:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/glob.c:808:13: branch_false: following ‘false’ branch (when ‘newn <= 2305843009213693950’)...
openssh-10.2p1/openbsd-compat/glob.c:828:30: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:828:17: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/glob.c:829:12: branch_false: following ‘false’ branch (when ‘pathv’ is non-NULL)...
openssh-10.2p1/openbsd-compat/glob.c:831:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:831:12: branch_true: following ‘true’ branch...
openssh-10.2p1/openbsd-compat/glob.c:834:42: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:835:25: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:834:42: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:835:25: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:834:42: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:835:25: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:834:42: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:835:25: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:834:42: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:835:25: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:834:42: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:835:25: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:834:42: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:835:25: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:834:42: branch_false: following ‘false’ branch (when ‘i == 0’)...
openssh-10.2p1/openbsd-compat/glob.c:837:9: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:839:12: branch_true: following ‘true’ branch...
openssh-10.2p1/openbsd-compat/glob.c:840:38: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:841:20: branch_false: following ‘false’ branch (when ‘statv’ is non-NULL)...
openssh-10.2p1/openbsd-compat/glob.c:843:21: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:850:20: branch_false: following ‘false’ branch (when ‘sb’ is non-NULL)...
openssh-10.2p1/openbsd-compat/glob.c:853:25: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:854:28: branch_true: following ‘true’ branch...
openssh-10.2p1/openbsd-compat/glob.c:833:17: danger: ‘pathv’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
openssh-10.2p1/openbsd-compat/glob.c:845:25: warning[-Wanalyzer-malloc-leak]: leak of ‘statv’
openssh-10.2p1/openbsd-compat/glob.c:808:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/glob.c:808:13: branch_false: following ‘false’ branch (when ‘newn <= 2305843009213693950’)...
openssh-10.2p1/openbsd-compat/glob.c:828:30: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:829:12: branch_false: following ‘false’ branch (when ‘pathv’ is non-NULL)...
openssh-10.2p1/openbsd-compat/glob.c:831:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:839:12: branch_true: following ‘true’ branch...
openssh-10.2p1/openbsd-compat/glob.c:840:38: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:840:25: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/glob.c:841:20: branch_false: following ‘false’ branch (when ‘statv’ is non-NULL)...
openssh-10.2p1/openbsd-compat/glob.c:843:21: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:843:20: branch_true: following ‘true’ branch...
openssh-10.2p1/openbsd-compat/glob.c:846:50: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:847:33: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:846:50: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:847:33: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:846:50: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:847:33: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:846:50: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:847:33: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:846:50: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.2p1/openbsd-compat/glob.c:847:33: branch_true: ...to here
openssh-10.2p1/openbsd-compat/glob.c:846:50: branch_false: following ‘false’ branch (when ‘i == 0’)...
openssh-10.2p1/openbsd-compat/glob.c:849:17: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:850:20: branch_false: following ‘false’ branch (when ‘sb’ is non-NULL)...
openssh-10.2p1/openbsd-compat/glob.c:853:25: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:854:28: branch_true: following ‘true’ branch...
openssh-10.2p1/openbsd-compat/glob.c:845:25: danger: ‘statv’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
openssh-10.2p1/openbsd-compat/glob.c:999:14: warning[-Wanalyzer-malloc-leak]: leak of ‘g_opendir(pathbuf, pglob)’
openssh-10.2p1/openbsd-compat/glob.c:698:1: enter_function: entry to ‘glob3’
openssh-10.2p1/openbsd-compat/glob.c:715:12: branch_false: following ‘false’ branch (when ‘pathend <= pathend_last’)...
openssh-10.2p1/openbsd-compat/glob.c:717:9: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:720:21: call_function: calling ‘g_opendir’ from ‘glob3’
openssh-10.2p1/openbsd-compat/glob.c:720:21: return_function: returning to ‘glob3’ from ‘g_opendir’
openssh-10.2p1/openbsd-compat/glob.c:720:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/glob.c:735:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/glob.c:739:22: throw: if the called function throws an exception...
openssh-10.2p1/openbsd-compat/glob.c:999:14: danger: ‘g_opendir(pathbuf, pglob)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: COMPILER_WARNING (CWE-477): [#def344]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:67:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def345]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:67:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def346]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:68:24: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def347]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:68:24: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def348]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:114:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def349]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:114:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def350]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:141:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def351]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:141:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def352]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c: scope_hint: In function ‘get_user_context’
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:179:17: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def353]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:179:17: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def354]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:180:17: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def355]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:180:17: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def356]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c: scope_hint: At top level
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:239:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def357]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:239:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def358]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:240:5: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def359]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:240:5: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def360]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c: scope_hint: In function ‘sshd_selinux_getctxbyname’
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:271:25: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def361]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:271:25: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def362]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:292:33: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def363]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:292:33: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def364]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c: scope_hint: In function ‘sshd_selinux_setup_exec_context’
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:385:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def365]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:385:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def366]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:387:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def367]
openssh-10.2p1/openbsd-compat/port-linux-sshd.c:387:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-1164): [#def368]
openssh-10.2p1/openbsd-compat/port-linux.c:68:1: warning[-Wunused-function]: ‘ssh_selinux_getctxbyname’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def369]
openssh-10.2p1/openbsd-compat/port-linux.c:285:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(oom_adj_path, "w")’
openssh-10.2p1/openbsd-compat/port-linux.c:281:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:282:19: acquire_resource: opened here
openssh-10.2p1/openbsd-compat/port-linux.c:281:13: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:285:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/port-linux.c:285:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:288:17: branch_false: ...to here
openssh-10.2p1/openbsd-compat/port-linux.c:288:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/openbsd-compat/port-linux.c:285:13: danger: ‘fopen(oom_adj_path, "w")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
openssh-10.2p1/openbsd-compat/port-linux.c:285:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(oom_adj_path, "w")’
openssh-10.2p1/openbsd-compat/port-linux.c:281:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:282:19: acquire_memory: allocated here
openssh-10.2p1/openbsd-compat/port-linux.c:281:13: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:285:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/port-linux.c:285:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:288:17: branch_false: ...to here
openssh-10.2p1/openbsd-compat/port-linux.c:288:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/openbsd-compat/port-linux.c:285:13: danger: ‘fopen(oom_adj_path, "w")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def371]
openssh-10.2p1/openbsd-compat/port-linux.c:327:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/openbsd-compat/port-linux.c:323:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:326:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/openbsd-compat/port-linux.c:327:9: throw: if ‘xvasprintf’ throws an exception...
openssh-10.2p1/openbsd-compat/port-linux.c:327:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def372]
openssh-10.2p1/openbsd-compat/port-linux.c:355:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/openbsd-compat/port-linux.c:323:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:331:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:336:12: branch_false: ...to here
openssh-10.2p1/openbsd-compat/port-linux.c:343:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:349:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/port-linux.c:349:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/port-linux.c:351:19: branch_false: ...to here
openssh-10.2p1/openbsd-compat/port-linux.c:351:19: acquire_resource: datagram socket created here
openssh-10.2p1/openbsd-compat/port-linux.c:351:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
openssh-10.2p1/openbsd-compat/port-linux.c:355:13: branch_false: ...to here
openssh-10.2p1/openbsd-compat/port-linux.c:355:13: throw: if ‘connect’ throws an exception...
openssh-10.2p1/openbsd-compat/port-linux.c:355:13: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def373]
openssh-10.2p1/openbsd-compat/readpassphrase.c:94:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 2)’
openssh-10.2p1/openbsd-compat/readpassphrase.c:64:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
openssh-10.2p1/openbsd-compat/readpassphrase.c:64:12: branch_false: ...to here
openssh-10.2p1/openbsd-compat/readpassphrase.c:70:21: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.2p1/openbsd-compat/readpassphrase.c:71:17: branch_true: ...to here
openssh-10.2p1/openbsd-compat/readpassphrase.c:79:12: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/readpassphrase.c:80:31: branch_false: ...to here
openssh-10.2p1/openbsd-compat/readpassphrase.c:80:31: acquire_resource: opened here
openssh-10.2p1/openbsd-compat/readpassphrase.c:79:13: branch_false: following ‘false’ branch...
openssh-10.2p1/openbsd-compat/readpassphrase.c:94:12: branch_false: ...to here
openssh-10.2p1/openbsd-compat/readpassphrase.c:94:12: danger: ‘open("/dev/tty", 2)’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: COMPILER_WARNING: [#def374]
openssh-10.2p1/openbsd-compat/vis.c: scope_hint: In function ‘stravis’
openssh-10.2p1/openbsd-compat/vis.c:229:23: warning[-Wuse-after-free]: pointer ‘buf_15’ may be used after ‘realloc’
openssh-10.2p1/openbsd-compat/vis.c:227:17: note: call to ‘realloc’ here
Error: GCC_ANALYZER_WARNING (CWE-404): [#def375]
openssh-10.2p1/packet.c:538:46: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/packet.c:2081:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.2p1/packet.c:2085:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/packet.c:2086:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def376]
openssh-10.2p1/packet.c:539:44: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/packet.c:2081:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.2p1/packet.c:2085:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/packet.c:2086:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def377]
openssh-10.2p1/packet.c:540:45: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/packet.c:2081:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.2p1/packet.c:2085:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/packet.c:2086:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def378]
openssh-10.2p1/packet.c:541:43: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/packet.c:2081:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.2p1/packet.c:2085:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/packet.c:2086:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def379]
openssh-10.2p1/packet.c:543:46: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/packet.c:2081:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.2p1/packet.c:2085:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/packet.c:2086:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def380]
openssh-10.2p1/packet.c:545:45: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/packet.c:2081:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.2p1/packet.c:2085:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/packet.c:2086:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def381]
openssh-10.2p1/packet.c:2560:18: warning[-Wanalyzer-malloc-leak]: leak of ‘newkey’
openssh-10.2p1/packet.c:2556:23: acquire_memory: allocated here
openssh-10.2p1/packet.c:2556:12: branch_false: following ‘false’ branch (when ‘newkey’ is non-NULL)...
openssh-10.2p1/packet.c:2560:18: branch_false: ...to here
openssh-10.2p1/packet.c:2560:18: throw: if ‘sshbuf_froms’ throws an exception...
openssh-10.2p1/packet.c:2560:18: danger: ‘newkey’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
openssh-10.2p1/packet.c:2569:18: warning[-Wanalyzer-malloc-leak]: leak of ‘newkey’
openssh-10.2p1/packet.c:2556:23: acquire_memory: allocated here
openssh-10.2p1/packet.c:2556:12: branch_false: following ‘false’ branch (when ‘newkey’ is non-NULL)...
openssh-10.2p1/packet.c:2560:18: branch_false: ...to here
openssh-10.2p1/packet.c:2560:12: branch_false: following ‘false’ branch...
openssh-10.2p1/packet.c:2566:9: branch_false: ...to here
openssh-10.2p1/packet.c:2569:18: throw: if ‘sshbuf_get_cstring’ throws an exception...
openssh-10.2p1/packet.c:2569:18: danger: ‘newkey’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def383]
openssh-10.2p1/readconf.c:811:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg’
openssh-10.2p1/readconf.c:2649:1: enter_function: entry to ‘read_config_file_depth’
openssh-10.2p1/readconf.c:2654:15: release_memory: ‘line’ is NULL
openssh-10.2p1/readconf.c:2659:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readconf.c:2662:18: branch_false: ...to here
openssh-10.2p1/readconf.c:2662:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readconf.c:2665:13: branch_false: ...to here
openssh-10.2p1/readconf.c:2682:16: branch_true: following ‘true’ branch...
openssh-10.2p1/readconf.c:2684:17: branch_true: ...to here
openssh-10.2p1/readconf.c:2690:21: call_function: calling ‘process_config_line_depth’ from ‘read_config_file_depth’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def384]
openssh-10.2p1/readconf.c:2665:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
openssh-10.2p1/readconf.c:2659:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readconf.c:2662:18: branch_false: ...to here
openssh-10.2p1/readconf.c:2662:18: acquire_resource: opened here
openssh-10.2p1/readconf.c:2662:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readconf.c:2665:13: branch_false: ...to here
openssh-10.2p1/readconf.c:2665:12: branch_true: following ‘true’ branch...
openssh-10.2p1/readconf.c:2668:21: branch_true: ...to here
openssh-10.2p1/readconf.c:2665:13: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def385]
openssh-10.2p1/readconf.c:2665:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
openssh-10.2p1/readconf.c:2659:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readconf.c:2662:18: branch_false: ...to here
openssh-10.2p1/readconf.c:2662:18: acquire_memory: allocated here
openssh-10.2p1/readconf.c:2662:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readconf.c:2665:13: branch_false: ...to here
openssh-10.2p1/readconf.c:2665:12: branch_true: following ‘true’ branch...
openssh-10.2p1/readconf.c:2668:21: branch_true: ...to here
openssh-10.2p1/readconf.c:2665:13: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-704): [#def386]
openssh-10.2p1/readconf.c: scope_hint: In function ‘parse_jump’
openssh-10.2p1/readconf.c:3527:33: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def387]
openssh-10.2p1/readconf.c:3527:33: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def388]
openssh-10.2p1/readpass.c:66:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:66:20: throw: if ‘ssh_signal’ throws an exception...
openssh-10.2p1/readpass.c:66:20: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def389]
openssh-10.2p1/readpass.c:66:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:66:20: throw: if ‘ssh_signal’ throws an exception...
openssh-10.2p1/readpass.c:66:20: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def390]
openssh-10.2p1/readpass.c:68:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/readpass.c:68:17: branch_true: ...to here
openssh-10.2p1/readpass.c:68:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/readpass.c:68:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def391]
openssh-10.2p1/readpass.c:68:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/readpass.c:68:17: branch_true: ...to here
openssh-10.2p1/readpass.c:68:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/readpass.c:68:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def392]
openssh-10.2p1/readpass.c:69:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/readpass.c:68:17: branch_true: ...to here
openssh-10.2p1/readpass.c:69:17: throw: if ‘ssh_signal’ throws an exception...
openssh-10.2p1/readpass.c:69:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def393]
openssh-10.2p1/readpass.c:69:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/readpass.c:68:17: branch_true: ...to here
openssh-10.2p1/readpass.c:69:17: throw: if ‘ssh_signal’ throws an exception...
openssh-10.2p1/readpass.c:69:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def394]
openssh-10.2p1/readpass.c:73:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/readpass.c:72:12: branch_false: ...to here
openssh-10.2p1/readpass.c:72:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/readpass.c:73:17: branch_true: ...to here
openssh-10.2p1/readpass.c:73:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/readpass.c:73:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def395]
openssh-10.2p1/readpass.c:73:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/readpass.c:72:12: branch_false: ...to here
openssh-10.2p1/readpass.c:72:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/readpass.c:73:17: branch_true: ...to here
openssh-10.2p1/readpass.c:73:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/readpass.c:73:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def396]
openssh-10.2p1/readpass.c:74:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(p[1], 1)’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/readpass.c:72:12: branch_false: ...to here
openssh-10.2p1/readpass.c:72:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/readpass.c:73:17: branch_true: ...to here
openssh-10.2p1/readpass.c:74:21: acquire_resource: opened here
openssh-10.2p1/readpass.c:74:20: danger: ‘dup2(p[1], 1)’ leaks here; was opened at [(10)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def397]
openssh-10.2p1/readpass.c:75:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/readpass.c:72:12: branch_false: ...to here
openssh-10.2p1/readpass.c:72:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/readpass.c:73:17: branch_true: ...to here
openssh-10.2p1/readpass.c:74:20: branch_true: following ‘true’ branch...
openssh-10.2p1/readpass.c:75:25: branch_true: ...to here
openssh-10.2p1/readpass.c:75:25: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/readpass.c:75:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def398]
openssh-10.2p1/readpass.c:79:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/readpass.c:72:12: branch_false: ...to here
openssh-10.2p1/readpass.c:72:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/readpass.c:73:17: branch_true: ...to here
openssh-10.2p1/readpass.c:74:20: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:76:20: branch_false: ...to here
openssh-10.2p1/readpass.c:79:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/readpass.c:79:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def399]
openssh-10.2p1/readpass.c:81:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/readpass.c:72:12: branch_false: ...to here
openssh-10.2p1/readpass.c:72:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/readpass.c:81:9: branch_false: ...to here
openssh-10.2p1/readpass.c:81:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/readpass.c:81:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def400]
openssh-10.2p1/readpass.c:81:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/readpass.c:72:12: branch_false: ...to here
openssh-10.2p1/readpass.c:72:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/readpass.c:81:9: branch_false: ...to here
openssh-10.2p1/readpass.c:81:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/readpass.c:81:9: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def401]
openssh-10.2p1/readpass.c:95:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.2p1/readpass.c:60:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.2p1/readpass.c:62:13: branch_false: ...to here
openssh-10.2p1/readpass.c:62:12: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:66:20: branch_false: ...to here
openssh-10.2p1/readpass.c:67:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/readpass.c:72:12: branch_false: ...to here
openssh-10.2p1/readpass.c:72:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/readpass.c:81:9: branch_false: ...to here
openssh-10.2p1/readpass.c:95:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/readpass.c:95:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def402]
openssh-10.2p1/readpass.c:161:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 2)’
openssh-10.2p1/readpass.c:144:17: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:146:18: branch_false: ...to here
openssh-10.2p1/readpass.c:146:17: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:152:17: branch_false: ...to here
openssh-10.2p1/readpass.c:153:25: acquire_resource: opened here
openssh-10.2p1/readpass.c:154:20: branch_true: following ‘true’ branch...
openssh-10.2p1/readpass.c:161:31: branch_true: ...to here
openssh-10.2p1/readpass.c:161:31: throw: if ‘write’ throws an exception...
openssh-10.2p1/readpass.c:161:31: danger: ‘open("/dev/tty", 2)’ leaks here; was opened at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def403]
openssh-10.2p1/readpass.c:162:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 2)’
openssh-10.2p1/readpass.c:144:17: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:146:18: branch_false: ...to here
openssh-10.2p1/readpass.c:146:17: branch_false: following ‘false’ branch...
openssh-10.2p1/readpass.c:152:17: branch_false: ...to here
openssh-10.2p1/readpass.c:153:25: acquire_resource: opened here
openssh-10.2p1/readpass.c:154:20: branch_true: following ‘true’ branch...
openssh-10.2p1/readpass.c:161:31: branch_true: ...to here
openssh-10.2p1/readpass.c:162:25: danger: ‘open("/dev/tty", 2)’ leaks here; was opened at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def404]
openssh-10.2p1/readpass.c:248:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/readpass.c:247:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/readpass.c:248:9: throw: if ‘xvasprintf’ throws an exception...
openssh-10.2p1/readpass.c:248:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def405]
openssh-10.2p1/readpass.c:312:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/readpass.c:306:12: branch_true: following ‘true’ branch...
openssh-10.2p1/readpass.c:311:17: acquire_resource: ‘va_start’ called here
openssh-10.2p1/readpass.c:312:17: throw: if ‘xvasprintf’ throws an exception...
openssh-10.2p1/readpass.c:312:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:106:20: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:233:1: enter_function: entry to ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:242:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:246:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:253:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:256:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:110:13: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:233:1: enter_function: entry to ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:242:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:246:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:253:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:256:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:114:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:233:1: enter_function: entry to ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:242:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:246:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:253:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:256:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:115:20: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:233:1: enter_function: entry to ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:242:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:246:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:253:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:256:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:116:18: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:233:1: enter_function: entry to ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:242:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:246:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:253:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:256:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:117:18: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:233:1: enter_function: entry to ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:242:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:246:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:253:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:256:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:121:36: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:233:1: enter_function: entry to ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:242:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:246:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:253:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:256:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:191:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:233:1: enter_function: entry to ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:242:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:246:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:253:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:260:21: call_function: calling ‘pack_key_ed25519’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def414]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:279:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*response.public_key’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:233:1: enter_function: entry to ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:242:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:246:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:249:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:253:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:260:21: call_function: calling ‘pack_key_ed25519’ from ‘sk_enroll’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:260:21: return_function: returning to ‘sk_enroll’ from ‘pack_key_ed25519’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:260:20: branch_true: following ‘true’ branch...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:261:25: branch_true: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:279:17: danger: second ‘free’ here; first ‘free’ was at [(16)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:325:20: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:509:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:326:13: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:509:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:330:19: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:509:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:335:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:509:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:338:19: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:509:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:349:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:509:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:428:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:515:21: call_function: calling ‘sig_ed25519’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:429:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:515:21: call_function: calling ‘sig_ed25519’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:430:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:515:21: call_function: calling ‘sig_ed25519’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:450:13: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:481:1: enter_function: entry to ‘sk_sign’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:515:21: call_function: calling ‘sig_ed25519’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: throw: if ‘SHA256_Init’ throws an exception...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:503:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:503:9: throw: if ‘SHA256_Update’ throws an exception...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:503:9: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:504:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:491:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:495:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:25: acquire_memory: allocated here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:502:9: branch_false: ...to here
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:504:9: throw: if ‘SHA256_Final’ throws an exception...
openssh-10.2p1/regress/misc/sk-dummy/sk-dummy.c:504:9: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
openssh-10.2p1/scp.c:971:25: warning[-Wanalyzer-malloc-leak]: leak of ‘active’
openssh-10.2p1/scp.c:1665:1: enter_function: entry to ‘sink’
openssh-10.2p1/scp.c:1693:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
openssh-10.2p1/scp.c:1697:9: branch_false: ...to here
openssh-10.2p1/scp.c:1704:12: branch_true: following ‘true’ branch...
openssh-10.2p1/scp.c:1709:21: call_function: calling ‘brace_expand’ from ‘sink’
Error: COMPILER_WARNING: [#def429]
openssh-10.2p1/scp.c: scope_hint: In function ‘rsource’
openssh-10.2p1/scp.c:1546:56: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 2 and 4095
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 2 and 4350 bytes into a destination of size 4096
Error: GCC_ANALYZER_WARNING (CWE-404): [#def430]
openssh-10.2p1/scp.c:2152:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/scp.c:2140:12: branch_false: following ‘false’ branch...
openssh-10.2p1/scp.c:2150:12: branch_true: following ‘true’ branch...
openssh-10.2p1/scp.c:2151:17: branch_true: ...to here
openssh-10.2p1/scp.c:2151:17: acquire_resource: ‘va_start’ called here
openssh-10.2p1/scp.c:2152:17: throw: if ‘vfmprintf’ throws an exception...
openssh-10.2p1/scp.c:2152:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def431]
openssh-10.2p1/scp.c:2185:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/scp.c:2170:12: branch_false: following ‘false’ branch (when ‘fmt’ is non-NULL)...
openssh-10.2p1/scp.c:2179:9: branch_false: ...to here
openssh-10.2p1/scp.c:2181:12: branch_false: following ‘false’ branch...
openssh-10.2p1/scp.c:2184:9: branch_false: ...to here
openssh-10.2p1/scp.c:2184:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/scp.c:2185:9: throw: if ‘vasnmprintf’ throws an exception...
openssh-10.2p1/scp.c:2185:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-401): [#def432]
openssh-10.2p1/sftp-glob.c:171: error[memleakOnRealloc]: Common realloc mistake: 's' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def433]
openssh-10.2p1/sftp-server.c:829: error[memleakOnRealloc]: Common realloc mistake: 'buf' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
openssh-10.2p1/sftp-server.c:1121:26: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(path)’
openssh-10.2p1/sftp-server.c:1106:1: enter_function: entry to ‘process_opendir’
openssh-10.2p1/sftp-server.c:1112:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp-server.c:1115:9: branch_false: ...to here
openssh-10.2p1/sftp-server.c:1117:16: acquire_memory: allocated here
openssh-10.2p1/sftp-server.c:1118:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp-server.c:1121:26: branch_false: ...to here
openssh-10.2p1/sftp-server.c:1121:26: call_function: calling ‘handle_new’ from ‘process_opendir’
Error: COMPILER_WARNING: [#def435]
openssh-10.2p1/sftp.c: scope_hint: In function ‘parse_dispatch_command’
openssh-10.2p1/sftp.c:1084:61: warning[-Wformat-truncation=]: ‘%3llu’ directive output may be truncated writing between 3 and 20 bytes into a region of size 16
openssh-10.2p1/sftp.c:1084:60: note: directive argument in the range [0, 18446744073709551612]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 5 and 22 bytes into a destination of size 16
Error: COMPILER_WARNING: [#def436]
openssh-10.2p1/sftp.c: scope_hint: In function ‘parse_dispatch_command’
openssh-10.2p1/sftp.c:1091:61: warning[-Wformat-truncation=]: ‘%3llu’ directive output may be truncated writing between 3 and 20 bytes into a region of size 16
openssh-10.2p1/sftp.c:1091:60: note: directive argument in the range [0, 18446744073709551612]
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 5 and 22 bytes into a destination of size 16
Error: GCC_ANALYZER_WARNING (CWE-476): [#def437]
openssh-10.2p1/sftp.c:2160:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.2p1/sftp.c:2129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2133:18: branch_false: ...to here
openssh-10.2p1/sftp.c:2154:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2158:19: branch_false: ...to here
openssh-10.2p1/sftp.c:2158:19: branch_true: following ‘true’ branch...
openssh-10.2p1/sftp.c:2160:21: danger: dereference of NULL ‘makeargv(xmalloc((long unsigned int)(len + 1)), &argc, 1, 0, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def438]
openssh-10.2p1/sftp.c:2185:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.2p1/sftp.c:2129:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2133:18: branch_false: ...to here
openssh-10.2p1/sftp.c:2154:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2158:19: branch_false: ...to here
openssh-10.2p1/sftp.c:2163:19: branch_true: following ‘true’ branch...
openssh-10.2p1/sftp.c:2169:20: branch_true: ...to here
openssh-10.2p1/sftp.c:2172:29: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2182:26: branch_false: ...to here
openssh-10.2p1/sftp.c:2185:26: danger: dereference of NULL ‘makeargv(xmalloc((long unsigned int)(len + 1)), &argc, 1, 0, 0)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def439]
openssh-10.2p1/sftp.c:2381:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(c_out, 0)’
openssh-10.2p1/sftp.c:2372:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2374:22: branch_false: ...to here
openssh-10.2p1/sftp.c:2378:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2380:18: branch_false: ...to here
openssh-10.2p1/sftp.c:2380:17: branch_true: following ‘true’ branch...
openssh-10.2p1/sftp.c:2381:22: branch_true: ...to here
openssh-10.2p1/sftp.c:2381:22: acquire_resource: opened here
openssh-10.2p1/sftp.c:2381:20: danger: ‘dup2(c_out, 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def440]
openssh-10.2p1/sftp.c:2381:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(c_out, 1)’
openssh-10.2p1/sftp.c:2372:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2374:22: branch_false: ...to here
openssh-10.2p1/sftp.c:2378:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2380:18: branch_false: ...to here
openssh-10.2p1/sftp.c:2380:17: branch_true: following ‘true’ branch...
openssh-10.2p1/sftp.c:2381:22: branch_true: ...to here
openssh-10.2p1/sftp.c:2381:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2382:22: branch_false: ...to here
openssh-10.2p1/sftp.c:2382:22: acquire_resource: opened here
openssh-10.2p1/sftp.c:2381:21: danger: ‘dup2(c_out, 1)’ leaks here; was opened at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def441]
openssh-10.2p1/sftp.c:2387:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘in’
openssh-10.2p1/sftp.c:2432:1: enter_function: entry to ‘main’
openssh-10.2p1/sftp.c:2465:16: branch_true: following ‘true’ branch (when ‘ch != -1’)...
openssh-10.2p1/sftp.c:2467:17: branch_true: ...to here
openssh-10.2p1/sftp.c:2597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2600:12: branch_false: ...to here
openssh-10.2p1/sftp.c:2600:12: branch_false: following ‘false’ branch (when ‘noisy == 0’)...
openssh-10.2p1/sftp.c:2603:9: branch_false: ...to here
openssh-10.2p1/sftp.c:2605:12: branch_false: following ‘false’ branch (when ‘sftp_direct’ is non-NULL)...
openssh-10.2p1/sftp.c:2657:26: branch_false: ...to here
openssh-10.2p1/sftp.c:2657:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2659:21: branch_false: ...to here
openssh-10.2p1/sftp.c:2659:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2661:17: branch_false: ...to here
openssh-10.2p1/sftp.c:2661:17: call_function: calling ‘connect_to_server’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def442]
openssh-10.2p1/sftp.c:2389:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘c_out’
openssh-10.2p1/sftp.c:2372:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2374:22: branch_false: ...to here
openssh-10.2p1/sftp.c:2378:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2380:18: branch_false: ...to here
openssh-10.2p1/sftp.c:2380:17: branch_true: following ‘true’ branch...
openssh-10.2p1/sftp.c:2381:22: branch_true: ...to here
openssh-10.2p1/sftp.c:2381:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2382:22: branch_false: ...to here
openssh-10.2p1/sftp.c:2381:21: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2386:17: branch_false: ...to here
openssh-10.2p1/sftp.c:2388:17: release_resource: first ‘close’ here
openssh-10.2p1/sftp.c:2389:17: danger: second ‘close’ here; first ‘close’ was at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def443]
openssh-10.2p1/sftp.c:2413:9: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘c_out’
openssh-10.2p1/sftp.c:2372:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2374:22: branch_false: ...to here
openssh-10.2p1/sftp.c:2378:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2380:18: branch_false: ...to here
openssh-10.2p1/sftp.c:2380:17: branch_false: following ‘false’ branch...
openssh-10.2p1/sftp.c:2405:9: branch_false: ...to here
openssh-10.2p1/sftp.c:2412:9: release_resource: first ‘close’ here
openssh-10.2p1/sftp.c:2413:9: danger: second ‘close’ here; first ‘close’ was at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def444]
openssh-10.2p1/sk-usbhid.c:147:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/sk-usbhid.c:172:1: enter_function: entry to ‘sk_open’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:25: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:185:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:190:24: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:190:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:191:17: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:191:17: call_function: calling ‘skdebug’ from ‘sk_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def445]
openssh-10.2p1/sk-usbhid.c:147:9: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
openssh-10.2p1/sk-usbhid.c:1149:1: enter_function: entry to ‘ssh_sk_sign’
openssh-10.2p1/sk-usbhid.c:1164:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:1168:9: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:1169:13: call_function: inlined call to ‘check_sign_load_resident_options’ from ‘ssh_sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
openssh-10.2p1/sk-usbhid.c:147:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.2p1/sk-usbhid.c:220:1: enter_function: entry to ‘sk_openv’
openssh-10.2p1/sk-usbhid.c:227:20: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:231:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.2p1/sk-usbhid.c:232:27: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:232:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:233:25: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:233:25: call_function: calling ‘skdebug’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def447]
openssh-10.2p1/sk-usbhid.c:147:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.2p1/sk-usbhid.c:172:1: enter_function: entry to ‘sk_open’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:19: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:186:17: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:186:17: call_function: calling ‘skdebug’ from ‘sk_open’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def448]
openssh-10.2p1/sk-usbhid.c:147:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/sk-usbhid.c:146:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/sk-usbhid.c:147:9: throw: if ‘xvasprintf’ throws an exception...
openssh-10.2p1/sk-usbhid.c:147:9: 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): [#def449]
openssh-10.2p1/sk-usbhid.c:149:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/sk-usbhid.c:172:1: enter_function: entry to ‘sk_open’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:25: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:185:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:190:24: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:190:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:191:17: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:191:17: call_function: calling ‘skdebug’ from ‘sk_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
openssh-10.2p1/sk-usbhid.c:149:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.2p1/sk-usbhid.c:220:1: enter_function: entry to ‘sk_openv’
openssh-10.2p1/sk-usbhid.c:227:20: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:231:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.2p1/sk-usbhid.c:232:27: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:232:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:233:25: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:233:25: call_function: calling ‘skdebug’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def451]
openssh-10.2p1/sk-usbhid.c:149:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.2p1/sk-usbhid.c:172:1: enter_function: entry to ‘sk_open’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:19: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:186:17: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:186:17: call_function: calling ‘skdebug’ from ‘sk_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
openssh-10.2p1/sk-usbhid.c:190:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:25: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:185:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:190:24: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:190:24: throw: if ‘fido_dev_new’ throws an exception...
openssh-10.2p1/sk-usbhid.c:190:24: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
openssh-10.2p1/sk-usbhid.c:190:24: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.2p1/sk-usbhid.c:220:1: enter_function: entry to ‘sk_openv’
openssh-10.2p1/sk-usbhid.c:227:20: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:231:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.2p1/sk-usbhid.c:232:27: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:234:41: call_function: calling ‘sk_open’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
openssh-10.2p1/sk-usbhid.c:190:24: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:19: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:190:24: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:190:24: throw: if ‘fido_dev_new’ throws an exception...
openssh-10.2p1/sk-usbhid.c:190:24: danger: ‘sk’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
openssh-10.2p1/sk-usbhid.c:196:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:25: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:185:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:190:24: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:190:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:196:41: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:196:18: throw: if ‘fido_dev_open’ throws an exception...
openssh-10.2p1/sk-usbhid.c:196:18: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
openssh-10.2p1/sk-usbhid.c:196:18: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.2p1/sk-usbhid.c:220:1: enter_function: entry to ‘sk_openv’
openssh-10.2p1/sk-usbhid.c:227:20: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:231:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.2p1/sk-usbhid.c:232:27: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:234:41: call_function: calling ‘sk_open’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
openssh-10.2p1/sk-usbhid.c:196:18: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:19: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:190:24: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:190:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:196:41: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:196:18: throw: if ‘fido_dev_open’ throws an exception...
openssh-10.2p1/sk-usbhid.c:196:18: danger: ‘sk’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
openssh-10.2p1/sk-usbhid.c:197:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:25: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:185:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:190:24: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:190:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:196:41: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:196:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:197:17: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:197:17: throw: if ‘fido_strerr’ throws an exception...
openssh-10.2p1/sk-usbhid.c:197:17: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
openssh-10.2p1/sk-usbhid.c:197:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:19: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:190:24: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:190:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:196:41: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:196:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:197:17: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:197:17: throw: if ‘fido_strerr’ throws an exception...
openssh-10.2p1/sk-usbhid.c:197:17: danger: ‘sk’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
openssh-10.2p1/sk-usbhid.c:199:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.2p1/sk-usbhid.c:177:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:181:19: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:181:19: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:181:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:185:25: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:185:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:190:24: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:190:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sk-usbhid.c:196:41: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:196:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:197:17: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:199:17: throw: if ‘fido_dev_free’ throws an exception...
openssh-10.2p1/sk-usbhid.c:199:17: danger: ‘sk’ leaks here; was allocated at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
openssh-10.2p1/sk-usbhid.c:212:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.2p1/sk-usbhid.c:220:1: enter_function: entry to ‘sk_openv’
openssh-10.2p1/sk-usbhid.c:227:20: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:232:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:233:25: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:239:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:239:12: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:240:29: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.2p1/sk-usbhid.c:241:37: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:241:25: call_function: inlined call to ‘sk_close’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
openssh-10.2p1/sk-usbhid.c:213:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.2p1/sk-usbhid.c:220:1: enter_function: entry to ‘sk_openv’
openssh-10.2p1/sk-usbhid.c:227:20: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:232:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:233:25: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:239:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:239:12: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:240:29: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.2p1/sk-usbhid.c:241:37: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:241:25: call_function: inlined call to ‘sk_close’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
openssh-10.2p1/sk-usbhid.c:214:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.2p1/sk-usbhid.c:220:1: enter_function: entry to ‘sk_openv’
openssh-10.2p1/sk-usbhid.c:227:20: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:232:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:233:25: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:239:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sk-usbhid.c:239:12: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:240:29: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.2p1/sk-usbhid.c:241:37: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:241:25: call_function: inlined call to ‘sk_close’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
openssh-10.2p1/sk-usbhid.c:232:27: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.2p1/sk-usbhid.c:227:20: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:231:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.2p1/sk-usbhid.c:232:27: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:232:27: throw: if ‘fido_dev_info_ptr’ throws an exception...
openssh-10.2p1/sk-usbhid.c:232:27: danger: ‘skv’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
openssh-10.2p1/sk-usbhid.c:234:41: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.2p1/sk-usbhid.c:227:20: acquire_memory: allocated here
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
openssh-10.2p1/sk-usbhid.c:227:12: branch_false: ...to here
openssh-10.2p1/sk-usbhid.c:231:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.2p1/sk-usbhid.c:232:27: branch_true: ...to here
openssh-10.2p1/sk-usbhid.c:234:41: throw: if ‘fido_dev_info_path’ throws an exception...
openssh-10.2p1/sk-usbhid.c:234:41: danger: ‘skv’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
openssh-10.2p1/ssh-add.c:286:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pin’
openssh-10.2p1/ssh-add.c:668:1: enter_function: entry to ‘do_file’
openssh-10.2p1/ssh-add.c:673:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-add.c:674:13: branch_true: ...to here
openssh-10.2p1/ssh-add.c:673:13: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-add.c:676:24: branch_true: ...to here
openssh-10.2p1/ssh-add.c:676:24: call_function: calling ‘update_pkcs11_uri’ from ‘do_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def467]
openssh-10.2p1/ssh-add.c:317:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
openssh-10.2p1/ssh-add.c:668:1: enter_function: entry to ‘do_file’
openssh-10.2p1/ssh-add.c:680:12: branch_false: following ‘false’ branch (when ‘deleting == 0’)...
openssh-10.2p1/ssh-add.c:685:21: branch_false: ...to here
openssh-10.2p1/ssh-add.c:685:21: call_function: calling ‘add_file’ from ‘do_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def468]
openssh-10.2p1/ssh-add.c:318:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
openssh-10.2p1/ssh-add.c:668:1: enter_function: entry to ‘do_file’
openssh-10.2p1/ssh-add.c:680:12: branch_false: following ‘false’ branch (when ‘deleting == 0’)...
openssh-10.2p1/ssh-add.c:685:21: branch_false: ...to here
openssh-10.2p1/ssh-add.c:685:21: call_function: calling ‘add_file’ from ‘do_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
openssh-10.2p1/ssh-add.c:496:18: warning[-Wanalyzer-malloc-leak]: leak of ‘pin’
openssh-10.2p1/ssh-add.c:668:1: enter_function: entry to ‘do_file’
openssh-10.2p1/ssh-add.c:673:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-add.c:674:13: branch_true: ...to here
openssh-10.2p1/ssh-add.c:673:13: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-add.c:676:24: branch_true: ...to here
openssh-10.2p1/ssh-add.c:676:24: call_function: calling ‘update_pkcs11_uri’ from ‘do_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
openssh-10.2p1/ssh-add.c:505:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pin’
openssh-10.2p1/ssh-add.c:668:1: enter_function: entry to ‘do_file’
openssh-10.2p1/ssh-add.c:673:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-add.c:674:13: branch_true: ...to here
openssh-10.2p1/ssh-add.c:673:13: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-add.c:676:24: branch_true: ...to here
openssh-10.2p1/ssh-add.c:676:24: call_function: calling ‘update_pkcs11_uri’ from ‘do_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def471]
openssh-10.2p1/ssh-agent.c:271:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.2p1/ssh-agent.c:1519:1: enter_function: entry to ‘add_p11_identity’
openssh-10.2p1/ssh-agent.c:1536:32: call_function: calling ‘dup_dest_constraints’ from ‘add_p11_identity’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def472]
openssh-10.2p1/ssh-agent.c:1578:25: warning[-Wanalyzer-malloc-leak]: leak of ‘module_path’
openssh-10.2p1/ssh-agent.c:2063:1: enter_function: entry to ‘after_poll’
openssh-10.2p1/ssh-agent.c:2068:21: branch_true: following ‘true’ branch (when ‘i < npfd’)...
openssh-10.2p1/ssh-agent.c:2069:24: branch_true: ...to here
openssh-10.2p1/ssh-agent.c:2079:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-agent.c:2084:32: branch_false: ...to here
openssh-10.2p1/ssh-agent.c:2097:28: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-agent.c:2098:29: branch_true: ...to here
openssh-10.2p1/ssh-agent.c:2098:29: call_function: calling ‘handle_conn_read’ from ‘after_poll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def473]
openssh-10.2p1/ssh-ecdsa-sk.c:178:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
openssh-10.2p1/ssh-ecdsa-sk.c:179:22: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def475]
openssh-10.2p1/ssh-ecdsa-sk.c:189:48: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def476]
openssh-10.2p1/ssh-ecdsa-sk.c:203:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
openssh-10.2p1/ssh-ecdsa-sk.c:204:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
openssh-10.2p1/ssh-ecdsa-sk.c:205:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
openssh-10.2p1/ssh-ecdsa-sk.c:206:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
openssh-10.2p1/ssh-ecdsa-sk.c:207:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: throw: if ‘sshbuf_get_cstring’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: throw: if ‘sshbuf_froms’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: throw: if ‘sshbuf_get_u32’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: throw: if ‘sshbuf_get_cstring’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def486]
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: throw: if ‘sshbuf_froms’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def487]
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: throw: if ‘sshbuf_froms’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:291:21: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def488]
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: throw: if ‘sshbuf_len’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: throw: if ‘sshbuf_get_bignum2’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def490]
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: throw: if ‘sshbuf_get_bignum2’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def491]
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: throw: if ‘sshbuf_len’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: throw: if ‘ECDSA_SIG_new’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: throw: if ‘ECDSA_SIG_set0’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def494]
openssh-10.2p1/ssh-ecdsa-sk.c:339:32: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:32: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:339:32: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: throw: if ‘ssh_digest_memory’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def496]
openssh-10.2p1/ssh-ecdsa-sk.c:352:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:20: throw: if ‘ssh_digest_memory’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:352:20: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: throw: if ‘sshbuf_put’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: throw: if ‘sshbuf_put_u8’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: throw: if ‘sshbuf_put_u32’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def500]
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: throw: if ‘sshbuf_putb’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: throw: if ‘sshbuf_put’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
openssh-10.2p1/ssh-ecdsa-sk.c:375:23: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:375:23: throw: if ‘EVP_MD_CTX_new’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:375:23: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
openssh-10.2p1/ssh-ecdsa-sk.c:379:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:379:20: throw: if ‘i2d_ECDSA_SIG’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:379:20: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
openssh-10.2p1/ssh-ecdsa-sk.c:389:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:384:21: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:389:13: throw: if ‘i2d_ECDSA_SIG’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:389:13: danger: ‘cp’ leaks here; was allocated at [(57)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/56)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
openssh-10.2p1/ssh-ecdsa-sk.c:389:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:389:13: throw: if ‘i2d_ECDSA_SIG’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:389:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
openssh-10.2p1/ssh-ecdsa-sk.c:398:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:389:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:399:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:398:13: throw: if ‘EVP_sha256’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:398:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
openssh-10.2p1/ssh-ecdsa-sk.c:403:17: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:389:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:399:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:398:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:403:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:403:17: throw: if ‘sshbuf_len’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:403:17: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
openssh-10.2p1/ssh-ecdsa-sk.c:404:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.2p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:389:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:399:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:398:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:403:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:404:13: throw: if ‘sshbuf_ptr’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:404:13: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
openssh-10.2p1/ssh-ecdsa-sk.c:425:9: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa-sk.c:425:9: throw: if ‘sshkey_sig_details_free’ throws an exception...
openssh-10.2p1/ssh-ecdsa-sk.c:425:9: danger: ‘details’ leaks here; was allocated at [(9)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
openssh-10.2p1/ssh-ecdsa.c:478:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.2p1/ssh-ecdsa.c:422:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:422:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:427:51: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:427:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:431:18: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:431:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:433:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:433:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:434:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:433:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:438:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:438:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ecdsa.c:442:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:442:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:448:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:448:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:449:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:448:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:453:13: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:453:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:458:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:458:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:462:14: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:462:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:466:17: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:468:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ecdsa.c:473:21: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:473:21: acquire_memory: allocated here
openssh-10.2p1/ssh-ecdsa.c:473:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.2p1/ssh-ecdsa.c:477:9: branch_false: ...to here
openssh-10.2p1/ssh-ecdsa.c:478:13: throw: if ‘i2d_ECDSA_SIG’ throws an exception...
openssh-10.2p1/ssh-ecdsa.c:478:13: danger: ‘cp’ leaks here; was allocated at [(29)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
openssh-10.2p1/ssh-ed25519-sk.c:203:24: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:24: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:203:24: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
openssh-10.2p1/ssh-ed25519-sk.c:207:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: throw: if ‘sshbuf_put’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
openssh-10.2p1/ssh-ed25519-sk.c:208:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:208:13: throw: if ‘sshbuf_put’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def514]
openssh-10.2p1/ssh-ed25519-sk.c:209:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:209:13: throw: if ‘sshbuf_put_u8’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
openssh-10.2p1/ssh-ed25519-sk.c:210:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:210:13: throw: if ‘sshbuf_put_u32’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:210:13: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
openssh-10.2p1/ssh-ed25519-sk.c:211:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:211:13: throw: if ‘sshbuf_put’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:211:13: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
openssh-10.2p1/ssh-ed25519-sk.c:219:14: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:219:14: throw: if ‘sshbuf_ptr’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:219:14: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
openssh-10.2p1/ssh-ed25519-sk.c:220:17: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:220:17: throw: if ‘sshbuf_len’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:220:17: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def519]
openssh-10.2p1/ssh-ed25519-sk.c:226:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:222:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:227:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:226:20: throw: if ‘crypto_sign_ed25519_open’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:226:20: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
openssh-10.2p1/ssh-ed25519-sk.c:226:20: warning[-Wanalyzer-malloc-leak]: leak of ‘m’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:222:18: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:222:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:227:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:226:20: throw: if ‘crypto_sign_ed25519_open’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:226:20: danger: ‘m’ leaks here; was allocated at [(43)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
openssh-10.2p1/ssh-ed25519-sk.c:228:17: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:222:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:227:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:226:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:228:17: branch_true: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:228:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:228:17: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
openssh-10.2p1/ssh-ed25519-sk.c:243:17: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:222:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:227:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:226:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:228:17: branch_true: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:243:17: throw: if ‘freezero’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:243:17: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
openssh-10.2p1/ssh-ed25519-sk.c:244:9: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.2p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.2p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:203:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-ed25519-sk.c:205:17: branch_true: ...to here
openssh-10.2p1/ssh-ed25519-sk.c:244:9: throw: if ‘sshkey_sig_details_free’ throws an exception...
openssh-10.2p1/ssh-ed25519-sk.c:244:9: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
openssh-10.2p1/ssh-ed25519.c:175:20: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
openssh-10.2p1/ssh-ed25519.c:162:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519.c:163:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:162:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:164:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:162:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:162:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:162:13: branch_false: following ‘false’ branch (when ‘datalen <= 2147483582’)...
openssh-10.2p1/ssh-ed25519.c:167:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:167:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:171:17: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:172:20: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519.c:172:12: branch_false: following ‘false’ branch (when ‘sig’ is non-NULL)...
openssh-10.2p1/ssh-ed25519.c:176:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:175:20: throw: if ‘crypto_sign_ed25519’ throws an exception...
openssh-10.2p1/ssh-ed25519.c:175:20: danger: ‘sig’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
openssh-10.2p1/ssh-ed25519.c:286:20: warning[-Wanalyzer-malloc-leak]: leak of ‘m’
openssh-10.2p1/ssh-ed25519.c:246:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519.c:247:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:248:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:249:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch (when ‘siglen != 0’)...
openssh-10.2p1/ssh-ed25519.c:252:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:257:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:259:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:259:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:260:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:259:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:262:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519.c:266:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:270:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:270:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:278:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:280:12: branch_false: following ‘false’ branch (when ‘sm’ is non-NULL)...
openssh-10.2p1/ssh-ed25519.c:280:50: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:280:50: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519.c:280:13: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.2p1/ssh-ed25519.c:284:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:286:20: throw: if ‘crypto_sign_ed25519_open’ throws an exception...
openssh-10.2p1/ssh-ed25519.c:286:20: danger: ‘m’ leaks here; was allocated at [(27)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
openssh-10.2p1/ssh-ed25519.c:286:20: warning[-Wanalyzer-malloc-leak]: leak of ‘sm’
openssh-10.2p1/ssh-ed25519.c:246:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519.c:247:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:248:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:249:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch (when ‘siglen != 0’)...
openssh-10.2p1/ssh-ed25519.c:252:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:257:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:259:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:259:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:260:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:259:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:262:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519.c:266:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:270:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:270:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:278:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:280:19: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519.c:280:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:286:20: throw: if ‘crypto_sign_ed25519_open’ throws an exception...
openssh-10.2p1/ssh-ed25519.c:286:20: danger: ‘sm’ leaks here; was allocated at [(25)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
openssh-10.2p1/ssh-ed25519.c:288:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sm’
openssh-10.2p1/ssh-ed25519.c:246:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519.c:247:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:248:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:249:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch (when ‘siglen != 0’)...
openssh-10.2p1/ssh-ed25519.c:252:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:257:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:259:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:259:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:260:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:259:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:262:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519.c:266:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:270:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:270:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:278:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:280:19: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519.c:280:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:286:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-ed25519.c:288:17: branch_true: ...to here
openssh-10.2p1/ssh-ed25519.c:288:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-ed25519.c:288:17: danger: ‘sm’ leaks here; was allocated at [(25)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
openssh-10.2p1/ssh-ed25519.c:299:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sm’
openssh-10.2p1/ssh-ed25519.c:246:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.2p1/ssh-ed25519.c:247:31: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:248:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:249:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:246:13: branch_false: following ‘false’ branch (when ‘siglen != 0’)...
openssh-10.2p1/ssh-ed25519.c:252:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:257:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:257:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:259:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:259:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:260:18: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:259:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:262:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:262:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/ssh-ed25519.c:266:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:266:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:270:13: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:270:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-ed25519.c:278:9: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:280:19: acquire_memory: allocated here
openssh-10.2p1/ssh-ed25519.c:280:12: branch_false: following ‘false’ branch (when ‘sm’ is non-NULL)...
openssh-10.2p1/ssh-ed25519.c:280:50: branch_false: ...to here
openssh-10.2p1/ssh-ed25519.c:280:13: branch_true: following ‘true’ branch (when ‘m’ is NULL)...
openssh-10.2p1/ssh-ed25519.c:282:17: branch_true: ...to here
openssh-10.2p1/ssh-ed25519.c:299:17: throw: if ‘freezero’ throws an exception...
openssh-10.2p1/ssh-ed25519.c:299:17: danger: ‘sm’ leaks here; was allocated at [(25)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/24)
Error: COMPILER_WARNING: [#def529]
openssh-10.2p1/ssh-keycat.c:39:9: warning: ‘_GNU_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def530]
openssh-10.2p1/ssh-keycat.c:39:9: warning[warning]: ‘_GNU_SOURCE’ redefined
Error: COMPILER_WARNING: [#def531]
openssh-10.2p1/ssh-keygen.c: scope_hint: In function ‘do_convert_to’
openssh-10.2p1/ssh-keygen.c:347:41: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 1024 bytes into a region of size 39
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 36 or more bytes (assuming 1060) into a destination of size 61
Error: GCC_ANALYZER_WARNING (CWE-775): [#def532]
openssh-10.2p1/ssh-keygen.c:586:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.2p1/ssh-keygen.c:606:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.2p1/ssh-keygen.c:615:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:617:19: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:617:19: acquire_resource: opened here
openssh-10.2p1/ssh-keygen.c:617:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:619:9: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:620:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def533]
openssh-10.2p1/ssh-keygen.c:586:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.2p1/ssh-keygen.c:606:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.2p1/ssh-keygen.c:615:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:617:19: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:617:19: acquire_memory: allocated here
openssh-10.2p1/ssh-keygen.c:617:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:619:9: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:620:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def534]
openssh-10.2p1/ssh-keygen.c:587:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.2p1/ssh-keygen.c:606:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.2p1/ssh-keygen.c:615:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:617:19: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:617:19: acquire_resource: opened here
openssh-10.2p1/ssh-keygen.c:617:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:619:9: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:620:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
openssh-10.2p1/ssh-keygen.c:587:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.2p1/ssh-keygen.c:606:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.2p1/ssh-keygen.c:615:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:617:19: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:617:19: acquire_memory: allocated here
openssh-10.2p1/ssh-keygen.c:617:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:619:9: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:620:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def536]
openssh-10.2p1/ssh-keygen.c:665:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.2p1/ssh-keygen.c:663:19: acquire_resource: opened here
openssh-10.2p1/ssh-keygen.c:663:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:665:23: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:665:23: throw: if ‘PEM_read_PUBKEY’ throws an exception...
openssh-10.2p1/ssh-keygen.c:665:23: danger: ‘fopen(&identity_file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def537]
openssh-10.2p1/ssh-keygen.c:665:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.2p1/ssh-keygen.c:663:19: acquire_memory: allocated here
openssh-10.2p1/ssh-keygen.c:663:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:665:23: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:665:23: throw: if ‘PEM_read_PUBKEY’ throws an exception...
openssh-10.2p1/ssh-keygen.c:665:23: danger: ‘fopen(&identity_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def538]
openssh-10.2p1/ssh-keygen.c:704:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.2p1/ssh-keygen.c:702:19: acquire_resource: opened here
openssh-10.2p1/ssh-keygen.c:702:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:704:20: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:704:20: throw: if ‘PEM_read_RSAPublicKey’ throws an exception...
openssh-10.2p1/ssh-keygen.c:704:20: danger: ‘fopen(&identity_file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def539]
openssh-10.2p1/ssh-keygen.c:704:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.2p1/ssh-keygen.c:702:19: acquire_memory: allocated here
openssh-10.2p1/ssh-keygen.c:702:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:704:20: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:704:20: throw: if ‘PEM_read_RSAPublicKey’ throws an exception...
openssh-10.2p1/ssh-keygen.c:704:20: danger: ‘fopen(&identity_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def540]
openssh-10.2p1/ssh-keygen.c: scope_hint: In function ‘do_gen_all_hostkeys’
openssh-10.2p1/ssh-keygen.c:1094:55: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 1024 bytes into a region of size 1023
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1026) into a destination of size 1024
Error: GCC_ANALYZER_WARNING (CWE-401): [#def541]
openssh-10.2p1/ssh-keygen.c:1322:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.out’
openssh-10.2p1/ssh-keygen.c:1288:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:1291:9: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:1302:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keygen.c:1303:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:1304:21: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:1303:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:1305:21: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:1303:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:1306:21: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:1303:21: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:1308:17: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:1309:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:1311:32: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:1311:32: acquire_memory: allocated here
openssh-10.2p1/ssh-keygen.c:1311:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:1316:34: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:1322:18: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keygen.c:1322:18: branch_true: ...to here
openssh-10.2p1/ssh-keygen.c:1322:18: throw: if ‘hostkeys_foreach’ throws an exception...
openssh-10.2p1/ssh-keygen.c:1322:18: danger: ‘ctx.out’ leaks here; was allocated at [(15)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def542]
openssh-10.2p1/ssh-keygen.c:2968:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘out’
openssh-10.2p1/ssh-keygen.c:2958:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
openssh-10.2p1/ssh-keygen.c:2960:25: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:2960:25: acquire_resource: opened here
openssh-10.2p1/ssh-keygen.c:2960:17: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:2964:9: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:2966:12: branch_true: following ‘true’ branch (when ‘moduli_bits == 0’)...
openssh-10.2p1/ssh-keygen.c:2966:12: branch_true: ...to here
openssh-10.2p1/ssh-keygen.c:2968:13: throw: if ‘gen_candidates’ throws an exception...
openssh-10.2p1/ssh-keygen.c:2968:13: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
openssh-10.2p1/ssh-keygen.c:2968:13: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
openssh-10.2p1/ssh-keygen.c:2958:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
openssh-10.2p1/ssh-keygen.c:2960:25: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:2960:25: acquire_memory: allocated here
openssh-10.2p1/ssh-keygen.c:2960:17: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:2964:9: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:2966:12: branch_true: following ‘true’ branch (when ‘moduli_bits == 0’)...
openssh-10.2p1/ssh-keygen.c:2966:12: branch_true: ...to here
openssh-10.2p1/ssh-keygen.c:2968:13: throw: if ‘gen_candidates’ throws an exception...
openssh-10.2p1/ssh-keygen.c:2968:13: danger: ‘out’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def544]
openssh-10.2p1/ssh-keygen.c:3025:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
openssh-10.2p1/ssh-keygen.c:3014:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keygen.c:3015:27: acquire_resource: opened here
openssh-10.2p1/ssh-keygen.c:3015:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:3022:13: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:3022:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
openssh-10.2p1/ssh-keygen.c:3024:25: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:3024:17: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keygen.c:3025:17: branch_true: ...to here
openssh-10.2p1/ssh-keygen.c:3025:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keygen.c:3025:17: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def545]
openssh-10.2p1/ssh-keygen.c:3025:17: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
openssh-10.2p1/ssh-keygen.c:3014:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keygen.c:3015:27: acquire_memory: allocated here
openssh-10.2p1/ssh-keygen.c:3015:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keygen.c:3022:13: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:3022:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
openssh-10.2p1/ssh-keygen.c:3024:25: branch_false: ...to here
openssh-10.2p1/ssh-keygen.c:3024:17: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keygen.c:3025:17: branch_true: ...to here
openssh-10.2p1/ssh-keygen.c:3025:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keygen.c:3025:17: danger: ‘in’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def546]
openssh-10.2p1/ssh-keygen.c: scope_hint: In function ‘main’
openssh-10.2p1/ssh-keygen.c:3888:55: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 1024 bytes into a region of size 1023
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1026) into a destination of size 1024
Error: GCC_ANALYZER_WARNING (CWE-775): [#def547]
openssh-10.2p1/ssh-keysign.c:196:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:196:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:196:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/ssh-keysign.c:196:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def548]
openssh-10.2p1/ssh-keysign.c:203:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: throw: if ‘open’ throws an exception...
openssh-10.2p1/ssh-keysign.c:203:23: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def549]
openssh-10.2p1/ssh-keysign.c:204:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: throw: if ‘open’ throws an exception...
openssh-10.2p1/ssh-keysign.c:204:23: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def550]
openssh-10.2p1/ssh-keysign.c:204:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:204:23: throw: if ‘open’ throws an exception...
openssh-10.2p1/ssh-keysign.c:204:23: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def551]
openssh-10.2p1/ssh-keysign.c:205:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: throw: if ‘open’ throws an exception...
openssh-10.2p1/ssh-keysign.c:205:23: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def552]
openssh-10.2p1/ssh-keysign.c:205:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:205:23: throw: if ‘open’ throws an exception...
openssh-10.2p1/ssh-keysign.c:205:23: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def553]
openssh-10.2p1/ssh-keysign.c:205:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:205:23: throw: if ‘open’ throws an exception...
openssh-10.2p1/ssh-keysign.c:205:23: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def554]
openssh-10.2p1/ssh-keysign.c:207:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:19: throw: if ‘getpwuid’ throws an exception...
openssh-10.2p1/ssh-keysign.c:207:19: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def555]
openssh-10.2p1/ssh-keysign.c:207:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:19: throw: if ‘getpwuid’ throws an exception...
openssh-10.2p1/ssh-keysign.c:207:19: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def556]
openssh-10.2p1/ssh-keysign.c:207:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:19: throw: if ‘getpwuid’ throws an exception...
openssh-10.2p1/ssh-keysign.c:207:19: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def557]
openssh-10.2p1/ssh-keysign.c:207:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:19: throw: if ‘getpwuid’ throws an exception...
openssh-10.2p1/ssh-keysign.c:207:19: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def558]
openssh-10.2p1/ssh-keysign.c:208:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:208:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:208:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:208:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def559]
openssh-10.2p1/ssh-keysign.c:208:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:208:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:208:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:208:17: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def560]
openssh-10.2p1/ssh-keysign.c:208:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:208:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:208:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:208:17: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def561]
openssh-10.2p1/ssh-keysign.c:208:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:208:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:208:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:208:17: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def562]
openssh-10.2p1/ssh-keysign.c:209:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:209:14: throw: if ‘pwcopy’ throws an exception...
openssh-10.2p1/ssh-keysign.c:209:14: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def563]
openssh-10.2p1/ssh-keysign.c:209:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:209:14: throw: if ‘pwcopy’ throws an exception...
openssh-10.2p1/ssh-keysign.c:209:14: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def564]
openssh-10.2p1/ssh-keysign.c:209:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:209:14: throw: if ‘pwcopy’ throws an exception...
openssh-10.2p1/ssh-keysign.c:209:14: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def565]
openssh-10.2p1/ssh-keysign.c:209:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:209:14: throw: if ‘pwcopy’ throws an exception...
openssh-10.2p1/ssh-keysign.c:209:14: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def566]
openssh-10.2p1/ssh-keysign.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:211:9: throw: if ‘permanently_set_uid’ throws an exception...
openssh-10.2p1/ssh-keysign.c:211:9: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def567]
openssh-10.2p1/ssh-keysign.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:211:9: throw: if ‘permanently_set_uid’ throws an exception...
openssh-10.2p1/ssh-keysign.c:211:9: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def568]
openssh-10.2p1/ssh-keysign.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:211:9: throw: if ‘permanently_set_uid’ throws an exception...
openssh-10.2p1/ssh-keysign.c:211:9: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def569]
openssh-10.2p1/ssh-keysign.c:211:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:211:9: throw: if ‘permanently_set_uid’ throws an exception...
openssh-10.2p1/ssh-keysign.c:211:9: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def570]
openssh-10.2p1/ssh-keysign.c:213:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:213:9: throw: if ‘seed_rng’ throws an exception...
openssh-10.2p1/ssh-keysign.c:213:9: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def571]
openssh-10.2p1/ssh-keysign.c:213:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:213:9: throw: if ‘seed_rng’ throws an exception...
openssh-10.2p1/ssh-keysign.c:213:9: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def572]
openssh-10.2p1/ssh-keysign.c:213:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:213:9: throw: if ‘seed_rng’ throws an exception...
openssh-10.2p1/ssh-keysign.c:213:9: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def573]
openssh-10.2p1/ssh-keysign.c:213:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:213:9: throw: if ‘seed_rng’ throws an exception...
openssh-10.2p1/ssh-keysign.c:213:9: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def574]
openssh-10.2p1/ssh-keysign.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:220:9: throw: if ‘initialize_options’ throws an exception...
openssh-10.2p1/ssh-keysign.c:220:9: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def575]
openssh-10.2p1/ssh-keysign.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:220:9: throw: if ‘initialize_options’ throws an exception...
openssh-10.2p1/ssh-keysign.c:220:9: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def576]
openssh-10.2p1/ssh-keysign.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:220:9: throw: if ‘initialize_options’ throws an exception...
openssh-10.2p1/ssh-keysign.c:220:9: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def577]
openssh-10.2p1/ssh-keysign.c:220:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:220:9: throw: if ‘initialize_options’ throws an exception...
openssh-10.2p1/ssh-keysign.c:220:9: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def578]
openssh-10.2p1/ssh-keysign.c:221:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:221:15: throw: if ‘read_config_file’ throws an exception...
openssh-10.2p1/ssh-keysign.c:221:15: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def579]
openssh-10.2p1/ssh-keysign.c:221:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:221:15: throw: if ‘read_config_file’ throws an exception...
openssh-10.2p1/ssh-keysign.c:221:15: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def580]
openssh-10.2p1/ssh-keysign.c:221:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:221:15: throw: if ‘read_config_file’ throws an exception...
openssh-10.2p1/ssh-keysign.c:221:15: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def581]
openssh-10.2p1/ssh-keysign.c:221:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:221:15: throw: if ‘read_config_file’ throws an exception...
openssh-10.2p1/ssh-keysign.c:221:15: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def582]
openssh-10.2p1/ssh-keysign.c:223:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:223:15: throw: if ‘fill_default_options’ throws an exception...
openssh-10.2p1/ssh-keysign.c:223:15: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def583]
openssh-10.2p1/ssh-keysign.c:223:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:223:15: throw: if ‘fill_default_options’ throws an exception...
openssh-10.2p1/ssh-keysign.c:223:15: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def584]
openssh-10.2p1/ssh-keysign.c:223:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:223:15: throw: if ‘fill_default_options’ throws an exception...
openssh-10.2p1/ssh-keysign.c:223:15: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def585]
openssh-10.2p1/ssh-keysign.c:223:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:223:15: throw: if ‘fill_default_options’ throws an exception...
openssh-10.2p1/ssh-keysign.c:223:15: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def586]
openssh-10.2p1/ssh-keysign.c:225:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:225:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:225:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:225:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def587]
openssh-10.2p1/ssh-keysign.c:225:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:225:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:225:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:225:17: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def588]
openssh-10.2p1/ssh-keysign.c:225:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:225:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:225:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:225:17: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def589]
openssh-10.2p1/ssh-keysign.c:225:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:225:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:225:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:225:17: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def590]
openssh-10.2p1/ssh-keysign.c:228:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:228:13: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:228:13: throw: if ‘pledge’ throws an exception...
openssh-10.2p1/ssh-keysign.c:228:13: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def591]
openssh-10.2p1/ssh-keysign.c:228:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:228:13: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:228:13: throw: if ‘pledge’ throws an exception...
openssh-10.2p1/ssh-keysign.c:228:13: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def592]
openssh-10.2p1/ssh-keysign.c:228:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:228:13: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:228:13: throw: if ‘pledge’ throws an exception...
openssh-10.2p1/ssh-keysign.c:228:13: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def593]
openssh-10.2p1/ssh-keysign.c:228:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:228:13: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:228:13: throw: if ‘pledge’ throws an exception...
openssh-10.2p1/ssh-keysign.c:228:13: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def594]
openssh-10.2p1/ssh-keysign.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:228:13: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:228:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:229:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:229:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:229:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def595]
openssh-10.2p1/ssh-keysign.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:203:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:228:13: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:228:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:229:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:229:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:229:17: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def596]
openssh-10.2p1/ssh-keysign.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:204:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:228:13: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:228:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:229:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:229:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:229:17: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def597]
openssh-10.2p1/ssh-keysign.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.2p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:198:9: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.2p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:205:23: acquire_resource: opened here
openssh-10.2p1/ssh-keysign.c:207:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:209:14: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:224:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-keysign.c:228:13: branch_false: ...to here
openssh-10.2p1/ssh-keysign.c:228:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-keysign.c:229:17: branch_true: ...to here
openssh-10.2p1/ssh-keysign.c:229:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-keysign.c:229:17: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def598]
openssh-10.2p1/ssh-pkcs11-client.c:351:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pair[1], 0)’
openssh-10.2p1/ssh-pkcs11-client.c:336:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11-client.c:338:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11-client.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11-client.c:343:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11-client.c:344:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/ssh-pkcs11-client.c:350:19: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11-client.c:350:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/ssh-pkcs11-client.c:351:22: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11-client.c:351:22: acquire_resource: opened here
openssh-10.2p1/ssh-pkcs11-client.c:351:20: danger: ‘dup2(pair[1], 0)’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def599]
openssh-10.2p1/ssh-pkcs11-client.c:351:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pair[1], 1)’
openssh-10.2p1/ssh-pkcs11-client.c:336:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11-client.c:338:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11-client.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11-client.c:343:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11-client.c:344:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/ssh-pkcs11-client.c:350:19: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11-client.c:350:19: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/ssh-pkcs11-client.c:351:22: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11-client.c:351:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11-client.c:352:22: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11-client.c:352:22: acquire_resource: opened here
openssh-10.2p1/ssh-pkcs11-client.c:351:21: danger: ‘dup2(pair[1], 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: COMPILER_WARNING (CWE-704): [#def600]
openssh-10.2p1/ssh-pkcs11-uri.c: scope_hint: In function ‘percent_encode’
openssh-10.2p1/ssh-pkcs11-uri.c:137:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def601]
openssh-10.2p1/ssh-pkcs11-uri.c:137:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def602]
openssh-10.2p1/ssh-pkcs11.c:201:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def603]
openssh-10.2p1/ssh-pkcs11.c:202:22: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘module_path’ where non-null expected
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: this call could return NULL
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
Error: COMPILER_WARNING (CWE-704): [#def604]
openssh-10.2p1/ssh-pkcs11.c: scope_hint: In function ‘pkcs11_uri_write’
openssh-10.2p1/ssh-pkcs11.c:582:52: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘pkcs11_lookup_key’ discards ‘const’ qualifier from pointer target type
openssh-10.2p1/ssh-pkcs11.c:553:34: note: expected ‘struct sshkey *’ but argument is of type ‘const struct sshkey *’
Error: COMPILER_WARNING (CWE-704): [#def605]
openssh-10.2p1/ssh-pkcs11.c:582:52: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘pkcs11_lookup_key’ discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
openssh-10.2p1/ssh-pkcs11.c:2050:13: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2050:13: throw: if ‘xcalloc’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2050:13: danger: ‘provider_module’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def607]
openssh-10.2p1/ssh-pkcs11.c:2051:19: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2051:19: throw: if ‘pkcs11_uri_get’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2051:19: danger: ‘provider_module’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def608]
openssh-10.2p1/ssh-pkcs11.c:2053:13: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:13: throw: if ‘lib_contains_symbol’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2053:13: danger: ‘provider_module’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def609]
openssh-10.2p1/ssh-pkcs11.c:2054:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2054:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2054:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2054:17: danger: ‘provider_module’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
openssh-10.2p1/ssh-pkcs11.c:2059:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2058:15: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:13: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2059:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2059:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2059:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
openssh-10.2p1/ssh-pkcs11.c:2070:21: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2070:21: throw: if ‘xcalloc’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2070:21: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def612]
openssh-10.2p1/ssh-pkcs11.c:2077:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_true: following ‘true’ branch (when ‘handle’ is NULL)...
openssh-10.2p1/ssh-pkcs11.c:2077:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2077:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2077:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
openssh-10.2p1/ssh-pkcs11.c:2081:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_true: following ‘true’ branch (when ‘getfunctionlist’ is NULL)...
openssh-10.2p1/ssh-pkcs11.c:2081:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2081:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2081:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
openssh-10.2p1/ssh-pkcs11.c:2084:19: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2082:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2084:19: throw: if the called function throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2084:19: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def615]
openssh-10.2p1/ssh-pkcs11.c:2085:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2082:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2084:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2085:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2085:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2085:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def616]
openssh-10.2p1/ssh-pkcs11.c:2090:19: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2082:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2084:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2089:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2090:19: throw: if the called function throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2090:19: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
openssh-10.2p1/ssh-pkcs11.c:2091:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2082:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2084:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2089:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2090:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2091:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2091:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2091:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def618]
openssh-10.2p1/ssh-pkcs11.c:2096:19: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2082:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2084:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2089:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2090:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2096:20: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2096:19: throw: if the called function throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2096:19: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
openssh-10.2p1/ssh-pkcs11.c:2097:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2082:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2084:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2089:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2090:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2096:20: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2096:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2097:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2097:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2097:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
openssh-10.2p1/ssh-pkcs11.c:2104:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2082:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2084:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2089:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2090:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2096:20: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2096:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2101:17: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2101:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2101:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2102:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2103:13: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2102:13: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2104:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2104:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2104:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def621]
openssh-10.2p1/ssh-pkcs11.c:2109:9: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2082:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2084:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2089:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2090:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2096:20: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2096:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2101:17: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2101:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2101:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2108:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2108:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2109:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2109:9: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
openssh-10.2p1/ssh-pkcs11.c:2166:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.2p1/ssh-pkcs11.c:2025:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2040:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2042:35: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2042:35: acquire_memory: allocated here
openssh-10.2p1/ssh-pkcs11.c:2053:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2057:18: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2057:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2057:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.2p1/ssh-pkcs11.c:2057:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2070:21: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2076:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2080:32: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2080:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.2p1/ssh-pkcs11.c:2082:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2084:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2089:9: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2090:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2096:20: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2096:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-pkcs11.c:2101:17: branch_false: ...to here
openssh-10.2p1/ssh-pkcs11.c:2101:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2101:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.2p1/ssh-pkcs11.c:2102:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2103:13: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2102:13: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2104:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2165:13: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-pkcs11.c:2166:17: branch_true: ...to here
openssh-10.2p1/ssh-pkcs11.c:2166:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-pkcs11.c:2166:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/3)
Error: COMPILER_WARNING (CWE-1164): [#def623]
openssh-10.2p1/ssh-pkcs11.c: scope_hint: At top level
openssh-10.2p1/ssh-pkcs11.c:2332:1: warning[-Wunused-function]: ‘pkcs11_register_provider’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def624]
openssh-10.2p1/ssh-sk-client.c:87:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pair[1], 0)’
openssh-10.2p1/ssh-sk-client.c:61:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-client.c:72:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-client.c:72:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-client.c:76:20: branch_false: ...to here
openssh-10.2p1/ssh-sk-client.c:77:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/ssh-sk-client.c:86:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-client.c:86:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/ssh-sk-client.c:87:22: branch_true: ...to here
openssh-10.2p1/ssh-sk-client.c:87:22: acquire_resource: opened here
openssh-10.2p1/ssh-sk-client.c:87:20: danger: ‘dup2(pair[1], 0)’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def625]
openssh-10.2p1/ssh-sk-client.c:87:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pair[1], 1)’
openssh-10.2p1/ssh-sk-client.c:61:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-client.c:72:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-client.c:72:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-client.c:76:20: branch_false: ...to here
openssh-10.2p1/ssh-sk-client.c:77:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/ssh-sk-client.c:86:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-client.c:86:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/ssh-sk-client.c:87:22: branch_true: ...to here
openssh-10.2p1/ssh-sk-client.c:87:20: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-client.c:88:22: branch_false: ...to here
openssh-10.2p1/ssh-sk-client.c:88:22: acquire_resource: opened here
openssh-10.2p1/ssh-sk-client.c:87:21: danger: ‘dup2(pair[1], 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def626]
openssh-10.2p1/ssh-sk-helper.c:64:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/ssh-sk-helper.c:63:9: acquire_resource: ‘va_start’ called here
openssh-10.2p1/ssh-sk-helper.c:64:9: throw: if ‘xvasprintf’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:64:9: 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-775): [#def627]
openssh-10.2p1/ssh-sk-helper.c:119:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:354:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def628]
openssh-10.2p1/ssh-sk-helper.c:120:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:354:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def629]
openssh-10.2p1/ssh-sk-helper.c:121:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:354:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def630]
openssh-10.2p1/ssh-sk-helper.c:122:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:354:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def631]
openssh-10.2p1/ssh-sk-helper.c:123:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:354:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def632]
openssh-10.2p1/ssh-sk-helper.c:124:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:354:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def633]
openssh-10.2p1/ssh-sk-helper.c:125:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:354:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def634]
openssh-10.2p1/ssh-sk-helper.c:175:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:357:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def635]
openssh-10.2p1/ssh-sk-helper.c:176:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:357:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def636]
openssh-10.2p1/ssh-sk-helper.c:177:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:357:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def637]
openssh-10.2p1/ssh-sk-helper.c:179:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:357:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def638]
openssh-10.2p1/ssh-sk-helper.c:180:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:357:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def639]
openssh-10.2p1/ssh-sk-helper.c:181:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:357:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def640]
openssh-10.2p1/ssh-sk-helper.c:182:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:357:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def641]
openssh-10.2p1/ssh-sk-helper.c:183:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:357:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def642]
openssh-10.2p1/ssh-sk-helper.c:239:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:360:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def643]
openssh-10.2p1/ssh-sk-helper.c:240:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:360:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def644]
openssh-10.2p1/ssh-sk-helper.c:242:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:360:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def645]
openssh-10.2p1/ssh-sk-helper.c:243:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:360:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def646]
openssh-10.2p1/ssh-sk-helper.c:244:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:360:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def647]
openssh-10.2p1/ssh-sk-helper.c:245:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:360:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def648]
openssh-10.2p1/ssh-sk-helper.c:246:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:291:1: enter_function: entry to ‘main’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:360:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def649]
openssh-10.2p1/ssh-sk-helper.c:325:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh-sk-helper.c:324:19: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_true: following ‘true’ branch (when ‘out == -1’)...
openssh-10.2p1/ssh-sk-helper.c:325:17: branch_true: ...to here
openssh-10.2p1/ssh-sk-helper.c:325:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:325:17: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def650]
openssh-10.2p1/ssh-sk-helper.c:326:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh-sk-helper.c:324:19: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:326:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:326:9: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def651]
openssh-10.2p1/ssh-sk-helper.c:326:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:326:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:326:9: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def652]
openssh-10.2p1/ssh-sk-helper.c:327:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh-sk-helper.c:324:19: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:327:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:327:9: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def653]
openssh-10.2p1/ssh-sk-helper.c:327:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:327:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:327:9: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def654]
openssh-10.2p1/ssh-sk-helper.c:328:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh-sk-helper.c:324:19: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:328:9: throw: if ‘sanitise_stdfd’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:328:9: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def655]
openssh-10.2p1/ssh-sk-helper.c:328:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:328:9: throw: if ‘sanitise_stdfd’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:328:9: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def656]
openssh-10.2p1/ssh-sk-helper.c:330:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh-sk-helper.c:324:19: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:330:20: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:330:20: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def657]
openssh-10.2p1/ssh-sk-helper.c:330:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:20: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:330:20: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def658]
openssh-10.2p1/ssh-sk-helper.c:331:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh-sk-helper.c:324:19: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk-helper.c:331:17: branch_true: ...to here
openssh-10.2p1/ssh-sk-helper.c:331:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:331:17: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def659]
openssh-10.2p1/ssh-sk-helper.c:331:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk-helper.c:331:17: branch_true: ...to here
openssh-10.2p1/ssh-sk-helper.c:331:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:331:17: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def660]
openssh-10.2p1/ssh-sk-helper.c:332:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh-sk-helper.c:324:19: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:13: throw: if ‘ssh_msg_recv’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:332:13: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def661]
openssh-10.2p1/ssh-sk-helper.c:332:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:13: throw: if ‘ssh_msg_recv’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:332:13: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def662]
openssh-10.2p1/ssh-sk-helper.c:333:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk-helper.c:333:17: branch_true: ...to here
openssh-10.2p1/ssh-sk-helper.c:333:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:333:17: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def663]
openssh-10.2p1/ssh-sk-helper.c:334:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:334:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:334:9: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def664]
openssh-10.2p1/ssh-sk-helper.c:335:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:335:9: throw: if ‘sshbuf_len’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:335:9: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def665]
openssh-10.2p1/ssh-sk-helper.c:337:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:18: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:337:18: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def666]
openssh-10.2p1/ssh-sk-helper.c:338:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk-helper.c:338:17: branch_true: ...to here
openssh-10.2p1/ssh-sk-helper.c:338:17: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:338:17: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def667]
openssh-10.2p1/ssh-sk-helper.c:340:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk-helper.c:340:17: branch_true: ...to here
openssh-10.2p1/ssh-sk-helper.c:340:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:340:17: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def668]
openssh-10.2p1/ssh-sk-helper.c:344:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:18: throw: if ‘sshbuf_get_u32’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:344:18: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def669]
openssh-10.2p1/ssh-sk-helper.c:345:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:345:18: throw: if ‘sshbuf_get_u8’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:345:18: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def670]
openssh-10.2p1/ssh-sk-helper.c:346:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:346:18: throw: if ‘sshbuf_get_u32’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:346:18: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def671]
openssh-10.2p1/ssh-sk-helper.c:347:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:347:17: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:347:17: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def672]
openssh-10.2p1/ssh-sk-helper.c:349:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_true: following ‘true’ branch (when ‘vflag == 0’)...
openssh-10.2p1/ssh-sk-helper.c:349:23: branch_true: ...to here
openssh-10.2p1/ssh-sk-helper.c:349:23: throw: if ‘log_level_name’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:349:23: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def673]
openssh-10.2p1/ssh-sk-helper.c:350:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk-helper.c:350:17: throw: if ‘log_init’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:350:17: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def674]
openssh-10.2p1/ssh-sk-helper.c:363:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh-sk-helper.c:324:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh-sk-helper.c:324:54: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:324:54: acquire_resource: opened here
openssh-10.2p1/ssh-sk-helper.c:324:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh-sk-helper.c:326:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:330:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:332:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:332:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:334:9: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:337:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:339:13: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:339:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:344:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:345:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:346:18: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:344:13: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk-helper.c:349:12: branch_false: ...to here
openssh-10.2p1/ssh-sk-helper.c:363:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-sk-helper.c:363:17: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def675]
openssh-10.2p1/ssh-sk.c:120:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:120:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:120:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:120:17: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def676]
openssh-10.2p1/ssh-sk.c:135:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:26: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:13: throw: if ‘lib_contains_symbol’ throws an exception...
openssh-10.2p1/ssh-sk.c:135:13: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def677]
openssh-10.2p1/ssh-sk.c:135:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:13: throw: if ‘lib_contains_symbol’ throws an exception...
openssh-10.2p1/ssh-sk.c:135:13: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def678]
openssh-10.2p1/ssh-sk.c:136:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:26: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:136:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:136:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:136:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def679]
openssh-10.2p1/ssh-sk.c:136:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:136:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:136:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:136:17: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def680]
openssh-10.2p1/ssh-sk.c:140:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:26: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:140:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:140:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-sk.c:140:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def681]
openssh-10.2p1/ssh-sk.c:140:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:140:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:140:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh-sk.c:140:17: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def682]
openssh-10.2p1/ssh-sk.c:143:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:26: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:143:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:143:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:143:17: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def683]
openssh-10.2p1/ssh-sk.c:143:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:143:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:143:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:143:17: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def684]
openssh-10.2p1/ssh-sk.c:147:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:26: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:147:19: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:147:19: throw: if the called function throws an exception...
openssh-10.2p1/ssh-sk.c:147:19: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def685]
openssh-10.2p1/ssh-sk.c:147:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:147:19: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:147:19: throw: if the called function throws an exception...
openssh-10.2p1/ssh-sk.c:147:19: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def686]
openssh-10.2p1/ssh-sk.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:26: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:147:19: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:148:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:148:9: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def687]
openssh-10.2p1/ssh-sk.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:147:19: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:148:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:148:9: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def688]
openssh-10.2p1/ssh-sk.c:151:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:147:19: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:150:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:151:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:151:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:151:17: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def689]
openssh-10.2p1/ssh-sk.c:157:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:147:19: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:150:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:156:37: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:156:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:157:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:157:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:157:17: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def690]
openssh-10.2p1/ssh-sk.c:162:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:147:19: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:150:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:156:37: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:156:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:161:35: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:161:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:162:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:162:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:162:17: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def691]
openssh-10.2p1/ssh-sk.c:168:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/ssh-sk.c:115:20: acquire_memory: allocated here
openssh-10.2p1/ssh-sk.c:115:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/ssh-sk.c:119:26: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:119:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:124:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:124:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:135:13: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:135:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:139:30: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:139:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:141:36: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:147:19: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:150:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:156:37: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:156:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:161:35: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:161:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh-sk.c:166:49: branch_false: ...to here
openssh-10.2p1/ssh-sk.c:166:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh-sk.c:168:17: branch_true: ...to here
openssh-10.2p1/ssh-sk.c:168:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh-sk.c:168:17: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def692]
openssh-10.2p1/ssh.c:2077:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh.c:2069:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh.c:2072:9: branch_false: ...to here
openssh-10.2p1/ssh.c:2075:19: acquire_resource: opened here
openssh-10.2p1/ssh.c:2075:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh.c:2076:20: branch_false: ...to here
openssh-10.2p1/ssh.c:2075:13: branch_true: following ‘true’ branch (when ‘out == -1’)...
openssh-10.2p1/ssh.c:2077:17: branch_true: ...to here
openssh-10.2p1/ssh.c:2077:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh.c:2077:17: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def693]
openssh-10.2p1/ssh.c:2078:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh.c:2069:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh.c:2072:9: branch_false: ...to here
openssh-10.2p1/ssh.c:2075:19: acquire_resource: opened here
openssh-10.2p1/ssh.c:2075:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh.c:2076:20: branch_false: ...to here
openssh-10.2p1/ssh.c:2075:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh.c:2078:18: branch_false: ...to here
openssh-10.2p1/ssh.c:2078:18: throw: if ‘channel_connect_stdio_fwd’ throws an exception...
openssh-10.2p1/ssh.c:2078:18: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def694]
openssh-10.2p1/ssh.c:2078:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh.c:2069:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh.c:2072:9: branch_false: ...to here
openssh-10.2p1/ssh.c:2075:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.2p1/ssh.c:2076:20: branch_false: ...to here
openssh-10.2p1/ssh.c:2076:20: acquire_resource: opened here
openssh-10.2p1/ssh.c:2075:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.2p1/ssh.c:2078:18: branch_false: ...to here
openssh-10.2p1/ssh.c:2078:18: throw: if ‘channel_connect_stdio_fwd’ throws an exception...
openssh-10.2p1/ssh.c:2078:18: danger: ‘out’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def695]
openssh-10.2p1/ssh.c:2272:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
openssh-10.2p1/ssh.c:2263:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh.c:2264:22: branch_true: ...to here
openssh-10.2p1/ssh.c:2269:15: acquire_resource: opened here
openssh-10.2p1/ssh.c:2271:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh.c:2272:17: branch_true: ...to here
openssh-10.2p1/ssh.c:2272:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh.c:2272:17: danger: ‘err’ leaks here; was opened at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def696]
openssh-10.2p1/ssh.c:2272:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh.c:2263:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh.c:2264:22: branch_true: ...to here
openssh-10.2p1/ssh.c:2264:22: acquire_resource: opened here
openssh-10.2p1/ssh.c:2271:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh.c:2272:17: branch_true: ...to here
openssh-10.2p1/ssh.c:2272:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh.c:2272:17: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def697]
openssh-10.2p1/ssh.c:2272:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh.c:2263:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh.c:2264:22: branch_true: ...to here
openssh-10.2p1/ssh.c:2268:15: acquire_resource: opened here
openssh-10.2p1/ssh.c:2271:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh.c:2272:17: branch_true: ...to here
openssh-10.2p1/ssh.c:2272:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/ssh.c:2272:17: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def698]
openssh-10.2p1/ssh.c:2280:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
openssh-10.2p1/ssh.c:2263:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh.c:2264:22: branch_true: ...to here
openssh-10.2p1/ssh.c:2269:15: acquire_resource: opened here
openssh-10.2p1/ssh.c:2271:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh.c:2271:13: branch_false: ...to here
openssh-10.2p1/ssh.c:2271:13: branch_false: following ‘false’ branch (when ‘err != -1’)...
openssh-10.2p1/ssh.c:2276:13: branch_false: ...to here
openssh-10.2p1/ssh.c:2280:13: throw: if ‘channel_new’ throws an exception...
openssh-10.2p1/ssh.c:2280:13: danger: ‘err’ leaks here; was opened at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def699]
openssh-10.2p1/ssh.c:2280:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.2p1/ssh.c:2263:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh.c:2264:22: branch_true: ...to here
openssh-10.2p1/ssh.c:2264:22: acquire_resource: opened here
openssh-10.2p1/ssh.c:2271:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh.c:2280:13: throw: if ‘channel_new’ throws an exception...
openssh-10.2p1/ssh.c:2280:13: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def700]
openssh-10.2p1/ssh.c:2280:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.2p1/ssh.c:2263:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh.c:2264:22: branch_true: ...to here
openssh-10.2p1/ssh.c:2268:15: acquire_resource: opened here
openssh-10.2p1/ssh.c:2271:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh.c:2280:13: throw: if ‘channel_new’ throws an exception...
openssh-10.2p1/ssh.c:2280:13: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-416): [#def701]
openssh-10.2p1/ssh_api.c:182:25: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘k’
openssh-10.2p1/ssh_api.c:87:1: enter_function: entry to ‘ssh_init’
openssh-10.2p1/ssh_api.c:101:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:103:12: branch_false: ...to here
openssh-10.2p1/ssh_api.c:116:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:117:17: branch_true: ...to here
openssh-10.2p1/ssh_api.c:117:17: call_function: calling ‘ssh_free’ from ‘ssh_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def702]
openssh-10.2p1/ssh_api.c:556:30: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:31: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:556:30: throw: if ‘sshkey_type_from_name’ throws an exception...
openssh-10.2p1/ssh_api.c:556:30: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def703]
openssh-10.2p1/ssh_api.c:556:30: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:24: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:556:30: throw: if ‘sshkey_type_from_name’ throws an exception...
openssh-10.2p1/ssh_api.c:556:30: danger: ‘replace’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def704]
openssh-10.2p1/ssh_api.c:558:23: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:31: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:558:23: throw: if ‘sshkey_ecdsa_nid_from_name’ throws an exception...
openssh-10.2p1/ssh_api.c:558:23: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
openssh-10.2p1/ssh_api.c:558:23: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:24: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:558:23: throw: if ‘sshkey_ecdsa_nid_from_name’ throws an exception...
openssh-10.2p1/ssh_api.c:558:23: danger: ‘replace’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def706]
openssh-10.2p1/ssh_api.c:561:31: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:31: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:561:31: throw: if ‘sshkey_is_cert’ throws an exception...
openssh-10.2p1/ssh_api.c:561:31: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def707]
openssh-10.2p1/ssh_api.c:561:31: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:24: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:561:31: throw: if ‘sshkey_is_cert’ throws an exception...
openssh-10.2p1/ssh_api.c:561:31: danger: ‘replace’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def708]
openssh-10.2p1/ssh_api.c:562:45: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:31: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:562:45: throw: if ‘sshkey_type_plain’ throws an exception...
openssh-10.2p1/ssh_api.c:562:45: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def709]
openssh-10.2p1/ssh_api.c:562:45: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:24: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:562:45: throw: if ‘sshkey_type_plain’ throws an exception...
openssh-10.2p1/ssh_api.c:562:45: danger: ‘replace’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def710]
openssh-10.2p1/ssh_api.c:564:29: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:31: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:564:29: throw: if ‘sshkey_type_plain’ throws an exception...
openssh-10.2p1/ssh_api.c:564:29: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def711]
openssh-10.2p1/ssh_api.c:564:29: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:24: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:564:29: throw: if ‘sshkey_type_plain’ throws an exception...
openssh-10.2p1/ssh_api.c:564:29: danger: ‘replace’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def712]
openssh-10.2p1/ssh_api.c:575:17: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:31: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:568:28: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:570:25: branch_false: ...to here
openssh-10.2p1/ssh_api.c:574:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:575:17: branch_true: ...to here
openssh-10.2p1/ssh_api.c:575:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh_api.c:575:17: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def713]
openssh-10.2p1/ssh_api.c:576:17: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.2p1/ssh_api.c:542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:544:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:545:31: acquire_memory: allocated here
openssh-10.2p1/ssh_api.c:545:12: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:549:18: branch_false: ...to here
openssh-10.2p1/ssh_api.c:550:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.2p1/ssh_api.c:554:9: branch_false: ...to here
openssh-10.2p1/ssh_api.c:555:16: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:568:28: branch_false: following ‘false’ branch...
openssh-10.2p1/ssh_api.c:570:25: branch_false: ...to here
openssh-10.2p1/ssh_api.c:574:12: branch_true: following ‘true’ branch...
openssh-10.2p1/ssh_api.c:575:17: branch_true: ...to here
openssh-10.2p1/ssh_api.c:576:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/ssh_api.c:576:17: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def714]
openssh-10.2p1/sshbuf-getput-basic.c: scope_hint: In function ‘sshbuf_get_string’
openssh-10.2p1/sshbuf-getput-basic.c:198:30: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551613’ exceeds maximum object size 9223372036854775807
/usr/include/stdlib.h:676:14: note: in a call to allocation function ‘malloc’ declared here
Error: COMPILER_WARNING: [#def715]
openssh-10.2p1/sshbuf-getput-basic.c: scope_hint: In function ‘ssh_ed25519_deserialize_public’
openssh-10.2p1/sshbuf-getput-basic.c:203:25: warning[-Wstringop-overflow=]: ‘__builtin_memcpy’ writing 18446744073709551612 bytes into a region of size 9223372036854775807
openssh-10.2p1/sshbuf-getput-basic.c:198:30: note: destination object of size 9223372036854775807 allocated by ‘malloc’
Error: COMPILER_WARNING: [#def716]
openssh-10.2p1/sshbuf-getput-basic.c:204:30: warning[-Wstringop-overflow=]: writing 1 byte into a region of size 0
openssh-10.2p1/sshbuf-getput-basic.c:198:30: note: at offset -4 into destination object of size 9223372036854775807 allocated by ‘malloc’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def717]
openssh-10.2p1/sshbuf-getput-basic.c:374:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.2p1/sshbuf-getput-basic.c:364:12: branch_false: following ‘false’ branch (when ‘len >= 0’)...
openssh-10.2p1/sshbuf-getput-basic.c:368:12: branch_false: ...to here
openssh-10.2p1/sshbuf-getput-basic.c:368:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
openssh-10.2p1/sshbuf-getput-basic.c:372:9: branch_false: ...to here
openssh-10.2p1/sshbuf-getput-basic.c:373:9: acquire_resource: ‘va_copy’ called here
openssh-10.2p1/sshbuf-getput-basic.c:374:18: throw: if ‘sshbuf_reserve’ throws an exception...
openssh-10.2p1/sshbuf-getput-basic.c:374:18: danger: missing call to ‘va_end’ to match ‘va_copy’ at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def718]
openssh-10.2p1/sshbuf-io.c:110:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘open(path, 577, 420)’
openssh-10.2p1/sshbuf-io.c:105:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshbuf-io.c:107:13: branch_false: ...to here
openssh-10.2p1/sshbuf-io.c:107:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshbuf-io.c:108:52: branch_false: ...to here
openssh-10.2p1/sshbuf-io.c:108:52: release_resource: first ‘close’ here
openssh-10.2p1/sshbuf-io.c:107:13: branch_true: following ‘true’ branch...
openssh-10.2p1/sshbuf-io.c:109:26: branch_true: ...to here
openssh-10.2p1/sshbuf-io.c:110:17: danger: second ‘close’ here; first ‘close’ was at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
openssh-10.2p1/sshbuf-misc.c:141:13: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
openssh-10.2p1/sshbuf-misc.c:139:18: acquire_memory: allocated here
openssh-10.2p1/sshbuf-misc.c:139:12: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
openssh-10.2p1/sshbuf-misc.c:141:13: branch_false: ...to here
openssh-10.2p1/sshbuf-misc.c:141:13: throw: if ‘sshbuf_ptr’ throws an exception...
openssh-10.2p1/sshbuf-misc.c:141:13: danger: ‘s’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def720]
openssh-10.2p1/sshconnect.c:359:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.2p1/sshconnect.c:538:1: enter_function: entry to ‘ssh_connect’
openssh-10.2p1/sshconnect.c:544:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect.c:545:24: branch_true: ...to here
openssh-10.2p1/sshconnect.c:545:24: call_function: calling ‘ssh_connect_direct’ from ‘ssh_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def721]
openssh-10.2p1/sshconnect2.c:2206:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/sshconnect2.c:2221:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2206:24: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def722]
openssh-10.2p1/sshconnect2.c:2206:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/sshconnect2.c:2221:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2206:24: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def723]
openssh-10.2p1/sshconnect2.c:2206:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2217:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2206:24: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def724]
openssh-10.2p1/sshconnect2.c:2206:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2217:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2206:24: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def725]
openssh-10.2p1/sshconnect2.c:2217:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2217:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2217:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshconnect2.c:2217:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def726]
openssh-10.2p1/sshconnect2.c:2217:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2217:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2217:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshconnect2.c:2217:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def727]
openssh-10.2p1/sshconnect2.c:2221:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/sshconnect2.c:2221:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2221:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshconnect2.c:2221:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def728]
openssh-10.2p1/sshconnect2.c:2221:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/sshconnect2.c:2221:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2221:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshconnect2.c:2221:17: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def729]
openssh-10.2p1/sshconnect2.c:2221:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/sshconnect2.c:2221:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2221:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshconnect2.c:2221:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def730]
openssh-10.2p1/sshconnect2.c:2221:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.2p1/sshconnect2.c:2221:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2221:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshconnect2.c:2221:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def731]
openssh-10.2p1/sshconnect2.c:2224:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2224:20: throw: if ‘ssh_signal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2224:20: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def732]
openssh-10.2p1/sshconnect2.c:2224:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2224:20: throw: if ‘ssh_signal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2224:20: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def733]
openssh-10.2p1/sshconnect2.c:2224:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2224:20: throw: if ‘ssh_signal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2224:20: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def734]
openssh-10.2p1/sshconnect2.c:2224:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2224:20: throw: if ‘ssh_signal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2224:20: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def735]
openssh-10.2p1/sshconnect2.c:2226:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2226:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2226:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def736]
openssh-10.2p1/sshconnect2.c:2226:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2226:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2226:17: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def737]
openssh-10.2p1/sshconnect2.c:2226:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2226:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2226:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def738]
openssh-10.2p1/sshconnect2.c:2226:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2226:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2226:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def739]
openssh-10.2p1/sshconnect2.c:2227:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(from[1], 1)’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:21: acquire_resource: opened here
openssh-10.2p1/sshconnect2.c:2227:20: danger: ‘dup2(from[1], 1)’ leaks here; was opened at [(15)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def740]
openssh-10.2p1/sshconnect2.c:2228:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2228:25: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2228:25: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2228:25: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def741]
openssh-10.2p1/sshconnect2.c:2228:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2228:25: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2228:25: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2228:25: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def742]
openssh-10.2p1/sshconnect2.c:2228:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2228:25: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2228:25: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2228:25: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def743]
openssh-10.2p1/sshconnect2.c:2229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2229:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2229:17: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def744]
openssh-10.2p1/sshconnect2.c:2229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2229:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2229:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def745]
openssh-10.2p1/sshconnect2.c:2229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2229:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2229:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def746]
openssh-10.2p1/sshconnect2.c:2230:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(to[0], 0)’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2230:21: acquire_resource: opened here
openssh-10.2p1/sshconnect2.c:2230:20: danger: ‘dup2(to[0], 0)’ leaks here; was opened at [(17)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def747]
openssh-10.2p1/sshconnect2.c:2231:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2230:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2231:25: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2231:25: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2231:25: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def748]
openssh-10.2p1/sshconnect2.c:2231:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2230:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2231:25: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2231:25: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2231:25: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def749]
openssh-10.2p1/sshconnect2.c:2232:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2230:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2232:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2232:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2232:17: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def750]
openssh-10.2p1/sshconnect2.c:2232:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2230:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2232:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2232:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2232:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def751]
openssh-10.2p1/sshconnect2.c:2233:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2230:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2232:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2233:17: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2233:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def752]
openssh-10.2p1/sshconnect2.c:2235:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(ssh_packet_get_connection_in(ssh), 3)’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshconnect2.c:2226:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2227:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2229:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2230:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2232:17: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2235:21: acquire_resource: opened here
openssh-10.2p1/sshconnect2.c:2235:20: danger: ‘dup2(ssh_packet_get_connection_in(ssh), 3)’ leaks here; was opened at [(19)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def753]
openssh-10.2p1/sshconnect2.c:2248:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2248:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2248:9: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def754]
openssh-10.2p1/sshconnect2.c:2248:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2248:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2248:9: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def755]
openssh-10.2p1/sshconnect2.c:2248:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2248:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2248:9: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def756]
openssh-10.2p1/sshconnect2.c:2248:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2248:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2248:9: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def757]
openssh-10.2p1/sshconnect2.c:2249:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2249:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2249:9: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def758]
openssh-10.2p1/sshconnect2.c:2249:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2249:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2249:9: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def759]
openssh-10.2p1/sshconnect2.c:2249:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2249:9: throw: if ‘close’ throws an exception...
openssh-10.2p1/sshconnect2.c:2249:9: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def760]
openssh-10.2p1/sshconnect2.c:2252:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:18: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/sshconnect2.c:2252:18: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def761]
openssh-10.2p1/sshconnect2.c:2252:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:18: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/sshconnect2.c:2252:18: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def762]
openssh-10.2p1/sshconnect2.c:2253:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2253:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2253:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2253:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def763]
openssh-10.2p1/sshconnect2.c:2253:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2253:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2253:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2253:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def764]
openssh-10.2p1/sshconnect2.c:2255:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:18: throw: if ‘sshbuf_put_u32’ throws an exception...
openssh-10.2p1/sshconnect2.c:2255:18: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def765]
openssh-10.2p1/sshconnect2.c:2255:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:18: throw: if ‘sshbuf_put_u32’ throws an exception...
openssh-10.2p1/sshconnect2.c:2255:18: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def766]
openssh-10.2p1/sshconnect2.c:2256:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2256:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2256:18: throw: if ‘sshbuf_put_string’ throws an exception...
openssh-10.2p1/sshconnect2.c:2256:18: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def767]
openssh-10.2p1/sshconnect2.c:2256:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2256:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2256:18: throw: if ‘sshbuf_put_string’ throws an exception...
openssh-10.2p1/sshconnect2.c:2256:18: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def768]
openssh-10.2p1/sshconnect2.c:2257:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2257:17: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/sshconnect2.c:2257:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def769]
openssh-10.2p1/sshconnect2.c:2257:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2257:17: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/sshconnect2.c:2257:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def770]
openssh-10.2p1/sshconnect2.c:2258:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2256:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2258:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2258:13: throw: if ‘ssh_msg_send’ throws an exception...
openssh-10.2p1/sshconnect2.c:2258:13: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def771]
openssh-10.2p1/sshconnect2.c:2258:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2256:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2258:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2258:13: throw: if ‘ssh_msg_send’ throws an exception...
openssh-10.2p1/sshconnect2.c:2258:13: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def772]
openssh-10.2p1/sshconnect2.c:2259:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2256:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2258:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2258:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshconnect2.c:2259:17: branch_true: ...to here
openssh-10.2p1/sshconnect2.c:2259:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshconnect2.c:2259:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def773]
openssh-10.2p1/sshconnect2.c:2260:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2256:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2258:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2258:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2260:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2260:9: throw: if ‘sshbuf_reset’ throws an exception...
openssh-10.2p1/sshconnect2.c:2260:9: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def774]
openssh-10.2p1/sshconnect2.c:2261:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.2p1/sshconnect2.c:2204:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2208:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2208:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2212:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2212:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2216:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2216:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2220:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2220:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshconnect2.c:2224:20: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2225:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.2p1/sshconnect2.c:2248:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2255:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2256:18: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2255:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2258:13: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2258:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshconnect2.c:2260:9: branch_false: ...to here
openssh-10.2p1/sshconnect2.c:2261:13: throw: if ‘ssh_msg_recv’ throws an exception...
openssh-10.2p1/sshconnect2.c:2261:13: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def775]
openssh-10.2p1/sshd-auth.c:627:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_in’
openssh-10.2p1/sshd-auth.c:588:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-auth.c:592:9: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:609:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-auth.c:615:13: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:615:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-auth.c:624:38: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:624:38: acquire_resource: opened here
openssh-10.2p1/sshd-auth.c:627:13: throw: if ‘stdfd_devnull’ throws an exception...
openssh-10.2p1/sshd-auth.c:627:13: danger: ‘sock_in’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def776]
openssh-10.2p1/sshd-auth.c:627:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_out’
openssh-10.2p1/sshd-auth.c:588:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-auth.c:592:9: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:609:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-auth.c:615:13: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:615:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-auth.c:620:27: branch_true: ...to here
openssh-10.2p1/sshd-auth.c:621:28: acquire_resource: opened here
openssh-10.2p1/sshd-auth.c:627:13: throw: if ‘stdfd_devnull’ throws an exception...
openssh-10.2p1/sshd-auth.c:627:13: danger: ‘sock_out’ leaks here; was opened at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def777]
openssh-10.2p1/sshd-auth.c:628:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_in’
openssh-10.2p1/sshd-auth.c:588:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-auth.c:592:9: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:609:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-auth.c:615:13: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:615:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-auth.c:624:38: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:624:38: acquire_resource: opened here
openssh-10.2p1/sshd-auth.c:627:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-auth.c:628:17: branch_true: ...to here
openssh-10.2p1/sshd-auth.c:628:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshd-auth.c:628:17: danger: ‘sock_in’ leaks here; was opened at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def778]
openssh-10.2p1/sshd-auth.c:628:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_out’
openssh-10.2p1/sshd-auth.c:588:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-auth.c:592:9: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:609:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-auth.c:615:13: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:615:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-auth.c:620:27: branch_true: ...to here
openssh-10.2p1/sshd-auth.c:621:28: acquire_resource: opened here
openssh-10.2p1/sshd-auth.c:627:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-auth.c:628:17: branch_true: ...to here
openssh-10.2p1/sshd-auth.c:628:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshd-auth.c:628:17: danger: ‘sock_out’ leaks here; was opened at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def779]
openssh-10.2p1/sshd-auth.c:629:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_in’
openssh-10.2p1/sshd-auth.c:588:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-auth.c:592:9: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:609:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-auth.c:615:13: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:615:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-auth.c:624:38: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:624:38: acquire_resource: opened here
openssh-10.2p1/sshd-auth.c:629:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshd-auth.c:629:9: danger: ‘sock_in’ leaks here; was opened at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def780]
openssh-10.2p1/sshd-auth.c:629:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_out’
openssh-10.2p1/sshd-auth.c:588:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-auth.c:592:9: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:609:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-auth.c:615:13: branch_false: ...to here
openssh-10.2p1/sshd-auth.c:615:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-auth.c:620:27: branch_true: ...to here
openssh-10.2p1/sshd-auth.c:621:28: acquire_resource: opened here
openssh-10.2p1/sshd-auth.c:629:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshd-auth.c:629:9: danger: ‘sock_out’ leaks here; was opened at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def781]
openssh-10.2p1/sshd-session.c:443:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(ssh_packet_get_connection_in(ssh), 0)’
openssh-10.2p1/sshd-session.c:410:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshd-session.c:412:17: branch_false: ...to here
openssh-10.2p1/sshd-session.c:412:17: branch_false: following ‘false’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshd-session.c:428:31: branch_false: ...to here
openssh-10.2p1/sshd-session.c:443:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-session.c:444:21: branch_true: ...to here
openssh-10.2p1/sshd-session.c:444:21: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:443:21: danger: ‘dup2(ssh_packet_get_connection_in(ssh), 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def782]
openssh-10.2p1/sshd-session.c:446:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(ssh_packet_get_connection_out(ssh), 1)’
openssh-10.2p1/sshd-session.c:410:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshd-session.c:412:17: branch_false: ...to here
openssh-10.2p1/sshd-session.c:412:17: branch_false: following ‘false’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshd-session.c:428:31: branch_false: ...to here
openssh-10.2p1/sshd-session.c:446:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-session.c:447:21: branch_true: ...to here
openssh-10.2p1/sshd-session.c:447:21: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:446:21: danger: ‘dup2(ssh_packet_get_connection_out(ssh), 1)’ leaks here; was opened at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def783]
openssh-10.2p1/sshd-session.c:452:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*pmonitor.m_recvfd, 3)’
openssh-10.2p1/sshd-session.c:410:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshd-session.c:412:17: branch_false: ...to here
openssh-10.2p1/sshd-session.c:412:17: branch_false: following ‘false’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshd-session.c:428:31: branch_false: ...to here
openssh-10.2p1/sshd-session.c:452:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-session.c:453:21: branch_true: ...to here
openssh-10.2p1/sshd-session.c:453:21: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:452:21: danger: ‘dup2(*pmonitor.m_recvfd, 3)’ leaks here; was opened at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def784]
openssh-10.2p1/sshd-session.c:455:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*pmonitor.m_log_sendfd, 4)’
openssh-10.2p1/sshd-session.c:410:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.2p1/sshd-session.c:412:17: branch_false: ...to here
openssh-10.2p1/sshd-session.c:412:17: branch_false: following ‘false’ branch (when ‘pid == 0’)...
openssh-10.2p1/sshd-session.c:428:31: branch_false: ...to here
openssh-10.2p1/sshd-session.c:455:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-session.c:456:21: branch_true: ...to here
openssh-10.2p1/sshd-session.c:456:21: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:455:21: danger: ‘dup2(*pmonitor.m_log_sendfd, 4)’ leaks here; was opened at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def785]
openssh-10.2p1/sshd-session.c:752:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:905:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1111:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1112:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def786]
openssh-10.2p1/sshd-session.c:754:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:905:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1111:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1112:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def787]
openssh-10.2p1/sshd-session.c:754:50: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:905:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1111:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1112:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def788]
openssh-10.2p1/sshd-session.c:755:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:905:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1111:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1112:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def789]
openssh-10.2p1/sshd-session.c:758:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:905:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1111:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1112:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def790]
openssh-10.2p1/sshd-session.c:759:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:905:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1111:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1112:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def791]
openssh-10.2p1/sshd-session.c:760:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:905:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1111:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1112:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def792]
openssh-10.2p1/sshd-session.c:761:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:905:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1111:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1112:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def793]
openssh-10.2p1/sshd-session.c:1077:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.2p1/sshd-session.c:1078:32: branch_true: ...to here
openssh-10.2p1/sshd-session.c:1078:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
openssh-10.2p1/sshd-session.c:1078:20: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: danger: leaks here; was opened at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def794]
openssh-10.2p1/sshd-session.c:1079:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.2p1/sshd-session.c:1078:32: branch_true: ...to here
openssh-10.2p1/sshd-session.c:1078:20: branch_true: following ‘true’ branch (when ‘devnull == -1’)...
openssh-10.2p1/sshd-session.c:1079:25: branch_true: ...to here
openssh-10.2p1/sshd-session.c:1079:25: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshd-session.c:1079:25: danger: ‘devnull’ leaks here; was opened at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def795]
openssh-10.2p1/sshd-session.c:1082:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1082:9: throw: if ‘seed_rng’ throws an exception...
openssh-10.2p1/sshd-session.c:1082:9: danger: ‘devnull’ leaks here; was opened at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def796]
openssh-10.2p1/sshd-session.c:1089:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:951:16: branch_true: following ‘true’ branch (when ‘opt != -1’)...
openssh-10.2p1/sshd-session.c:953:17: branch_true: ...to here
openssh-10.2p1/sshd-session.c:951:16: branch_false: following ‘false’ branch (when ‘opt == -1’)...
openssh-10.2p1/sshd-session.c:1062:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_true: following ‘true’ branch (when ‘logfile’ is non-NULL)...
openssh-10.2p1/sshd-session.c:1088:70: branch_true: ...to here
openssh-10.2p1/sshd-session.c:1089:22: throw: if ‘percent_expand’ throws an exception...
openssh-10.2p1/sshd-session.c:1089:22: danger: ‘devnull’ leaks here; was opened at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def797]
openssh-10.2p1/sshd-session.c:1093:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:951:16: branch_true: following ‘true’ branch (when ‘opt != -1’)...
openssh-10.2p1/sshd-session.c:953:17: branch_true: ...to here
openssh-10.2p1/sshd-session.c:951:16: branch_false: following ‘false’ branch (when ‘opt == -1’)...
openssh-10.2p1/sshd-session.c:1062:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_true: following ‘true’ branch (when ‘logfile’ is non-NULL)...
openssh-10.2p1/sshd-session.c:1088:70: branch_true: ...to here
openssh-10.2p1/sshd-session.c:1093:17: throw: if ‘log_redirect_stderr_to’ throws an exception...
openssh-10.2p1/sshd-session.c:1093:17: danger: ‘devnull’ leaks here; was opened at [(9)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def798]
openssh-10.2p1/sshd-session.c:1101:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1101:9: throw: if ‘log_init’ throws an exception...
openssh-10.2p1/sshd-session.c:1101:9: danger: ‘devnull’ leaks here; was opened at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def799]
openssh-10.2p1/sshd-session.c:1109:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:20: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/sshd-session.c:1109:20: danger: ‘devnull’ leaks here; was opened at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def800]
openssh-10.2p1/sshd-session.c:1110:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd-session.c:1110:17: branch_true: ...to here
openssh-10.2p1/sshd-session.c:1110:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshd-session.c:1110:17: danger: ‘devnull’ leaks here; was opened at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def801]
openssh-10.2p1/sshd-session.c:1111:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd-session.c:1062:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1067:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1067:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.2p1/sshd-session.c:1070:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1075:24: acquire_resource: opened here
openssh-10.2p1/sshd-session.c:1075:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1075:12: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1077:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd-session.c:1082:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1085:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd-session.c:1106:13: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1109:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd-session.c:1111:9: branch_false: ...to here
openssh-10.2p1/sshd-session.c:1111:9: throw: if ‘setproctitle’ throws an exception...
openssh-10.2p1/sshd-session.c:1111:9: danger: ‘devnull’ leaks here; was opened at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def802]
openssh-10.2p1/sshd.c:846:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_sock’
openssh-10.2p1/sshd.c:825:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.2p1/sshd.c:826:21: branch_true: ...to here
openssh-10.2p1/sshd.c:828:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:831:28: branch_false: ...to here
openssh-10.2p1/sshd.c:831:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:839:31: branch_false: ...to here
openssh-10.2p1/sshd.c:839:31: acquire_resource: socket created here
openssh-10.2p1/sshd.c:841:20: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
openssh-10.2p1/sshd.c:846:21: branch_false: ...to here
openssh-10.2p1/sshd.c:846:21: throw: if ‘set_nonblock’ throws an exception...
openssh-10.2p1/sshd.c:846:21: danger: ‘listen_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def803]
openssh-10.2p1/sshd.c:1257:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1308:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1697:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def804]
openssh-10.2p1/sshd.c:1258:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1308:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def805]
openssh-10.2p1/sshd.c:1261:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1308:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def806]
openssh-10.2p1/sshd.c:1261:44: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1308:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def807]
openssh-10.2p1/sshd.c:1263:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1308:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def808]
openssh-10.2p1/sshd.c:1264:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1308:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def809]
openssh-10.2p1/sshd.c:1265:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1308:1: enter_function: entry to ‘main’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def810]
openssh-10.2p1/sshd.c:1483:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.2p1/sshd.c:1484:32: branch_true: ...to here
openssh-10.2p1/sshd.c:1484:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
openssh-10.2p1/sshd.c:1484:20: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: danger: leaks here; was opened at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def811]
openssh-10.2p1/sshd.c:1485:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.2p1/sshd.c:1484:32: branch_true: ...to here
openssh-10.2p1/sshd.c:1484:20: branch_true: following ‘true’ branch (when ‘devnull == -1’)...
openssh-10.2p1/sshd.c:1485:25: branch_true: ...to here
openssh-10.2p1/sshd.c:1485:25: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshd.c:1485:25: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def812]
openssh-10.2p1/sshd.c:1488:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1488:9: throw: if ‘seed_rng’ throws an exception...
openssh-10.2p1/sshd.c:1488:9: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def813]
openssh-10.2p1/sshd.c:1495:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1362:16: branch_true: following ‘true’ branch (when ‘opt != -1’)...
openssh-10.2p1/sshd.c:1364:17: branch_true: ...to here
openssh-10.2p1/sshd.c:1362:16: branch_false: following ‘false’ branch (when ‘opt == -1’)...
openssh-10.2p1/sshd.c:1475:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1475:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1475:59: branch_true: ...to here
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_true: following ‘true’ branch (when ‘logfile’ is non-NULL)...
openssh-10.2p1/sshd.c:1494:70: branch_true: ...to here
openssh-10.2p1/sshd.c:1495:22: throw: if ‘percent_expand’ throws an exception...
openssh-10.2p1/sshd.c:1495:22: danger: ‘devnull’ leaks here; was opened at [(9)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def814]
openssh-10.2p1/sshd.c:1499:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1362:16: branch_true: following ‘true’ branch (when ‘opt != -1’)...
openssh-10.2p1/sshd.c:1364:17: branch_true: ...to here
openssh-10.2p1/sshd.c:1362:16: branch_false: following ‘false’ branch (when ‘opt == -1’)...
openssh-10.2p1/sshd.c:1475:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1475:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1475:59: branch_true: ...to here
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_true: following ‘true’ branch (when ‘logfile’ is non-NULL)...
openssh-10.2p1/sshd.c:1494:70: branch_true: ...to here
openssh-10.2p1/sshd.c:1499:17: throw: if ‘log_redirect_stderr_to’ throws an exception...
openssh-10.2p1/sshd.c:1499:17: danger: ‘devnull’ leaks here; was opened at [(9)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def815]
openssh-10.2p1/sshd.c:1507:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1507:9: throw: if ‘log_init’ throws an exception...
openssh-10.2p1/sshd.c:1507:9: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def816]
openssh-10.2p1/sshd.c:1531:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1531:9: throw: if ‘OpenSSL_version’ throws an exception...
openssh-10.2p1/sshd.c:1531:9: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def817]
openssh-10.2p1/sshd.c:1536:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1536:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshd.c:1536:9: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def818]
openssh-10.2p1/sshd.c:1538:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1538:9: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshd.c:1538:9: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def819]
openssh-10.2p1/sshd.c:1542:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:20: throw: if ‘sshbuf_new’ throws an exception...
openssh-10.2p1/sshd.c:1542:20: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def820]
openssh-10.2p1/sshd.c:1543:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1543:17: branch_true: ...to here
openssh-10.2p1/sshd.c:1543:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshd.c:1543:17: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def821]
openssh-10.2p1/sshd.c:1545:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1544:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1545:17: branch_true: ...to here
openssh-10.2p1/sshd.c:1545:17: throw: if ‘load_server_config’ throws an exception...
openssh-10.2p1/sshd.c:1545:17: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def822]
openssh-10.2p1/sshd.c:1547:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1547:9: throw: if ‘parse_server_config’ throws an exception...
openssh-10.2p1/sshd.c:1547:9: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def823]
openssh-10.2p1/sshd.c:1551:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1551:9: throw: if ‘fill_default_server_options’ throws an exception...
openssh-10.2p1/sshd.c:1551:9: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def824]
openssh-10.2p1/sshd.c:1557:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1554:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1555:14: branch_true: ...to here
openssh-10.2p1/sshd.c:1554:13: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1556:13: branch_true: ...to here
openssh-10.2p1/sshd.c:1555:13: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1557:17: branch_true: ...to here
openssh-10.2p1/sshd.c:1557:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshd.c:1557:17: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def825]
openssh-10.2p1/sshd.c:1562:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1559:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1560:14: branch_true: ...to here
openssh-10.2p1/sshd.c:1559:13: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1561:13: branch_true: ...to here
openssh-10.2p1/sshd.c:1560:13: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1562:17: branch_true: ...to here
openssh-10.2p1/sshd.c:1562:17: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshd.c:1562:17: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def826]
openssh-10.2p1/sshd.c:1573:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1571:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1571:12: branch_true: ...to here
openssh-10.2p1/sshd.c:1572:29: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1573:49: branch_true: ...to here
openssh-10.2p1/sshd.c:1573:29: throw: if ‘auth2_methods_valid’ throws an exception...
openssh-10.2p1/sshd.c:1573:29: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def827]
openssh-10.2p1/sshd.c:1578:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1571:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1571:12: branch_true: ...to here
openssh-10.2p1/sshd.c:1577:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1578:25: branch_true: ...to here
openssh-10.2p1/sshd.c:1578:25: throw: if ‘sshfatal’ throws an exception...
openssh-10.2p1/sshd.c:1578:25: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def828]
openssh-10.2p1/sshd.c:1592:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1592:36: throw: if ‘xcalloc’ throws an exception...
openssh-10.2p1/sshd.c:1592:36: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def829]
openssh-10.2p1/sshd.c:1594:39: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1594:39: throw: if ‘xcalloc’ throws an exception...
openssh-10.2p1/sshd.c:1594:39: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def830]
openssh-10.2p1/sshd.c:1601:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1598:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1598:20: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.2p1/sshd.c:1601:26: branch_false: ...to here
openssh-10.2p1/sshd.c:1601:26: throw: if ‘ssh_get_authentication_socket’ throws an exception...
openssh-10.2p1/sshd.c:1601:26: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def831]
openssh-10.2p1/sshd.c:1604:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1598:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1601:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1604:25: branch_false: ...to here
openssh-10.2p1/sshd.c:1604:25: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/sshd.c:1604:25: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def832]
openssh-10.2p1/sshd.c:1614:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1612:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1614:26: branch_false: ...to here
openssh-10.2p1/sshd.c:1614:26: throw: if ‘sshkey_load_private’ throws an exception...
openssh-10.2p1/sshd.c:1614:26: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def833]
openssh-10.2p1/sshd.c:1616:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1614:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1614:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1614:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1616:25: branch_true: ...to here
openssh-10.2p1/sshd.c:1616:25: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/sshd.c:1616:25: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def834]
openssh-10.2p1/sshd.c:1618:52: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1618:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1618:52: throw: if ‘sshkey_type_plain’ throws an exception...
openssh-10.2p1/sshd.c:1618:52: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def835]
openssh-10.2p1/sshd.c:1619:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1618:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1618:21: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1619:58: branch_false: ...to here
openssh-10.2p1/sshd.c:1619:37: throw: if ‘sshkey_type_plain’ throws an exception...
openssh-10.2p1/sshd.c:1619:37: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def836]
openssh-10.2p1/sshd.c:1620:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1618:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1620:21: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshd.c:1620:21: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def837]
openssh-10.2p1/sshd.c:1621:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1618:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1621:21: throw: if ‘sshkey_free’ throws an exception...
openssh-10.2p1/sshd.c:1621:21: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def838]
openssh-10.2p1/sshd.c:1625:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1625:21: throw: if ‘sshkey_is_sk’ throws an exception...
openssh-10.2p1/sshd.c:1625:21: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def839]
openssh-10.2p1/sshd.c:1627:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1625:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1626:24: branch_true: ...to here
openssh-10.2p1/sshd.c:1625:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1627:25: branch_true: ...to here
openssh-10.2p1/sshd.c:1627:25: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshd.c:1627:25: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def840]
openssh-10.2p1/sshd.c:1632:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1631:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1632:26: throw: if ‘sshkey_shield_private’ throws an exception...
openssh-10.2p1/sshd.c:1632:26: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def841]
openssh-10.2p1/sshd.c:1633:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1631:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1633:25: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/sshd.c:1633:25: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def842]
openssh-10.2p1/sshd.c:1635:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1631:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1635:25: throw: if ‘sshkey_free’ throws an exception...
openssh-10.2p1/sshd.c:1635:25: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def843]
openssh-10.2p1/sshd.c:1638:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1638:26: throw: if ‘sshkey_load_public’ throws an exception...
openssh-10.2p1/sshd.c:1638:26: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def844]
openssh-10.2p1/sshd.c:1640:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1638:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1638:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1638:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1640:25: branch_true: ...to here
openssh-10.2p1/sshd.c:1640:25: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/sshd.c:1640:25: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def845]
openssh-10.2p1/sshd.c:1643:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1642:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1643:30: throw: if ‘sshkey_equal’ throws an exception...
openssh-10.2p1/sshd.c:1643:30: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def846]
openssh-10.2p1/sshd.c:1644:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1642:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1643:28: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1644:33: branch_true: ...to here
openssh-10.2p1/sshd.c:1644:33: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshd.c:1644:33: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def847]
openssh-10.2p1/sshd.c:1646:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1642:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1643:28: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1644:33: branch_true: ...to here
openssh-10.2p1/sshd.c:1646:33: throw: if ‘sshkey_free’ throws an exception...
openssh-10.2p1/sshd.c:1646:33: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def848]
openssh-10.2p1/sshd.c:1651:34: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1650:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1651:34: throw: if ‘sshkey_from_private’ throws an exception...
openssh-10.2p1/sshd.c:1651:34: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def849]
openssh-10.2p1/sshd.c:1652:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.2p1/sshd.c:1475:13: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1478:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1481:24: acquire_resource: opened here
openssh-10.2p1/sshd.c:1481:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1481:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1483:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.2p1/sshd.c:1488:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1491:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.2p1/sshd.c:1491:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1527:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1531:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1542:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1544:13: branch_false: ...to here
openssh-10.2p1/sshd.c:1583:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1588:12: branch_false: ...to here
openssh-10.2p1/sshd.c:1588:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.2p1/sshd.c:1592:44: branch_false: ...to here
openssh-10.2p1/sshd.c:1597:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshd.c:1608:9: branch_false: ...to here
openssh-10.2p1/sshd.c:1608:21: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1609:26: branch_true: ...to here
openssh-10.2p1/sshd.c:1609:26: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.2p1/sshd.c:1650:20: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1651:28: branch_true: following ‘true’ branch...
openssh-10.2p1/sshd.c:1652:33: branch_true: ...to here
openssh-10.2p1/sshd.c:1652:33: throw: if ‘ssh_err’ throws an exception...
openssh-10.2p1/sshd.c:1652:33: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def850]
openssh-10.2p1/sshpty.c:117:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 258)’
openssh-10.2p1/sshpty.c:115:14: acquire_resource: opened here
openssh-10.2p1/sshpty.c:116:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshpty.c:117:17: branch_true: ...to here
openssh-10.2p1/sshpty.c:117:17: throw: if ‘sshlog’ throws an exception...
openssh-10.2p1/sshpty.c:117:17: danger: ‘open("/dev/tty", 258)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def851]
openssh-10.2p1/sshpty.c:118:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 258)’
openssh-10.2p1/sshpty.c:115:14: acquire_resource: opened here
openssh-10.2p1/sshpty.c:116:12: branch_true: following ‘true’ branch...
openssh-10.2p1/sshpty.c:117:17: branch_true: ...to here
openssh-10.2p1/sshpty.c:118:17: danger: ‘open("/dev/tty", 258)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def852]
openssh-10.2p1/sshpty.c:134:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(tty, 2)’
openssh-10.2p1/sshpty.c:130:14: acquire_resource: opened here
openssh-10.2p1/sshpty.c:131:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshpty.c:134:17: branch_false: ...to here
openssh-10.2p1/sshpty.c:134:17: danger: ‘open(tty, 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def853]
openssh-10.2p1/sshpty.c:142:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 1)’
openssh-10.2p1/sshpty.c:137:14: acquire_resource: opened here
openssh-10.2p1/sshpty.c:138:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshpty.c:142:17: branch_false: ...to here
openssh-10.2p1/sshpty.c:142:17: danger: ‘open("/dev/tty", 1)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def854]
openssh-10.2p1/sshsig.c:655:26: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def855]
openssh-10.2p1/sshsig.c:655:26: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.2p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.2p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.2p1/sshsig.c:655:26: throw: if ‘opt_flag’ throws an exception...
openssh-10.2p1/sshsig.c:655:26: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def856]
openssh-10.2p1/sshsig.c:657:28: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def857]
openssh-10.2p1/sshsig.c:657:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.2p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.2p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.2p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:657:28: throw: if ‘opt_match’ throws an exception...
openssh-10.2p1/sshsig.c:657:28: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def858]
openssh-10.2p1/sshsig.c:662:43: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.2p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.2p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.2p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:658:28: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:662:43: branch_false: ...to here
openssh-10.2p1/sshsig.c:662:43: throw: if ‘opt_dequote’ throws an exception...
openssh-10.2p1/sshsig.c:662:43: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def859]
openssh-10.2p1/sshsig.c:665:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.2p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.2p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.2p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:665:28: throw: if ‘opt_match’ throws an exception...
openssh-10.2p1/sshsig.c:665:28: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def860]
openssh-10.2p1/sshsig.c:670:36: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.2p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.2p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.2p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:666:28: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:670:36: branch_false: ...to here
openssh-10.2p1/sshsig.c:670:36: throw: if ‘opt_dequote’ throws an exception...
openssh-10.2p1/sshsig.c:670:36: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def861]
openssh-10.2p1/sshsig.c:672:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.2p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.2p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.2p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:666:28: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:670:36: branch_false: ...to here
openssh-10.2p1/sshsig.c:670:28: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:672:29: branch_false: ...to here
openssh-10.2p1/sshsig.c:672:29: throw: if ‘parse_absolute_time’ throws an exception...
openssh-10.2p1/sshsig.c:672:29: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def862]
openssh-10.2p1/sshsig.c:679:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.2p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.2p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.2p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:665:27: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:679:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:679:28: throw: if ‘opt_match’ throws an exception...
openssh-10.2p1/sshsig.c:679:28: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def863]
openssh-10.2p1/sshsig.c:684:36: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.2p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.2p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.2p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:665:27: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:679:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:680:28: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:684:36: branch_false: ...to here
openssh-10.2p1/sshsig.c:684:36: throw: if ‘opt_dequote’ throws an exception...
openssh-10.2p1/sshsig.c:684:36: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def864]
openssh-10.2p1/sshsig.c:686:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.2p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.2p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.2p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.2p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.2p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:665:27: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:679:28: branch_false: ...to here
openssh-10.2p1/sshsig.c:680:28: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:684:36: branch_false: ...to here
openssh-10.2p1/sshsig.c:684:28: branch_false: following ‘false’ branch...
openssh-10.2p1/sshsig.c:686:29: branch_false: ...to here
openssh-10.2p1/sshsig.c:686:29: throw: if ‘parse_absolute_time’ throws an exception...
openssh-10.2p1/sshsig.c:686:29: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def865]
openssh-10.2p1/sshsig.c:774:21: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def866]
openssh-10.2p1/sshsig.c:780:17: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def867]
openssh-10.2p1/sshsig.c:784:20: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def868]
openssh-10.2p1/sshsig.c:785:17: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def869]
openssh-10.2p1/sshsig.c:789:13: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def870]
openssh-10.2p1/sshsig.c:792:21: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def871]
openssh-10.2p1/sshsig.c:793:25: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def872]
openssh-10.2p1/sshsig.c:798:25: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def873]
openssh-10.2p1/sshsig.c:803:17: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def874]
openssh-10.2p1/sshsig.c:804:21: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def875]
openssh-10.2p1/sshsig.c:805:25: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def876]
openssh-10.2p1/sshsig.c:810:9: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def877]
openssh-10.2p1/sshsig.c:812:17: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.2p1/sshsig.c:895:1: enter_function: entry to ‘check_allowed_keys_line’
openssh-10.2p1/sshsig.c:906:12: branch_false: following ‘false’ branch (when ‘principalsp’ is NULL)...
openssh-10.2p1/sshsig.c:910:18: branch_false: ...to here
openssh-10.2p1/sshsig.c:910:18: call_function: calling ‘parse_principals_key_and_options’ from ‘check_allowed_keys_line’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def878]
openssh-10.2p1/utf8.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of ‘dp’
openssh-10.2p1/utf8.c:305:1: enter_function: entry to ‘mprintf’
openssh-10.2p1/utf8.c:311:15: call_function: calling ‘vfmprintf’ from ‘mprintf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def879]
openssh-10.2p1/utf8.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
openssh-10.2p1/utf8.c:305:1: enter_function: entry to ‘mprintf’
openssh-10.2p1/utf8.c:311:15: call_function: calling ‘vfmprintf’ from ‘mprintf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def880]
openssh-10.2p1/utf8.c:195:38: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
openssh-10.2p1/utf8.c:305:1: enter_function: entry to ‘mprintf’
openssh-10.2p1/utf8.c:311:15: call_function: calling ‘vfmprintf’ from ‘mprintf’
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| 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-164.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-x86_64 |
| project-name | openssh-10.2p1-1.fc44 |
| store-results-to | /tmp/tmpqz4u6kup/openssh-10.2p1-1.fc44.tar.xz |
| time-created | 2026-01-08 19:59:21 |
| time-finished | 2026-01-08 20:02:31 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpqz4u6kup/openssh-10.2p1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpqz4u6kup/openssh-10.2p1-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |