openssh-10.0p1-7.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.0p1/addr.c:239:9: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
openssh-10.0p1/addr.c:361:1: enter_function: entry to ‘addr_host_to_all1s’
openssh-10.0p1/addr.c:365:13: call_function: calling ‘addr_hostmask’ from ‘addr_host_to_all1s’
openssh-10.0p1/addr.c:365:13: return_function: returning to ‘addr_host_to_all1s’ from ‘addr_hostmask’
openssh-10.0p1/addr.c:365:12: branch_false: following ‘false’ branch...
openssh-10.0p1/addr.c:367:13: branch_false: ...to here
openssh-10.0p1/addr.c:367:13: call_function: calling ‘addr_or’ from ‘addr_host_to_all1s’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
openssh-10.0p1/addrmatch.c:71:21: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:60:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:60:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:62:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:63:23: branch_true: ...to here
openssh-10.0p1/addrmatch.c:66:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:71:21: branch_false: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:73:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:60:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:60:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:62:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:63:23: branch_true: ...to here
openssh-10.0p1/addrmatch.c:66:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:71:21: branch_false: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:78:45: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:56:13: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:60:25: branch_false: ...to here
openssh-10.0p1/addrmatch.c:60:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:60:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:62:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:63:23: branch_true: ...to here
openssh-10.0p1/addrmatch.c:66:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:71:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:72:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:77:27: branch_false: ...to here
openssh-10.0p1/addrmatch.c:77:27: branch_true: following ‘true’ branch...
openssh-10.0p1/addrmatch.c:78:28: branch_true: ...to here
openssh-10.0p1/addrmatch.c:78:28: branch_true: following ‘true’ branch (when ‘addr’ is non-NULL)...
openssh-10.0p1/addrmatch.c:78:45: branch_true: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:90:45: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:56:13: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:60:25: branch_false: ...to here
openssh-10.0p1/addrmatch.c:60:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:60:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:62:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:63:23: branch_true: ...to here
openssh-10.0p1/addrmatch.c:66:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:71:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:72:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:77:27: branch_false: ...to here
openssh-10.0p1/addrmatch.c:77:27: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:90:28: branch_false: ...to here
openssh-10.0p1/addrmatch.c:90:28: branch_true: following ‘true’ branch (when ‘addr’ is non-NULL)...
openssh-10.0p1/addrmatch.c:90:45: branch_true: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:124:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.0p1/addrmatch.c:123:20: branch_true: following ‘true’ branch...
openssh-10.0p1/addrmatch.c:124:25: branch_true: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:137:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.0p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:136:20: branch_true: following ‘true’ branch...
openssh-10.0p1/addrmatch.c:137:25: branch_true: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:143:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.0p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:142:20: branch_true: following ‘true’ branch...
openssh-10.0p1/addrmatch.c:143:25: branch_true: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:149:21: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.0p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:151:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.0p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:155:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.0p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:150:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:154:27: branch_false: ...to here
openssh-10.0p1/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.0p1/addrmatch.c:160:29: warning[-Wanalyzer-malloc-leak]: leak of ‘list’
openssh-10.0p1/addrmatch.c:116:13: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:120:25: branch_false: ...to here
openssh-10.0p1/addrmatch.c:120:25: acquire_memory: allocated here
openssh-10.0p1/addrmatch.c:120:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/addrmatch.c:122:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/addrmatch.c:123:21: branch_true: ...to here
openssh-10.0p1/addrmatch.c:123:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:136:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:136:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:142:21: branch_false: ...to here
openssh-10.0p1/addrmatch.c:150:20: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:154:27: branch_false: ...to here
openssh-10.0p1/addrmatch.c:154:27: branch_false: following ‘false’ branch...
openssh-10.0p1/addrmatch.c:159:28: branch_false: ...to here
openssh-10.0p1/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.0p1/audit-linux.c:173:17: warning[-Wanalyzer-malloc-leak]: leak of ‘audit_encode_nv_string("key_id", *cert.key_id, 0)’
openssh-10.0p1/audit-linux.c:148:12: branch_false: following ‘false’ branch...
openssh-10.0p1/audit-linux.c:155:15: branch_false: ...to here
openssh-10.0p1/audit-linux.c:167:12: branch_true: following ‘true’ branch (when ‘cert’ is non-NULL)...
openssh-10.0p1/audit-linux.c:170:57: branch_true: ...to here
openssh-10.0p1/audit-linux.c:170:24: acquire_memory: allocated here
openssh-10.0p1/audit-linux.c:171:20: branch_false: following ‘false’ branch...
openssh-10.0p1/audit-linux.c:174:77: branch_false: ...to here
openssh-10.0p1/audit-linux.c:173:17: 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.0p1/auth-krb5.c:268:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.0p1/auth-krb5.c:246:12: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-krb5.c:247:30: branch_true: ...to here
openssh-10.0p1/auth-krb5.c:256:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-krb5.c:259:23: branch_false: ...to here
openssh-10.0p1/auth-krb5.c:264:27: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-krb5.c:266:25: branch_true: ...to here
openssh-10.0p1/auth-krb5.c:268:25: danger: dereference of NULL ‘strchr(&krb5_ccname, 58)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
openssh-10.0p1/auth-krb5.c:361:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.0p1/auth-krb5.c:335:12: branch_false: following ‘false’ branch (when ‘template’ is non-NULL)...
openssh-10.0p1/auth-krb5.c:338:36: branch_false: ...to here
openssh-10.0p1/auth-krb5.c:341:16: branch_true: following ‘true’ branch (when ‘p_n’ is non-NULL)...
openssh-10.0p1/auth-krb5.c:343:18: branch_true: ...to here
openssh-10.0p1/auth-krb5.c:344:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-krb5.c:347:21: branch_false: ...to here
openssh-10.0p1/auth-krb5.c:347:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-krb5.c:354:25: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-krb5.c:360:31: branch_false: ...to here
openssh-10.0p1/auth-krb5.c:361:25: danger: dereference of NULL ‘strchr(p_n, 125)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
openssh-10.0p1/auth-options.c:230:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:850:1: enter_function: entry to ‘sshauthopt_deserialise’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_true: ...to here
openssh-10.0p1/auth-options.c:910:9: call_function: calling ‘sshauthopt_free’ from ‘sshauthopt_deserialise’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
openssh-10.0p1/auth-options.c:669:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sshauthopt_new()’
openssh-10.0p1/auth-options.c:661:1: enter_function: entry to ‘sshauthopt_copy’
openssh-10.0p1/auth-options.c:665:20: call_function: calling ‘sshauthopt_new’ from ‘sshauthopt_copy’
openssh-10.0p1/auth-options.c:665:20: return_function: returning to ‘sshauthopt_copy’ from ‘sshauthopt_new’
openssh-10.0p1/auth-options.c:665:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:669:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:688:9: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-options.c:688:9: call_function: calling ‘sshauthopt_free’ from ‘sshauthopt_copy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
openssh-10.0p1/auth-options.c:754:26: warning[-Wanalyzer-malloc-leak]: leak of ‘a’
openssh-10.0p1/auth-options.c:741:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:742:18: branch_false: ...to here
openssh-10.0p1/auth-options.c:741:13: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:744:13: branch_false: ...to here
openssh-10.0p1/auth-options.c:744:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:748:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:749:12: branch_true: following ‘true’ branch (when ‘n != 0’)...
openssh-10.0p1/auth-options.c:749:27: branch_true: ...to here
openssh-10.0p1/auth-options.c:749:27: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:749:13: branch_false: following ‘false’ branch (when ‘a’ is non-NULL)...
openssh-10.0p1/auth-options.c:753:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:753:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-options.c:754:50: branch_true: ...to here
openssh-10.0p1/auth-options.c:754: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.0p1/auth-options.c:867:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867: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.0p1/auth-options.c:868:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:868: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.0p1/auth-options.c:869:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:869: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.0p1/auth-options.c:870:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:870: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.0p1/auth-options.c:871:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:871: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.0p1/auth-options.c:872:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:871:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:871:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:872: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.0p1/auth-options.c:873:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:871:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:871:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:872:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:872:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:873: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.0p1/auth-options.c:874:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:871:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:871:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:872:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:872:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:873:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:873:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:874: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.0p1/auth-options.c:875:9: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:871:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:871:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:872:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:872:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:873:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:873:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:874:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:874:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:875: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.0p1/auth-options.c:879:18: warning[-Wanalyzer-malloc-leak]: leak of ‘opts’
openssh-10.0p1/auth-options.c:857:21: acquire_memory: allocated here
openssh-10.0p1/auth-options.c:857:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:867:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:867:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:868:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:868:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:869:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:869:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:870:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:870:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:871:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:871:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:872:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:872:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:873:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:873:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:874:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:874:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:875:9: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-options.c:875:9: branch_false: ...to here
openssh-10.0p1/auth-options.c:879: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.0p1/auth-pam.c:413:23: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/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.0p1/auth-pam.c:422:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/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.0p1/auth-pam.c:424:33: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:422:28: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-pam.c:424:33: branch_true: ...to here
openssh-10.0p1/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.0p1/auth-pam.c:426:29: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.0p1/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.0p1/auth-pam.c:430:29: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:426:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:430:29: branch_false: ...to here
openssh-10.0p1/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.0p1/auth-pam.c:432:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:426:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:430:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:430:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:432:34: branch_false: ...to here
openssh-10.0p1/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.0p1/auth-pam.c:433:33: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:426:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:430:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:430:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:432:34: branch_false: ...to here
openssh-10.0p1/auth-pam.c:432:28: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-pam.c:433:33: branch_true: ...to here
openssh-10.0p1/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.0p1/auth-pam.c:437:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:426:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:430:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:430:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:432:34: branch_false: ...to here
openssh-10.0p1/auth-pam.c:432:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:435:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:435:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:438:35: branch_false: ...to here
openssh-10.0p1/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.0p1/auth-pam.c:439:33: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:444:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:449:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:448:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:455:17: branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:422:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:427:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:426:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:430:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:430:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:432:34: branch_false: ...to here
openssh-10.0p1/auth-pam.c:432:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:435:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:435:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:438:35: branch_false: ...to here
openssh-10.0p1/auth-pam.c:437:28: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-pam.c:439:33: branch_true: ...to here
openssh-10.0p1/auth-pam.c:439:33: 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.0p1/auth-pam.c:444:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:444:34: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
openssh-10.0p1/auth-pam.c:446:33: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:444:28: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-pam.c:446:33: branch_true: ...to here
openssh-10.0p1/auth-pam.c:446:33: 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.0p1/auth-pam.c:448:29: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:444:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:449:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:448:29: 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): [#def42]
openssh-10.0p1/auth-pam.c:455:17: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:418:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:419:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:444:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:449:29: branch_false: ...to here
openssh-10.0p1/auth-pam.c:448:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:455:17: branch_false: ...to here
openssh-10.0p1/auth-pam.c:455:17: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
openssh-10.0p1/auth-pam.c:457:9: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:403:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
openssh-10.0p1/auth-pam.c:408:13: branch_false: ...to here
openssh-10.0p1/auth-pam.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:411:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:411:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:411:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
openssh-10.0p1/auth-pam.c:413:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:413:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:457:9: danger: ‘reply’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
openssh-10.0p1/auth-pam.c:647:34: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:637:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:640:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:640:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:640:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:643:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:644:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:644:17: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-pam.c:645:17: branch_true: ...to here
openssh-10.0p1/auth-pam.c:647:34: danger: ‘reply’ leaks here; was allocated at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
openssh-10.0p1/auth-pam.c:649:33: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:637:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:640:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:640:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:640:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:643:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:644:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:644:17: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-pam.c:645:17: branch_true: ...to here
openssh-10.0p1/auth-pam.c:647:28: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-pam.c:649:33: branch_true: ...to here
openssh-10.0p1/auth-pam.c:649:33: danger: ‘reply’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
openssh-10.0p1/auth-pam.c:979:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fake_password(*resp)’
openssh-10.0p1/auth-pam.c:990:1: enter_function: entry to ‘sshpam_respond’
openssh-10.0p1/auth-pam.c:1007:12: branch_false: following ‘false’ branch (when ‘num == 1’)...
openssh-10.0p1/auth-pam.c:1011:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1011:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1013:28: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1019:24: call_function: calling ‘fake_password’ from ‘sshpam_respond’
openssh-10.0p1/auth-pam.c:1019:24: return_function: returning to ‘sshpam_respond’ from ‘fake_password’
openssh-10.0p1/auth-pam.c:979:15: danger: ‘fake_password(*resp)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
openssh-10.0p1/auth-pam.c:1020:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fake_password(*resp)’
openssh-10.0p1/auth-pam.c:990:1: enter_function: entry to ‘sshpam_respond’
openssh-10.0p1/auth-pam.c:1007:12: branch_false: following ‘false’ branch (when ‘num == 1’)...
openssh-10.0p1/auth-pam.c:1011:23: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1011:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1013:28: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1019:24: call_function: calling ‘fake_password’ from ‘sshpam_respond’
openssh-10.0p1/auth-pam.c:1019:24: return_function: returning to ‘sshpam_respond’ from ‘fake_password’
openssh-10.0p1/auth-pam.c:1020:26: danger: ‘fake_password(*resp)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
openssh-10.0p1/auth-pam.c:1326:42: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/auth-pam.c:1307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1310:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1310:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:1313:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:1314:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1316:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1318:35: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1318:46: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:1318:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1320:25: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1313:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:1314:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1325:28: branch_true: following ‘true’ branch (when ‘len != 0’)...
openssh-10.0p1/auth-pam.c:1326:42: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1326:42: danger: ‘<unknown>’ leaks here; was allocated at [(11)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
openssh-10.0p1/auth-pam.c:1326:42: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:1307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1310:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1310:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:1310:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:1313:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:1314:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1325:28: branch_true: following ‘true’ branch (when ‘len != 0’)...
openssh-10.0p1/auth-pam.c:1326:42: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1326:42: danger: ‘reply’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
openssh-10.0p1/auth-pam.c:1328:41: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/auth-pam.c:1307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1310:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1310:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:1313:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:1314:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1316:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1318:35: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1318:46: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:1318:28: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1320:25: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1313:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:1314:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1325:28: branch_true: following ‘true’ branch (when ‘len != 0’)...
openssh-10.0p1/auth-pam.c:1326:42: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1326:36: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-pam.c:1328:41: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1328:41: danger: ‘<unknown>’ leaks here; was allocated at [(11)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
openssh-10.0p1/auth-pam.c:1328:41: warning[-Wanalyzer-malloc-leak]: leak of ‘reply’
openssh-10.0p1/auth-pam.c:1307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-pam.c:1310:22: branch_false: ...to here
openssh-10.0p1/auth-pam.c:1310:22: acquire_memory: allocated here
openssh-10.0p1/auth-pam.c:1310:12: branch_false: following ‘false’ branch (when ‘reply’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-pam.c:1313:21: branch_true: following ‘true’ branch (when ‘i < n’)...
openssh-10.0p1/auth-pam.c:1314:25: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1325:28: branch_true: following ‘true’ branch (when ‘len != 0’)...
openssh-10.0p1/auth-pam.c:1326:42: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1326:36: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-pam.c:1328:41: branch_true: ...to here
openssh-10.0p1/auth-pam.c:1328:41: danger: ‘reply’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
openssh-10.0p1/auth-rhosts.c:110:25: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:70:13: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:70:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:74:14: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:74:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:80:9: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:81:18: acquire_memory: allocated here
openssh-10.0p1/auth-rhosts.c:81:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:85:16: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:100:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:107:25: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:110: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): [#def53]
openssh-10.0p1/auth-rhosts.c:120:25: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:70:13: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:70:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:74:14: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:74:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:80:9: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:81:18: acquire_memory: allocated here
openssh-10.0p1/auth-rhosts.c:81:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:85:16: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:100:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:107:25: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:120: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): [#def54]
openssh-10.0p1/auth-rhosts.c:147:25: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:70:13: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:70:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:74:14: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:74:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:80:9: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:81:18: acquire_memory: allocated here
openssh-10.0p1/auth-rhosts.c:81:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:85:16: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:100:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:107:25: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:147: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): [#def55]
openssh-10.0p1/auth-rhosts.c:153:30: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:70:13: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:70:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:74:14: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:74:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:80:9: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:81:18: acquire_memory: allocated here
openssh-10.0p1/auth-rhosts.c:81:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:85:16: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:100:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:107:25: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:145:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:152:20: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-rhosts.c:153:38: branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:153: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): [#def56]
openssh-10.0p1/auth-rhosts.c:154:30: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:70:13: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:70:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:74:14: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:74:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:80:9: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:81:18: acquire_memory: allocated here
openssh-10.0p1/auth-rhosts.c:81:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:85:16: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:100:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:107:25: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:145:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:152:20: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-rhosts.c:153:38: branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:153:28: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-rhosts.c:154:30: branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:154: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): [#def57]
openssh-10.0p1/auth-rhosts.c:162:30: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/auth-rhosts.c:68:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:70:13: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:70:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:74:14: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:74:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:80:9: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:81:18: acquire_memory: allocated here
openssh-10.0p1/auth-rhosts.c:81:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:85:16: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:100:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:107:25: branch_false: ...to here
openssh-10.0p1/auth-rhosts.c:145:20: branch_false: following ‘false’ branch...
openssh-10.0p1/auth-rhosts.c:161:20: branch_true: following ‘true’ branch...
openssh-10.0p1/auth-rhosts.c:162:38: branch_true: ...to here
openssh-10.0p1/auth-rhosts.c:162: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): [#def58]
openssh-10.0p1/auth2-chall.c:328:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘response’
openssh-10.0p1/auth2-chall.c:300:12: branch_false: following ‘false’ branch (when ‘authctxt’ is non-NULL)...
openssh-10.0p1/auth2-chall.c:302:9: branch_false: ...to here
openssh-10.0p1/auth2-chall.c:303:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-chall.c:305:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-chall.c:308:9: branch_false: ...to here
openssh-10.0p1/auth2-chall.c:309:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-chall.c:311:22: branch_false: ...to here
openssh-10.0p1/auth2-chall.c:311:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-chall.c:313:12: branch_false: ...to here
openssh-10.0p1/auth2-chall.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-chall.c:315:12: branch_false: ...to here
openssh-10.0p1/auth2-chall.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-chall.c:322:18: branch_false: ...to here
openssh-10.0p1/auth2-chall.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-chall.c:325:15: branch_false: ...to here
openssh-10.0p1/auth2-chall.c:327:21: branch_true: following ‘true’ branch...
openssh-10.0p1/auth2-chall.c:328:60: branch_true: ...to here
openssh-10.0p1/auth2-chall.c:328:60: release_memory: ‘response’ is NULL
openssh-10.0p1/auth2-chall.c:328:17: danger: dereference of NULL ‘response + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
openssh-10.0p1/auth2-pubkeyfile.c:477:13: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/auth2-pubkeyfile.c:450:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-pubkeyfile.c:461:13: branch_false: ...to here
openssh-10.0p1/auth2-pubkeyfile.c:461:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-pubkeyfile.c:465:14: branch_false: ...to here
openssh-10.0p1/auth2-pubkeyfile.c:465:12: branch_false: following ‘false’ branch...
openssh-10.0p1/auth2-pubkeyfile.c:471:9: branch_false: ...to here
openssh-10.0p1/auth2-pubkeyfile.c:472:18: acquire_memory: allocated here
openssh-10.0p1/auth2-pubkeyfile.c:472:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.0p1/auth2-pubkeyfile.c:476:12: branch_false: ...to here
openssh-10.0p1/auth2-pubkeyfile.c:476:12: branch_true: following ‘true’ branch (when ‘strict_modes != 0’)...
openssh-10.0p1/auth2-pubkeyfile.c:477:13: branch_true: ...to here
openssh-10.0p1/auth2-pubkeyfile.c:477: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): [#def60]
openssh-10.0p1/authfd.c:103:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/authfd.c:99:21: acquire_resource: stream socket created here
openssh-10.0p1/authfd.c:99:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/authfd.c:103:13: branch_false: ...to here
openssh-10.0p1/authfd.c:103:13: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
openssh-10.0p1/authfile.c:183:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
openssh-10.0p1/authfile.c:178:12: branch_false: following ‘false’ branch (when ‘pubkeyp’ is NULL)...
openssh-10.0p1/authfile.c:181:19: branch_false: ...to here
openssh-10.0p1/authfile.c:181:19: acquire_resource: opened here
openssh-10.0p1/authfile.c:181:12: branch_false: following ‘false’ branch...
openssh-10.0p1/authfile.c:183:18: branch_false: ...to here
openssh-10.0p1/authfile.c:183: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): [#def62]
openssh-10.0p1/authfile.c:219:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
openssh-10.0p1/authfile.c:212:12: branch_false: following ‘false’ branch (when ‘kp’ is non-NULL)...
openssh-10.0p1/authfile.c:214:9: branch_false: ...to here
openssh-10.0p1/authfile.c:215:12: branch_false: following ‘false’ branch (when ‘commentp’ is NULL)...
openssh-10.0p1/authfile.c:217:18: branch_false: ...to here
openssh-10.0p1/authfile.c:217:18: acquire_resource: opened here
openssh-10.0p1/authfile.c:217:12: branch_false: following ‘false’ branch...
openssh-10.0p1/authfile.c:219:18: branch_false: ...to here
openssh-10.0p1/authfile.c:219: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): [#def63]
openssh-10.0p1/authfile.c:219:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
openssh-10.0p1/authfile.c:212:12: branch_false: following ‘false’ branch (when ‘kp’ is non-NULL)...
openssh-10.0p1/authfile.c:214:9: branch_false: ...to here
openssh-10.0p1/authfile.c:215:12: branch_false: following ‘false’ branch (when ‘commentp’ is NULL)...
openssh-10.0p1/authfile.c:217:18: branch_false: ...to here
openssh-10.0p1/authfile.c:217:18: acquire_memory: allocated here
openssh-10.0p1/authfile.c:217:12: branch_false: following ‘false’ branch...
openssh-10.0p1/authfile.c:219:18: branch_false: ...to here
openssh-10.0p1/authfile.c:219: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): [#def64]
openssh-10.0p1/authfile.c:507:18: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/authfile.c:500:12: branch_false: following ‘false’ branch...
openssh-10.0p1/authfile.c:502:18: branch_false: ...to here
openssh-10.0p1/authfile.c:502:18: acquire_memory: allocated here
openssh-10.0p1/authfile.c:502:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.0p1/authfile.c:507:18: branch_false: ...to here
openssh-10.0p1/authfile.c:507:18: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def65]
openssh-10.0p1/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: [#def66]
openssh-10.0p1/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): [#def67]
openssh-10.0p1/channels.c:513:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:4157:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.0p1/channels.c:4160:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:4164:24: branch_false: ...to here
openssh-10.0p1/channels.c:4164:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def68]
openssh-10.0p1/channels.c:516:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:4157:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.0p1/channels.c:4160:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:4164:24: branch_false: ...to here
openssh-10.0p1/channels.c:4164:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def69]
openssh-10.0p1/channels.c:519:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:4157:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.0p1/channels.c:4160:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:4164:24: branch_false: ...to here
openssh-10.0p1/channels.c:4164:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def70]
openssh-10.0p1/channels.c:520:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:4157:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.0p1/channels.c:4160:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:4164:24: branch_false: ...to here
openssh-10.0p1/channels.c:4164:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def71]
openssh-10.0p1/channels.c:521:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:4157:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.0p1/channels.c:4160:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:4164:24: branch_false: ...to here
openssh-10.0p1/channels.c:4164:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def72]
openssh-10.0p1/channels.c:522:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:4157:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.0p1/channels.c:4160:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:4164:24: branch_false: ...to here
openssh-10.0p1/channels.c:4164:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def73]
openssh-10.0p1/channels.c:523:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:4157:1: enter_function: entry to ‘channel_setup_local_fwd_listener’
openssh-10.0p1/channels.c:4160:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:4164:24: branch_false: ...to here
openssh-10.0p1/channels.c:4164:24: call_function: calling ‘channel_setup_fwd_listener_tcpip’ from ‘channel_setup_local_fwd_listener’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def74]
openssh-10.0p1/channels.c:3886:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:3793:1: enter_function: entry to ‘channel_setup_fwd_listener_tcpip’
openssh-10.0p1/channels.c:3822:16: call_function: calling ‘channel_fwd_bind_addr’ from ‘channel_setup_fwd_listener_tcpip’
openssh-10.0p1/channels.c:3822:16: return_function: returning to ‘channel_setup_fwd_listener_tcpip’ from ‘channel_fwd_bind_addr’
openssh-10.0p1/channels.c:3824:9: branch_true: following ‘true’ branch...
openssh-10.0p1/channels.c:3824:9: branch_true: ...to here
openssh-10.0p1/channels.c:3836:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:3847:12: branch_false: ...to here
openssh-10.0p1/channels.c:3849:26: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/channels.c:3850:25: branch_true: ...to here
openssh-10.0p1/channels.c:3871:20: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:3878:24: branch_false: ...to here
openssh-10.0p1/channels.c:3878:24: acquire_resource: socket created here
openssh-10.0p1/channels.c:3879:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/channels.c:3886:17: branch_false: ...to here
openssh-10.0p1/channels.c:3886:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def75]
openssh-10.0p1/channels.c:3911:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:3793:1: enter_function: entry to ‘channel_setup_fwd_listener_tcpip’
openssh-10.0p1/channels.c:3822:16: call_function: calling ‘channel_fwd_bind_addr’ from ‘channel_setup_fwd_listener_tcpip’
openssh-10.0p1/channels.c:3822:16: return_function: returning to ‘channel_setup_fwd_listener_tcpip’ from ‘channel_fwd_bind_addr’
openssh-10.0p1/channels.c:3824:9: branch_true: following ‘true’ branch...
openssh-10.0p1/channels.c:3824:9: branch_true: ...to here
openssh-10.0p1/channels.c:3836:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:3847:12: branch_false: ...to here
openssh-10.0p1/channels.c:3849:26: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/channels.c:3850:25: branch_true: ...to here
openssh-10.0p1/channels.c:3871:20: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:3878:24: branch_false: ...to here
openssh-10.0p1/channels.c:3878:24: acquire_resource: socket created here
openssh-10.0p1/channels.c:3879:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/channels.c:3886:17: branch_false: ...to here
openssh-10.0p1/channels.c:3894:20: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:3910:21: branch_false: ...to here
openssh-10.0p1/channels.c:3910:20: branch_true: following ‘true’ branch...
openssh-10.0p1/channels.c:3911:25: branch_true: ...to here
openssh-10.0p1/channels.c:3911:25: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
openssh-10.0p1/channels.c:3913:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:3793:1: enter_function: entry to ‘channel_setup_fwd_listener_tcpip’
openssh-10.0p1/channels.c:3822:16: call_function: calling ‘channel_fwd_bind_addr’ from ‘channel_setup_fwd_listener_tcpip’
openssh-10.0p1/channels.c:3822:16: return_function: returning to ‘channel_setup_fwd_listener_tcpip’ from ‘channel_fwd_bind_addr’
openssh-10.0p1/channels.c:3824:9: branch_true: following ‘true’ branch...
openssh-10.0p1/channels.c:3824:9: branch_true: ...to here
openssh-10.0p1/channels.c:3836:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:3847:12: branch_false: ...to here
openssh-10.0p1/channels.c:3849:26: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/channels.c:3850:25: branch_true: ...to here
openssh-10.0p1/channels.c:3871:20: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:3878:24: branch_false: ...to here
openssh-10.0p1/channels.c:3878:24: acquire_resource: socket created here
openssh-10.0p1/channels.c:3879:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/channels.c:3886:17: branch_false: ...to here
openssh-10.0p1/channels.c:3894:20: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:3910:21: branch_false: ...to here
openssh-10.0p1/channels.c:3910:20: branch_true: following ‘true’ branch...
openssh-10.0p1/channels.c:3911:25: branch_true: ...to here
openssh-10.0p1/channels.c:3913:25: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def77]
openssh-10.0p1/channels.c:4618:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:4588:16: branch_true: following ‘true’ branch...
openssh-10.0p1/channels.c:4589:25: branch_true: ...to here
openssh-10.0p1/channels.c:4610:29: acquire_resource: socket created here
openssh-10.0p1/channels.c:4610:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/channels.c:4618:21: branch_false: ...to here
openssh-10.0p1/channels.c:4618:21: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def78]
openssh-10.0p1/channels.c:5051:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:5008:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5016:13: branch_true: following ‘true’ branch (when ‘display_number < x11_max_displays’)...
openssh-10.0p1/channels.c:5018:17: branch_true: ...to here
openssh-10.0p1/channels.c:5024:20: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5029:22: branch_false: ...to here
openssh-10.0p1/channels.c:5029:34: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/channels.c:5030:29: branch_true: ...to here
openssh-10.0p1/channels.c:5030:28: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5033:32: branch_false: ...to here
openssh-10.0p1/channels.c:5033:32: acquire_resource: socket created here
openssh-10.0p1/channels.c:5035:28: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/channels.c:5050:29: branch_false: ...to here
openssh-10.0p1/channels.c:5050:28: branch_true: following ‘true’ branch...
openssh-10.0p1/channels.c:5051:33: branch_true: ...to here
openssh-10.0p1/channels.c:5051:33: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def79]
openssh-10.0p1/channels.c:5053:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:5008:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5016:13: branch_true: following ‘true’ branch (when ‘display_number < x11_max_displays’)...
openssh-10.0p1/channels.c:5018:17: branch_true: ...to here
openssh-10.0p1/channels.c:5024:20: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5029:22: branch_false: ...to here
openssh-10.0p1/channels.c:5029:34: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/channels.c:5030:29: branch_true: ...to here
openssh-10.0p1/channels.c:5030:28: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5033:32: branch_false: ...to here
openssh-10.0p1/channels.c:5033:32: acquire_resource: socket created here
openssh-10.0p1/channels.c:5035:28: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/channels.c:5050:29: branch_false: ...to here
openssh-10.0p1/channels.c:5050:28: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5052:28: branch_false: ...to here
openssh-10.0p1/channels.c:5052:28: branch_true: following ‘true’ branch (when ‘x11_use_localhost != 0’)...
openssh-10.0p1/channels.c:5053:33: branch_true: ...to here
openssh-10.0p1/channels.c:5053:33: danger: ‘sock’ leaks here
Error: CPPCHECK_WARNING (CWE-457): [#def80]
openssh-10.0p1/channels.c:5081: warning[uninitvar]: Uninitialized variable: port
Error: COMPILER_WARNING (CWE-195): [#def81]
openssh-10.0p1/channels.c: scope_hint: In function ‘connect_local_xsocket_path’
openssh-10.0p1/channels.c:5128:17: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
openssh-10.0p1/channels.c:5131:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:5119:12: branch_false: following ‘false’ branch (when ‘len > 0’)...
openssh-10.0p1/channels.c:5121:16: branch_false: ...to here
openssh-10.0p1/channels.c:5121:16: acquire_resource: stream socket created here
openssh-10.0p1/channels.c:5122:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/channels.c:5126:9: branch_false: ...to here
openssh-10.0p1/channels.c:5131:13: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
openssh-10.0p1/channels.c:5282:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/channels.c:5194:12: branch_false: following ‘false’ branch (when ‘display’ is non-NULL)...
openssh-10.0p1/channels.c:5225:13: branch_false: ...to here
openssh-10.0p1/channels.c:5225:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5226:13: branch_false: ...to here
openssh-10.0p1/channels.c:5225:13: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5246:9: branch_false: ...to here
openssh-10.0p1/channels.c:5248:12: branch_false: following ‘false’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/channels.c:5252:9: branch_false: ...to here
openssh-10.0p1/channels.c:5257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5258:13: branch_false: ...to here
openssh-10.0p1/channels.c:5257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5265:9: branch_false: ...to here
openssh-10.0p1/channels.c:5269:12: branch_false: following ‘false’ branch...
openssh-10.0p1/channels.c:5274:14: branch_false: ...to here
openssh-10.0p1/channels.c:5274:26: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/channels.c:5276:24: branch_true: ...to here
openssh-10.0p1/channels.c:5276:24: acquire_resource: socket created here
openssh-10.0p1/channels.c:5277:20: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/channels.c:5282:21: branch_false: ...to here
openssh-10.0p1/channels.c:5282:21: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:30: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.0p1/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): [#def85]
openssh-10.0p1/cipher-chachapoly-libcrypto.c:51:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:51:32: branch_false: ...to here
openssh-10.0p1/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): [#def86]
openssh-10.0p1/cipher-chachapoly-libcrypto.c:53:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:51:32: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:13: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:53:14: branch_false: ...to here
openssh-10.0p1/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): [#def87]
openssh-10.0p1/cipher-chachapoly-libcrypto.c:55:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:51:32: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:13: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:53:14: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:53:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:55:62: branch_false: ...to here
openssh-10.0p1/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): [#def88]
openssh-10.0p1/cipher-chachapoly-libcrypto.c:70:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:42:1: enter_function: entry to ‘chachapoly_new’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:12: branch_true: following ‘true’ branch...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:52:17: branch_true: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:61:9: call_function: calling ‘chachapoly_free’ from ‘chachapoly_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
openssh-10.0p1/cipher-chachapoly-libcrypto.c:71:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:42:1: enter_function: entry to ‘chachapoly_new’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:12: branch_true: following ‘true’ branch...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:52:17: branch_true: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:61:9: call_function: calling ‘chachapoly_free’ from ‘chachapoly_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
openssh-10.0p1/cipher-chachapoly-libcrypto.c:72:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:42:1: enter_function: entry to ‘chachapoly_new’
openssh-10.0p1/cipher-chachapoly-libcrypto.c:46:12: branch_false: following ‘false’ branch (when ‘keylen == 64’)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:20: acquire_memory: allocated here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:48:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:30: branch_false: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:50:12: branch_true: following ‘true’ branch...
openssh-10.0p1/cipher-chachapoly-libcrypto.c:52:17: branch_true: ...to here
openssh-10.0p1/cipher-chachapoly-libcrypto.c:61:9: call_function: calling ‘chachapoly_free’ from ‘chachapoly_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
openssh-10.0p1/cipher.c:253:30: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.0p1/cipher.c:239:19: acquire_memory: allocated here
openssh-10.0p1/cipher.c:239:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.0p1/cipher.c:242:26: branch_false: ...to here
openssh-10.0p1/cipher.c:245:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:245:13: branch_false: ...to here
openssh-10.0p1/cipher.c:252:12: branch_true: following ‘true’ branch...
openssh-10.0p1/cipher.c:253:30: branch_true: ...to here
openssh-10.0p1/cipher.c:253: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): [#def92]
openssh-10.0p1/cipher.c:271:16: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.0p1/cipher.c:239:19: acquire_memory: allocated here
openssh-10.0p1/cipher.c:239:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.0p1/cipher.c:242:26: branch_false: ...to here
openssh-10.0p1/cipher.c:245:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:245:13: branch_false: ...to here
openssh-10.0p1/cipher.c:252:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:257:13: branch_false: ...to here
openssh-10.0p1/cipher.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:271:18: branch_false: ...to here
openssh-10.0p1/cipher.c:271: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): [#def93]
openssh-10.0p1/cipher.c:272:24: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.0p1/cipher.c:239:19: acquire_memory: allocated here
openssh-10.0p1/cipher.c:239:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.0p1/cipher.c:242:26: branch_false: ...to here
openssh-10.0p1/cipher.c:245:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:245:13: branch_false: ...to here
openssh-10.0p1/cipher.c:252:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:257:13: branch_false: ...to here
openssh-10.0p1/cipher.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:271:18: branch_false: ...to here
openssh-10.0p1/cipher.c:272: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): [#def94]
openssh-10.0p1/cipher.c:276:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.0p1/cipher.c:239:19: acquire_memory: allocated here
openssh-10.0p1/cipher.c:239:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.0p1/cipher.c:242:26: branch_false: ...to here
openssh-10.0p1/cipher.c:245:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:245:13: branch_false: ...to here
openssh-10.0p1/cipher.c:252:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:257:13: branch_false: ...to here
openssh-10.0p1/cipher.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:271:18: branch_false: ...to here
openssh-10.0p1/cipher.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:276:13: branch_false: ...to here
openssh-10.0p1/cipher.c:276: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): [#def95]
openssh-10.0p1/cipher.c:282:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.0p1/cipher.c:239:19: acquire_memory: allocated here
openssh-10.0p1/cipher.c:239:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.0p1/cipher.c:242:26: branch_false: ...to here
openssh-10.0p1/cipher.c:245:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:245:13: branch_false: ...to here
openssh-10.0p1/cipher.c:252:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:257:13: branch_false: ...to here
openssh-10.0p1/cipher.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:271:18: branch_false: ...to here
openssh-10.0p1/cipher.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:276:13: branch_false: ...to here
openssh-10.0p1/cipher.c:276:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:281:13: branch_false: ...to here
openssh-10.0p1/cipher.c:281:12: branch_true: following ‘true’ branch...
openssh-10.0p1/cipher.c:282:13: branch_true: ...to here
openssh-10.0p1/cipher.c:282: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): [#def96]
openssh-10.0p1/cipher.c:289:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.0p1/cipher.c:239:19: acquire_memory: allocated here
openssh-10.0p1/cipher.c:239:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.0p1/cipher.c:242:26: branch_false: ...to here
openssh-10.0p1/cipher.c:245:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:245:13: branch_false: ...to here
openssh-10.0p1/cipher.c:252:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:257:13: branch_false: ...to here
openssh-10.0p1/cipher.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:271:18: branch_false: ...to here
openssh-10.0p1/cipher.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:276:13: branch_false: ...to here
openssh-10.0p1/cipher.c:276:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:281:13: branch_false: ...to here
openssh-10.0p1/cipher.c:288:12: branch_true: following ‘true’ branch...
openssh-10.0p1/cipher.c:289:21: branch_true: ...to here
openssh-10.0p1/cipher.c:289: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): [#def97]
openssh-10.0p1/cipher.c:294:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.0p1/cipher.c:239:19: acquire_memory: allocated here
openssh-10.0p1/cipher.c:239:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.0p1/cipher.c:242:26: branch_false: ...to here
openssh-10.0p1/cipher.c:245:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:245:13: branch_false: ...to here
openssh-10.0p1/cipher.c:252:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:257:13: branch_false: ...to here
openssh-10.0p1/cipher.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:271:18: branch_false: ...to here
openssh-10.0p1/cipher.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:276:13: branch_false: ...to here
openssh-10.0p1/cipher.c:276:12: branch_false: following ‘false’ branch...
openssh-10.0p1/cipher.c:281:13: branch_false: ...to here
openssh-10.0p1/cipher.c:294: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): [#def98]
openssh-10.0p1/cipher.c:307:25: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.0p1/cipher.c:239:19: acquire_memory: allocated here
openssh-10.0p1/cipher.c:239:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.0p1/cipher.c:242:26: branch_false: ...to here
openssh-10.0p1/cipher.c:307: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): [#def99]
openssh-10.0p1/cipher.c:309:25: warning[-Wanalyzer-malloc-leak]: leak of ‘cc’
openssh-10.0p1/cipher.c:239:19: acquire_memory: allocated here
openssh-10.0p1/cipher.c:239:12: branch_false: following ‘false’ branch (when ‘cc’ is non-NULL)...
openssh-10.0p1/cipher.c:242:26: branch_false: ...to here
openssh-10.0p1/cipher.c:309: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): [#def100]
openssh-10.0p1/clientloop.c:211:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/clientloop.c:210:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/clientloop.c:211: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): [#def101]
openssh-10.0p1/clientloop.c:414:33: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(cmd, "r")’
openssh-10.0p1/clientloop.c:309:12: branch_false: following ‘false’ branch...
openssh-10.0p1/clientloop.c:315:12: branch_false: ...to here
openssh-10.0p1/clientloop.c:315:12: branch_true: following ‘true’ branch (when ‘xauth_path’ is non-NULL)...
openssh-10.0p1/clientloop.c:315:35: branch_true: ...to here
openssh-10.0p1/clientloop.c:315:13: branch_false: following ‘false’ branch...
openssh-10.0p1/clientloop.c:328:21: branch_false: ...to here
openssh-10.0p1/clientloop.c:402:25: branch_false: following ‘false’ branch (when ‘generated == 0’)...
branch_false: ...to here
openssh-10.0p1/clientloop.c:409:29: acquire_memory: allocated here
openssh-10.0p1/clientloop.c:410:28: branch_true: following ‘true’ branch...
openssh-10.0p1/clientloop.c:410:34: branch_true: ...to here
openssh-10.0p1/clientloop.c:414:33: danger: ‘popen(cmd, "r")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING (CWE-563): [#def102]
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:136:21: warning[-Wunused-variable]: unused variable ‘failed’
Error: COMPILER_WARNING (CWE-477): [#def103]
openssh-10.0p1/contrib/gnome-ssh-askpass3.c: scope_hint: In function ‘passphrase_dialog’
openssh-10.0p1/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.0p1/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.0p1/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.0p1/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.0p1/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.0p1/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.0p1/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.0p1/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.0p1/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.0p1/contrib/gnome-ssh-askpass3.c:243:39: warning[-Wmaybe-uninitialized]: ‘entry’ may be used uninitialized
openssh-10.0p1/contrib/gnome-ssh-askpass3.c: scope_hint: In function ‘main’
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:140:45: note: ‘entry’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def112]
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:246:29: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:134:1: enter_function: entry to ‘passphrase_dialog’
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:188:12: branch_true: following ‘true’ branch...
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:189:25: branch_true: ...to here
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:242:12: branch_true: following ‘true’ branch (when ‘prompt_type == 0’)...
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:243:30: branch_true: ...to here
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:244:20: branch_true: following ‘true’ branch...
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:246:29: branch_true: ...to here
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:246:29: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def113]
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:256:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:134:1: enter_function: entry to ‘passphrase_dialog’
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:188:12: branch_true: following ‘true’ branch...
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:189:25: branch_true: ...to here
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:242:12: branch_true: following ‘true’ branch (when ‘prompt_type == 0’)...
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:243:30: branch_true: ...to here
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:244:20: branch_false: following ‘false’ branch...
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:256:17: branch_false: ...to here
openssh-10.0p1/contrib/gnome-ssh-askpass3.c:256:17: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
openssh-10.0p1/digest-openssl.c:122:27: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/digest-openssl.c:114:1: enter_function: entry to ‘ssh_digest_start’
openssh-10.0p1/digest-openssl.c:116:43: call_function: calling ‘ssh_digest_by_alg’ from ‘ssh_digest_start’
openssh-10.0p1/digest-openssl.c:116:43: return_function: returning to ‘ssh_digest_start’ from ‘ssh_digest_by_alg’
openssh-10.0p1/digest-openssl.c:119:12: branch_false: following ‘false’ branch...
openssh-10.0p1/digest-openssl.c:119:39: branch_false: ...to here
openssh-10.0p1/digest-openssl.c:119:39: acquire_memory: allocated here
openssh-10.0p1/digest-openssl.c:119:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/digest-openssl.c:121:9: branch_false: ...to here
openssh-10.0p1/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.0p1/digest-openssl.c:126:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/digest-openssl.c:114:1: enter_function: entry to ‘ssh_digest_start’
openssh-10.0p1/digest-openssl.c:116:43: call_function: calling ‘ssh_digest_by_alg’ from ‘ssh_digest_start’
openssh-10.0p1/digest-openssl.c:116:43: return_function: returning to ‘ssh_digest_start’ from ‘ssh_digest_by_alg’
openssh-10.0p1/digest-openssl.c:119:12: branch_false: following ‘false’ branch...
openssh-10.0p1/digest-openssl.c:119:39: branch_false: ...to here
openssh-10.0p1/digest-openssl.c:119:39: acquire_memory: allocated here
openssh-10.0p1/digest-openssl.c:119:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/digest-openssl.c:121:9: branch_false: ...to here
openssh-10.0p1/digest-openssl.c:122:12: branch_false: following ‘false’ branch...
openssh-10.0p1/digest-openssl.c:126:43: branch_false: ...to here
openssh-10.0p1/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.0p1/digest-openssl.c:180:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/digest-openssl.c:114:1: enter_function: entry to ‘ssh_digest_start’
openssh-10.0p1/digest-openssl.c:116:43: call_function: calling ‘ssh_digest_by_alg’ from ‘ssh_digest_start’
openssh-10.0p1/digest-openssl.c:116:43: return_function: returning to ‘ssh_digest_start’ from ‘ssh_digest_by_alg’
openssh-10.0p1/digest-openssl.c:119:12: branch_false: following ‘false’ branch...
openssh-10.0p1/digest-openssl.c:119:39: branch_false: ...to here
openssh-10.0p1/digest-openssl.c:119:39: acquire_memory: allocated here
openssh-10.0p1/digest-openssl.c:119:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/digest-openssl.c:121:9: branch_false: ...to here
openssh-10.0p1/digest-openssl.c:122:12: branch_false: following ‘false’ branch...
openssh-10.0p1/digest-openssl.c:126:43: branch_false: ...to here
openssh-10.0p1/digest-openssl.c:126:12: branch_true: following ‘true’ branch...
openssh-10.0p1/digest-openssl.c:127:17: branch_true: ...to here
openssh-10.0p1/digest-openssl.c:127:17: call_function: calling ‘ssh_digest_free’ from ‘ssh_digest_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
openssh-10.0p1/digest-openssl.c:181:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/digest-openssl.c:114:1: enter_function: entry to ‘ssh_digest_start’
openssh-10.0p1/digest-openssl.c:116:43: call_function: calling ‘ssh_digest_by_alg’ from ‘ssh_digest_start’
openssh-10.0p1/digest-openssl.c:116:43: return_function: returning to ‘ssh_digest_start’ from ‘ssh_digest_by_alg’
openssh-10.0p1/digest-openssl.c:119:12: branch_false: following ‘false’ branch...
openssh-10.0p1/digest-openssl.c:119:39: branch_false: ...to here
openssh-10.0p1/digest-openssl.c:119:39: acquire_memory: allocated here
openssh-10.0p1/digest-openssl.c:119:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/digest-openssl.c:121:9: branch_false: ...to here
openssh-10.0p1/digest-openssl.c:122:12: branch_false: following ‘false’ branch...
openssh-10.0p1/digest-openssl.c:126:43: branch_false: ...to here
openssh-10.0p1/digest-openssl.c:126:12: branch_true: following ‘true’ branch...
openssh-10.0p1/digest-openssl.c:127:17: branch_true: ...to here
openssh-10.0p1/digest-openssl.c:127:17: call_function: calling ‘ssh_digest_free’ from ‘ssh_digest_start’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def118]
openssh-10.0p1/fatal.c:43:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/fatal.c:42:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/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: [#def119]
openssh-10.0p1/gss-genr.c: scope_hint: In function ‘ssh_gssapi_kex_mechs’
openssh-10.0p1/gss-genr.c:172:30: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length
openssh-10.0p1/gss-genr.c:172:46: note: length computed here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def120]
openssh-10.0p1/gss-serv-krb5.c:359:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&file, "r")’
openssh-10.0p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:346:19: acquire_resource: opened here
openssh-10.0p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:357:12: branch_true: following ‘true’ branch...
openssh-10.0p1/gss-serv-krb5.c:359:17: branch_true: ...to here
openssh-10.0p1/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): [#def121]
openssh-10.0p1/gss-serv-krb5.c:359:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&file, "r")’
openssh-10.0p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:346:19: acquire_memory: allocated here
openssh-10.0p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:357:12: branch_true: following ‘true’ branch...
openssh-10.0p1/gss-serv-krb5.c:359:17: branch_true: ...to here
openssh-10.0p1/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): [#def122]
openssh-10.0p1/gss-serv-krb5.c:365:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&file, "r")’
openssh-10.0p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:346:19: acquire_resource: opened here
openssh-10.0p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:357:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:364:15: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:364:12: branch_true: following ‘true’ branch...
openssh-10.0p1/gss-serv-krb5.c:365:17: 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): [#def123]
openssh-10.0p1/gss-serv-krb5.c:365:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&file, "r")’
openssh-10.0p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:346:19: acquire_memory: allocated here
openssh-10.0p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:357:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:364:15: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:364:12: branch_true: following ‘true’ branch...
openssh-10.0p1/gss-serv-krb5.c:365:17: 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-775): [#def124]
openssh-10.0p1/gss-serv-krb5.c:373:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&file, "r")’
openssh-10.0p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:346:19: acquire_resource: opened here
openssh-10.0p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:357:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:364:15: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:372:12: branch_true: following ‘true’ branch...
openssh-10.0p1/gss-serv-krb5.c:373:17: branch_true: ...to here
openssh-10.0p1/gss-serv-krb5.c:373:17: danger: ‘fopen(&file, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
openssh-10.0p1/gss-serv-krb5.c:373:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&file, "r")’
openssh-10.0p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:346:19: acquire_memory: allocated here
openssh-10.0p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:357:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:364:15: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:372:12: branch_true: following ‘true’ branch...
openssh-10.0p1/gss-serv-krb5.c:373:17: branch_true: ...to here
openssh-10.0p1/gss-serv-krb5.c:373:17: danger: ‘fopen(&file, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def126]
openssh-10.0p1/gss-serv-krb5.c:378:32: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&file, "r")’
openssh-10.0p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:346:19: acquire_resource: opened here
openssh-10.0p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:357:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:364:15: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:372:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:378:32: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:378:32: danger: ‘fopen(&file, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
openssh-10.0p1/gss-serv-krb5.c:378:32: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&file, "r")’
openssh-10.0p1/gss-serv-krb5.c:342:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:342:14: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:346:19: acquire_memory: allocated here
openssh-10.0p1/gss-serv-krb5.c:346:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:357:13: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:357:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:364:15: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:372:12: branch_false: following ‘false’ branch...
openssh-10.0p1/gss-serv-krb5.c:378:32: branch_false: ...to here
openssh-10.0p1/gss-serv-krb5.c:378:32: danger: ‘fopen(&file, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
openssh-10.0p1/hmac.c:52:26: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.0p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/hmac.c:51:9: branch_false: ...to here
openssh-10.0p1/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): [#def129]
openssh-10.0p1/hmac.c:53:26: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.0p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/hmac.c:51:9: branch_false: ...to here
openssh-10.0p1/hmac.c:52:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hmac.c:53:26: branch_false: ...to here
openssh-10.0p1/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): [#def130]
openssh-10.0p1/hmac.c:54:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.0p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/hmac.c:51:9: branch_false: ...to here
openssh-10.0p1/hmac.c:52:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hmac.c:53:26: branch_false: ...to here
openssh-10.0p1/hmac.c:52:13: branch_false: following ‘false’ branch...
openssh-10.0p1/hmac.c:54:28: branch_false: ...to here
openssh-10.0p1/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): [#def131]
openssh-10.0p1/hmac.c:56:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.0p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/hmac.c:51:9: branch_false: ...to here
openssh-10.0p1/hmac.c:52:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hmac.c:53:26: branch_false: ...to here
openssh-10.0p1/hmac.c:52:13: branch_false: following ‘false’ branch...
openssh-10.0p1/hmac.c:54:28: branch_false: ...to here
openssh-10.0p1/hmac.c:52:13: branch_false: following ‘false’ branch...
openssh-10.0p1/hmac.c:56:24: branch_false: ...to here
openssh-10.0p1/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): [#def132]
openssh-10.0p1/hmac.c:127:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/hmac.c:45:1: enter_function: entry to ‘ssh_hmac_start’
openssh-10.0p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.0p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/hmac.c:51:9: branch_false: ...to here
openssh-10.0p1/hmac.c:52:12: branch_true: following ‘true’ branch...
openssh-10.0p1/hmac.c:55:17: branch_true: ...to here
openssh-10.0p1/hmac.c:61:9: call_function: calling ‘ssh_hmac_free’ from ‘ssh_hmac_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
openssh-10.0p1/hmac.c:128:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/hmac.c:45:1: enter_function: entry to ‘ssh_hmac_start’
openssh-10.0p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.0p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/hmac.c:51:9: branch_false: ...to here
openssh-10.0p1/hmac.c:52:12: branch_true: following ‘true’ branch...
openssh-10.0p1/hmac.c:55:17: branch_true: ...to here
openssh-10.0p1/hmac.c:61:9: call_function: calling ‘ssh_hmac_free’ from ‘ssh_hmac_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
openssh-10.0p1/hmac.c:129:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/hmac.c:45:1: enter_function: entry to ‘ssh_hmac_start’
openssh-10.0p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.0p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/hmac.c:51:9: branch_false: ...to here
openssh-10.0p1/hmac.c:52:12: branch_true: following ‘true’ branch...
openssh-10.0p1/hmac.c:55:17: branch_true: ...to here
openssh-10.0p1/hmac.c:61:9: call_function: calling ‘ssh_hmac_free’ from ‘ssh_hmac_start’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
openssh-10.0p1/hmac.c:134:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/hmac.c:45:1: enter_function: entry to ‘ssh_hmac_start’
openssh-10.0p1/hmac.c:49:20: acquire_memory: allocated here
openssh-10.0p1/hmac.c:49:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/hmac.c:51:9: branch_false: ...to here
openssh-10.0p1/hmac.c:52:12: branch_true: following ‘true’ branch...
openssh-10.0p1/hmac.c:55:17: branch_true: ...to here
openssh-10.0p1/hmac.c:61:9: call_function: calling ‘ssh_hmac_free’ from ‘ssh_hmac_start’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
openssh-10.0p1/hostfile.c:132:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
openssh-10.0p1/hostfile.c:132:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def138]
openssh-10.0p1/hostfile.c:144:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
openssh-10.0p1/hostfile.c:144:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
openssh-10.0p1/hostfile.c:145:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
openssh-10.0p1/hostfile.c:145:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def142]
openssh-10.0p1/hostfile.c:146:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
openssh-10.0p1/hostfile.c:146:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def144]
openssh-10.0p1/hostfile.c:147:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
openssh-10.0p1/hostfile.c:147:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def146]
openssh-10.0p1/hostfile.c:148:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
openssh-10.0p1/hostfile.c:148:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def148]
openssh-10.0p1/hostfile.c:458:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
openssh-10.0p1/hostfile.c:458:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def150]
openssh-10.0p1/hostfile.c:459:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
openssh-10.0p1/hostfile.c:459:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:529:1: enter_function: entry to ‘add_host_to_hostfile’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:544:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:550:19: call_function: calling ‘write_host_entry’ from ‘add_host_to_hostfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
openssh-10.0p1/hostfile.c:542:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:542:13: danger: ‘fopen(filename, "a+")’ leaks here; was opened at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
openssh-10.0p1/hostfile.c:542:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:542:13: danger: ‘fopen(filename, "a+")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def154]
openssh-10.0p1/hostfile.c:542:45: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:542:12: branch_true: following ‘true’ branch...
openssh-10.0p1/hostfile.c:542:45: branch_true: ...to here
openssh-10.0p1/hostfile.c:542:45: 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): [#def155]
openssh-10.0p1/hostfile.c:542:45: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:542:12: branch_true: following ‘true’ branch...
openssh-10.0p1/hostfile.c:542:45: branch_true: ...to here
openssh-10.0p1/hostfile.c:542:45: 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): [#def156]
openssh-10.0p1/hostfile.c:544:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:13: 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): [#def157]
openssh-10.0p1/hostfile.c:544:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:544:13: 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): [#def158]
openssh-10.0p1/hostfile.c:545:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_resource: opened here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:545:17: 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): [#def159]
openssh-10.0p1/hostfile.c:545:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "a+")’
openssh-10.0p1/hostfile.c:535:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/hostfile.c:537:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:538:13: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:539:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:542:13: branch_false: ...to here
openssh-10.0p1/hostfile.c:545:17: 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-401): [#def160]
openssh-10.0p1/hostfile.c:644:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.0p1/hostfile.c:629:31: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:629:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:631:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:639:18: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:644:19: branch_false: ...to here
openssh-10.0p1/hostfile.c:644:19: danger: ‘ctx.match_keys’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
openssh-10.0p1/hostfile.c:646:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.0p1/hostfile.c:629:31: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:629:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:631:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:639:18: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:644:19: branch_false: ...to here
openssh-10.0p1/hostfile.c:644:12: branch_true: following ‘true’ branch...
openssh-10.0p1/hostfile.c:645:26: branch_true: ...to here
openssh-10.0p1/hostfile.c:646:17: danger: ‘ctx.match_keys’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
openssh-10.0p1/hostfile.c:652:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.0p1/hostfile.c:629:31: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:629:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:631:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:639:18: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:644:19: branch_false: ...to here
openssh-10.0p1/hostfile.c:644:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:650:24: branch_false: ...to here
openssh-10.0p1/hostfile.c:650:12: branch_true: following ‘true’ branch...
openssh-10.0p1/hostfile.c:651:26: branch_true: ...to here
openssh-10.0p1/hostfile.c:652:17: 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): [#def163]
openssh-10.0p1/hostfile.c:653:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.0p1/hostfile.c:629:31: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:629:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:631:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:639:18: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:644:19: branch_false: ...to here
openssh-10.0p1/hostfile.c:644:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:650:24: branch_false: ...to here
openssh-10.0p1/hostfile.c:650:12: branch_true: following ‘true’ branch...
openssh-10.0p1/hostfile.c:651:26: branch_true: ...to here
openssh-10.0p1/hostfile.c:653: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-775): [#def164]
openssh-10.0p1/hostfile.c:954:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "r")’
openssh-10.0p1/hostfile.c:951:18: acquire_resource: opened here
openssh-10.0p1/hostfile.c:951:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:954:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:954:9: danger: ‘fopen(path, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
openssh-10.0p1/hostfile.c:954:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.match_keys’
openssh-10.0p1/hostfile.c:610:1: enter_function: entry to ‘hostfile_replace_entries’
openssh-10.0p1/hostfile.c:629:31: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:629:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:631:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:639:18: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:644:19: branch_false: ...to here
openssh-10.0p1/hostfile.c:644:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:650:24: branch_false: ...to here
openssh-10.0p1/hostfile.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:659:18: branch_false: ...to here
openssh-10.0p1/hostfile.c:659:18: call_function: calling ‘hostkeys_foreach’ from ‘hostfile_replace_entries’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
openssh-10.0p1/hostfile.c:954:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.out’
openssh-10.0p1/hostfile.c:610:1: enter_function: entry to ‘hostfile_replace_entries’
openssh-10.0p1/hostfile.c:629:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:631:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:12: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:639:18: branch_false: ...to here
openssh-10.0p1/hostfile.c:638:13: branch_false: following ‘false’ branch (when ‘r != -1’)...
openssh-10.0p1/hostfile.c:644:19: branch_false: ...to here
openssh-10.0p1/hostfile.c:644:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:650:24: branch_false: ...to here
openssh-10.0p1/hostfile.c:650:24: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:659:18: branch_false: ...to here
openssh-10.0p1/hostfile.c:659:18: call_function: calling ‘hostkeys_foreach’ from ‘hostfile_replace_entries’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
openssh-10.0p1/hostfile.c:954:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "r")’
openssh-10.0p1/hostfile.c:951:18: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:951:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:954:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:954:9: danger: ‘fopen(path, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def168]
openssh-10.0p1/hostfile.c:959:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(path, "r")’
openssh-10.0p1/hostfile.c:945:1: enter_function: entry to ‘hostkeys_foreach’
openssh-10.0p1/hostfile.c:951:18: acquire_resource: opened here
openssh-10.0p1/hostfile.c:951:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:954:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:955:13: call_function: calling ‘hostkeys_foreach_file’ from ‘hostkeys_foreach’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
openssh-10.0p1/hostfile.c:959:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(path, "r")’
openssh-10.0p1/hostfile.c:945:1: enter_function: entry to ‘hostkeys_foreach’
openssh-10.0p1/hostfile.c:951:18: acquire_memory: allocated here
openssh-10.0p1/hostfile.c:951:12: branch_false: following ‘false’ branch...
openssh-10.0p1/hostfile.c:954:9: branch_false: ...to here
openssh-10.0p1/hostfile.c:955:13: call_function: calling ‘hostkeys_foreach_file’ from ‘hostkeys_foreach’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
openssh-10.0p1/kex-names.c:116:37: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.0p1/kex-names.c:219:1: enter_function: entry to ‘kex_names_valid’
openssh-10.0p1/kex-names.c:223:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:225:23: acquire_memory: allocated here
openssh-10.0p1/kex-names.c:225:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:227:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:227:38: branch_true: following ‘true’ branch...
openssh-10.0p1/kex-names.c:229:21: call_function: calling ‘kex_alg_by_name’ from ‘kex_names_valid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
openssh-10.0p1/kex-names.c:118:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.0p1/kex-names.c:219:1: enter_function: entry to ‘kex_names_valid’
openssh-10.0p1/kex-names.c:223:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:225:23: acquire_memory: allocated here
openssh-10.0p1/kex-names.c:225:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:227:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:227:38: branch_true: following ‘true’ branch...
openssh-10.0p1/kex-names.c:229:21: call_function: calling ‘kex_alg_by_name’ from ‘kex_names_valid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
openssh-10.0p1/kex-names.c:231:33: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.0p1/kex-names.c:219:1: enter_function: entry to ‘kex_names_valid’
openssh-10.0p1/kex-names.c:223:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:225:23: acquire_memory: allocated here
openssh-10.0p1/kex-names.c:225:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:227:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:227:38: branch_true: following ‘true’ branch...
openssh-10.0p1/kex-names.c:229:21: call_function: calling ‘kex_alg_by_name’ from ‘kex_names_valid’
openssh-10.0p1/kex-names.c:229:21: return_function: returning to ‘kex_names_valid’ from ‘kex_alg_by_name’
openssh-10.0p1/kex-names.c:229:20: branch_true: following ‘true’ branch...
openssh-10.0p1/kex-names.c:230:29: branch_true: ...to here
openssh-10.0p1/kex-names.c:230:28: branch_true: following ‘true’ branch...
openssh-10.0p1/kex-names.c:231:33: branch_true: ...to here
openssh-10.0p1/kex-names.c:231:33: danger: ‘cp’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
openssh-10.0p1/kex-names.c:233:33: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.0p1/kex-names.c:219:1: enter_function: entry to ‘kex_names_valid’
openssh-10.0p1/kex-names.c:223:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:225:23: acquire_memory: allocated here
openssh-10.0p1/kex-names.c:225:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:227:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:227:38: branch_true: following ‘true’ branch...
openssh-10.0p1/kex-names.c:229:21: call_function: calling ‘kex_alg_by_name’ from ‘kex_names_valid’
openssh-10.0p1/kex-names.c:229:21: return_function: returning to ‘kex_names_valid’ from ‘kex_alg_by_name’
openssh-10.0p1/kex-names.c:229:20: branch_true: following ‘true’ branch...
openssh-10.0p1/kex-names.c:230:29: branch_true: ...to here
openssh-10.0p1/kex-names.c:230:28: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:233:33: branch_false: ...to here
openssh-10.0p1/kex-names.c:233:33: danger: ‘cp’ leaks here; was allocated at [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
openssh-10.0p1/kex-names.c:238:9: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.0p1/kex-names.c:223:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:225:23: acquire_memory: allocated here
openssh-10.0p1/kex-names.c:225:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:227:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:238: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): [#def175]
openssh-10.0p1/kex-names.c:249:19: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.0p1/kex-names.c:260:1: enter_function: entry to ‘kex_names_cat’
openssh-10.0p1/kex-names.c:269:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:271:15: branch_false: ...to here
openssh-10.0p1/kex-names.c:272:25: acquire_memory: allocated here
openssh-10.0p1/kex-names.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:273:20: branch_false: ...to here
openssh-10.0p1/kex-names.c:272:13: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/kex-names.c:277:9: branch_false: ...to here
openssh-10.0p1/kex-names.c:278:38: branch_true: following ‘true’ branch...
openssh-10.0p1/kex-names.c:279:21: call_function: calling ‘kex_has_any_alg’ from ‘kex_names_cat’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
openssh-10.0p1/kex-names.c:249:19: warning[-Wanalyzer-malloc-leak]: leak of ‘patterns’
openssh-10.0p1/kex-names.c:300:1: enter_function: entry to ‘kex_assemble_names’
openssh-10.0p1/kex-names.c:306:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:309:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:317:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:325:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:325:19: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:334:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:334:19: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:352:37: branch_false: ...to here
openssh-10.0p1/kex-names.c:352:37: acquire_memory: allocated here
openssh-10.0p1/kex-names.c:352:12: branch_false: following ‘false’ branch (when ‘opatterns’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/kex-names.c:357:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/kex-names.c:358:21: branch_true: ...to here
openssh-10.0p1/kex-names.c:358:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:363:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:364:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:368:28: branch_false: ...to here
openssh-10.0p1/kex-names.c:368:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
openssh-10.0p1/kex-names.c:368:28: return_function: returning to ‘kex_assemble_names’ from ‘kex_names_cat’
openssh-10.0p1/kex-names.c:368:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:372:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:357:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/kex-names.c:358:21: branch_true: ...to here
openssh-10.0p1/kex-names.c:358:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:363:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:364:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:368:28: branch_false: ...to here
openssh-10.0p1/kex-names.c:368:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
openssh-10.0p1/kex-names.c:249:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/kex-names.c:300:1: enter_function: entry to ‘kex_assemble_names’
openssh-10.0p1/kex-names.c:306:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:309:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:317:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:325:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:325:19: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:334:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:334:19: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:352:37: branch_false: ...to here
openssh-10.0p1/kex-names.c:352:12: branch_false: following ‘false’ branch (when ‘opatterns’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/kex-names.c:357:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/kex-names.c:358:21: branch_true: ...to here
openssh-10.0p1/kex-names.c:358:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:363:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:364:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:368:28: branch_false: ...to here
openssh-10.0p1/kex-names.c:368:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
openssh-10.0p1/kex-names.c:368:28: return_function: returning to ‘kex_assemble_names’ from ‘kex_names_cat’
openssh-10.0p1/kex-names.c:368:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:372:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:357:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/kex-names.c:358:21: branch_true: ...to here
openssh-10.0p1/kex-names.c:358:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:363:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:364:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:368:28: branch_false: ...to here
openssh-10.0p1/kex-names.c:368:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
openssh-10.0p1/kex-names.c:364:33: warning[-Wanalyzer-malloc-leak]: leak of ‘patterns’
openssh-10.0p1/kex-names.c:306:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:309:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:317:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:325:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:325:19: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:334:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:334:19: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:352:37: branch_false: ...to here
openssh-10.0p1/kex-names.c:352:37: acquire_memory: allocated here
openssh-10.0p1/kex-names.c:352:12: branch_false: following ‘false’ branch (when ‘opatterns’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/kex-names.c:357:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/kex-names.c:358:21: branch_true: ...to here
openssh-10.0p1/kex-names.c:358:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:363:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:364: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): [#def179]
openssh-10.0p1/kex-names.c:364:33: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/kex-names.c:300:1: enter_function: entry to ‘kex_assemble_names’
openssh-10.0p1/kex-names.c:306:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:309:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:317:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:325:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:325:19: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:334:19: branch_false: ...to here
openssh-10.0p1/kex-names.c:334:19: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:352:37: branch_false: ...to here
openssh-10.0p1/kex-names.c:352:12: branch_false: following ‘false’ branch (when ‘opatterns’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/kex-names.c:357:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/kex-names.c:358:21: branch_true: ...to here
openssh-10.0p1/kex-names.c:358:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:363:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:364:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:368:28: branch_false: ...to here
openssh-10.0p1/kex-names.c:368:28: call_function: calling ‘kex_names_cat’ from ‘kex_assemble_names’
openssh-10.0p1/kex-names.c:368:28: return_function: returning to ‘kex_assemble_names’ from ‘kex_names_cat’
openssh-10.0p1/kex-names.c:368:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:372:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:357:16: branch_true: following ‘true’ branch (when ‘cp’ is non-NULL)...
openssh-10.0p1/kex-names.c:358:21: branch_true: ...to here
openssh-10.0p1/kex-names.c:358:20: branch_false: following ‘false’ branch...
openssh-10.0p1/kex-names.c:363:17: branch_false: ...to here
openssh-10.0p1/kex-names.c:364: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): [#def180]
openssh-10.0p1/kex.c:195:18: warning[-Wanalyzer-malloc-leak]: leak of ‘proposal’
openssh-10.0p1/kex.c:193:25: acquire_memory: allocated here
openssh-10.0p1/kex.c:193:12: branch_false: following ‘false’ branch (when ‘proposal’ is non-NULL)...
openssh-10.0p1/kex.c:195:18: branch_false: ...to here
openssh-10.0p1/kex.c:195: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): [#def181]
openssh-10.0p1/kex.c:199:18: warning[-Wanalyzer-malloc-leak]: leak of ‘proposal’
openssh-10.0p1/kex.c:193:25: acquire_memory: allocated here
openssh-10.0p1/kex.c:193:12: branch_false: following ‘false’ branch (when ‘proposal’ is non-NULL)...
openssh-10.0p1/kex.c:195:18: branch_false: ...to here
openssh-10.0p1/kex.c:195:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:199:18: branch_false: ...to here
openssh-10.0p1/kex.c:199: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): [#def182]
openssh-10.0p1/kex.c:200:17: warning[-Wanalyzer-malloc-leak]: leak of ‘proposal’
openssh-10.0p1/kex.c:193:25: acquire_memory: allocated here
openssh-10.0p1/kex.c:193:12: branch_false: following ‘false’ branch (when ‘proposal’ is non-NULL)...
openssh-10.0p1/kex.c:195:18: branch_false: ...to here
openssh-10.0p1/kex.c:195:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:199:18: branch_false: ...to here
openssh-10.0p1/kex.c:199:12: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:200:17: branch_true: ...to here
openssh-10.0p1/kex.c:200: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): [#def183]
openssh-10.0p1/kex.c:205:26: warning[-Wanalyzer-malloc-leak]: leak of ‘proposal’
openssh-10.0p1/kex.c:193:25: acquire_memory: allocated here
openssh-10.0p1/kex.c:193:12: branch_false: following ‘false’ branch (when ‘proposal’ is non-NULL)...
openssh-10.0p1/kex.c:195:18: branch_false: ...to here
openssh-10.0p1/kex.c:195:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:199:18: branch_false: ...to here
openssh-10.0p1/kex.c:199:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:204:14: branch_false: ...to here
openssh-10.0p1/kex.c:204:21: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:205:58: branch_true: ...to here
openssh-10.0p1/kex.c:205: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): [#def184]
openssh-10.0p1/kex.c:702:26: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:702: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): [#def185]
openssh-10.0p1/kex.c:703:24: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:703:24: branch_false: ...to here
openssh-10.0p1/kex.c:703: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): [#def186]
openssh-10.0p1/kex.c:704:36: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:703:24: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:704:36: branch_false: ...to here
openssh-10.0p1/kex.c:704: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): [#def187]
openssh-10.0p1/kex.c:705:36: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:703:24: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:704:36: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:705:36: branch_false: ...to here
openssh-10.0p1/kex.c:705: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): [#def188]
openssh-10.0p1/kex.c:706:32: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:703:24: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:704:36: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:705:36: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:706:32: branch_false: ...to here
openssh-10.0p1/kex.c:706: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): [#def189]
openssh-10.0p1/kex.c:752:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:697:1: enter_function: entry to ‘kex_new’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:707:17: branch_true: ...to here
openssh-10.0p1/kex.c:707:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
openssh-10.0p1/kex.c:754:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:697:1: enter_function: entry to ‘kex_new’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:707:17: branch_true: ...to here
openssh-10.0p1/kex.c:707:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
openssh-10.0p1/kex.c:761:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:697:1: enter_function: entry to ‘kex_new’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:707:17: branch_true: ...to here
openssh-10.0p1/kex.c:707:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
openssh-10.0p1/kex.c:762:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:697:1: enter_function: entry to ‘kex_new’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:707:17: branch_true: ...to here
openssh-10.0p1/kex.c:707:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
openssh-10.0p1/kex.c:763:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:697:1: enter_function: entry to ‘kex_new’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:707:17: branch_true: ...to here
openssh-10.0p1/kex.c:707:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
openssh-10.0p1/kex.c:764:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:697:1: enter_function: entry to ‘kex_new’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:707:17: branch_true: ...to here
openssh-10.0p1/kex.c:707:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
openssh-10.0p1/kex.c:765:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:697:1: enter_function: entry to ‘kex_new’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:707:17: branch_true: ...to here
openssh-10.0p1/kex.c:707:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
openssh-10.0p1/kex.c:766:9: warning[-Wanalyzer-malloc-leak]: leak of ‘kex’
openssh-10.0p1/kex.c:697:1: enter_function: entry to ‘kex_new’
openssh-10.0p1/kex.c:701:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:701:12: branch_false: following ‘false’ branch (when ‘kex’ is non-NULL)...
openssh-10.0p1/kex.c:702:26: branch_false: ...to here
openssh-10.0p1/kex.c:701:13: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:707:17: branch_true: ...to here
openssh-10.0p1/kex.c:707:17: call_function: calling ‘kex_free’ from ‘kex_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
openssh-10.0p1/kex.c:1161:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/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): [#def198]
openssh-10.0p1/kex.c:1163:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1163:17: branch_true: ...to here
openssh-10.0p1/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): [#def199]
openssh-10.0p1/kex.c:1164:33: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1163:17: branch_true: ...to here
openssh-10.0p1/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): [#def200]
openssh-10.0p1/kex.c:1165:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1163:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1165:17: branch_true: ...to here
openssh-10.0p1/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): [#def201]
openssh-10.0p1/kex.c:1167:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1163:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1165:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1168:73: branch_true: ...to here
openssh-10.0p1/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): [#def202]
openssh-10.0p1/kex.c:1168:33: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1163:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1165:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1168:73: branch_true: ...to here
openssh-10.0p1/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): [#def203]
openssh-10.0p1/kex.c:1169:17: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1163:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1165:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1168:73: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1169:17: branch_true: ...to here
openssh-10.0p1/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): [#def204]
openssh-10.0p1/kex.c:1176:18: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1163:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1165:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1168:73: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1169:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1176:18: branch_true: ...to here
openssh-10.0p1/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): [#def205]
openssh-10.0p1/kex.c:1181:13: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1163:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1165:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1168:73: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1169:17: branch_true: ...to here
openssh-10.0p1/kex.c:1161:17: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1176:18: branch_true: ...to here
openssh-10.0p1/kex.c:1177:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1181:13: branch_false: ...to here
openssh-10.0p1/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): [#def206]
openssh-10.0p1/kex.c:1195:9: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/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): [#def207]
openssh-10.0p1/kex.c:1196:9: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
openssh-10.0p1/kex.c:1137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1141:12: branch_false: ...to here
openssh-10.0p1/kex.c:1141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1146:12: branch_false: ...to here
openssh-10.0p1/kex.c:1146:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1150:24: branch_false: ...to here
openssh-10.0p1/kex.c:1150:12: branch_false: following ‘false’ branch (when ‘key_len != 0’)...
openssh-10.0p1/kex.c:1155:19: branch_false: ...to here
openssh-10.0p1/kex.c:1156:20: acquire_memory: allocated here
openssh-10.0p1/kex.c:1156:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/kex.c:1161:17: branch_false: ...to here
openssh-10.0p1/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): [#def208]
openssh-10.0p1/kex.c:1684:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pub_ser’
openssh-10.0p1/kex.c:1656:12: branch_false: following ‘false’ branch (when ‘k’ is non-NULL)...
openssh-10.0p1/kex.c:1658:20: branch_false: ...to here
openssh-10.0p1/kex.c:1658:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1659:26: branch_false: ...to here
openssh-10.0p1/kex.c:1658:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1660:23: branch_false: ...to here
openssh-10.0p1/kex.c:1658:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1665:27: branch_false: ...to here
openssh-10.0p1/kex.c:1665:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1666:13: branch_false: ...to here
openssh-10.0p1/kex.c:1665:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kex.c:1673:20: branch_false: ...to here
openssh-10.0p1/kex.c:1673:12: branch_true: following ‘true’ branch...
openssh-10.0p1/kex.c:1677:25: branch_true: ...to here
openssh-10.0p1/kex.c:1680:32: acquire_memory: allocated here
openssh-10.0p1/kex.c:1680:20: branch_false: following ‘false’ branch (when ‘pub_ser’ is non-NULL)...
openssh-10.0p1/kex.c:1684:17: branch_false: ...to here
openssh-10.0p1/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): [#def209]
openssh-10.0p1/kexdh.c:143:30: warning[-Wanalyzer-malloc-leak]: leak of ‘kbuf’
openssh-10.0p1/kexdh.c:106:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:111:21: branch_false: ...to here
openssh-10.0p1/kexdh.c:115:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:123:13: branch_false: ...to here
openssh-10.0p1/kexdh.c:124:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:130:20: branch_false: ...to here
openssh-10.0p1/kexdh.c:130:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:135:13: branch_false: ...to here
openssh-10.0p1/kexdh.c:135:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:136:13: branch_false: ...to here
openssh-10.0p1/kexdh.c:135:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:137:13: branch_false: ...to here
openssh-10.0p1/kexdh.c:135:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:142:21: branch_false: ...to here
openssh-10.0p1/kexdh.c:142:21: acquire_memory: allocated here
openssh-10.0p1/kexdh.c:142:12: branch_false: following ‘false’ branch (when ‘kbuf’ is non-NULL)...
openssh-10.0p1/kexdh.c:143:30: branch_false: ...to here
openssh-10.0p1/kexdh.c:143: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): [#def210]
openssh-10.0p1/kexdh.c:147:13: warning[-Wanalyzer-malloc-leak]: leak of ‘kbuf’
openssh-10.0p1/kexdh.c:106:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:111:21: branch_false: ...to here
openssh-10.0p1/kexdh.c:115:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:123:13: branch_false: ...to here
openssh-10.0p1/kexdh.c:124:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:130:20: branch_false: ...to here
openssh-10.0p1/kexdh.c:130:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:135:13: branch_false: ...to here
openssh-10.0p1/kexdh.c:135:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:136:13: branch_false: ...to here
openssh-10.0p1/kexdh.c:135:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:137:13: branch_false: ...to here
openssh-10.0p1/kexdh.c:135:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:142:21: branch_false: ...to here
openssh-10.0p1/kexdh.c:142:21: acquire_memory: allocated here
openssh-10.0p1/kexdh.c:142:12: branch_false: following ‘false’ branch (when ‘kbuf’ is non-NULL)...
openssh-10.0p1/kexdh.c:143:30: branch_false: ...to here
openssh-10.0p1/kexdh.c:142:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexdh.c:147:13: branch_false: ...to here
openssh-10.0p1/kexdh.c:147: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): [#def211]
openssh-10.0p1/kexecdh.c:249:13: warning[-Wanalyzer-malloc-leak]: leak of ‘kbuf’
openssh-10.0p1/kexecdh.c:185:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:190:9: branch_false: ...to here
openssh-10.0p1/kexecdh.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:196:18: branch_false: ...to here
openssh-10.0p1/kexecdh.c:196:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:201:18: branch_false: ...to here
openssh-10.0p1/kexecdh.c:201:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:203:9: branch_false: ...to here
openssh-10.0p1/kexecdh.c:204:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:205:26: branch_false: ...to here
openssh-10.0p1/kexecdh.c:204:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:209:27: branch_false: ...to here
openssh-10.0p1/kexecdh.c:209:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:213:13: branch_false: ...to here
openssh-10.0p1/kexecdh.c:213:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:215:13: branch_false: ...to here
openssh-10.0p1/kexecdh.c:213:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:217:23: branch_false: ...to here
openssh-10.0p1/kexecdh.c:213:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:222:13: branch_false: ...to here
openssh-10.0p1/kexecdh.c:222:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:223:13: branch_false: ...to here
openssh-10.0p1/kexecdh.c:222:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:225:13: branch_false: ...to here
openssh-10.0p1/kexecdh.c:222:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:235:9: branch_false: ...to here
openssh-10.0p1/kexecdh.c:237:12: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:238:13: branch_false: ...to here
openssh-10.0p1/kexecdh.c:237:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:239:13: branch_false: ...to here
openssh-10.0p1/kexecdh.c:237:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:240:13: branch_false: ...to here
openssh-10.0p1/kexecdh.c:237:13: branch_false: following ‘false’ branch...
openssh-10.0p1/kexecdh.c:245:21: branch_false: ...to here
openssh-10.0p1/kexecdh.c:245:21: acquire_memory: allocated here
openssh-10.0p1/kexecdh.c:245:12: branch_false: following ‘false’ branch (when ‘kbuf’ is non-NULL)...
openssh-10.0p1/kexecdh.c:249:13: branch_false: ...to here
openssh-10.0p1/kexecdh.c:249: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): [#def212]
openssh-10.0p1/kexecdh.c:273:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘publen’
Error: COMPILER_WARNING (CWE-195): [#def213]
openssh-10.0p1/kexgssc.c: scope_hint: In function ‘input_kexgssgex_group’
openssh-10.0p1/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): [#def214]
openssh-10.0p1/kexgssc.c:618:57: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’}
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
openssh-10.0p1/krl.c:1068:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ssh_krl_init()’
openssh-10.0p1/krl.c:1275:1: enter_function: entry to ‘ssh_krl_file_contains_key’
openssh-10.0p1/krl.c:1281:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/krl.c:1283:18: branch_false: ...to here
openssh-10.0p1/krl.c:1283:12: branch_false: following ‘false’ branch...
openssh-10.0p1/krl.c:1287:18: branch_false: ...to here
openssh-10.0p1/krl.c:1287:18: call_function: calling ‘ssh_krl_from_blob’ from ‘ssh_krl_file_contains_key’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
openssh-10.0p1/krl.c:1072:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ssh_krl_init()’
openssh-10.0p1/krl.c:1275:1: enter_function: entry to ‘ssh_krl_file_contains_key’
openssh-10.0p1/krl.c:1281:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/krl.c:1283:18: branch_false: ...to here
openssh-10.0p1/krl.c:1283:12: branch_false: following ‘false’ branch...
openssh-10.0p1/krl.c:1287:18: branch_false: ...to here
openssh-10.0p1/krl.c:1287:18: call_function: calling ‘ssh_krl_from_blob’ from ‘ssh_krl_file_contains_key’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def217]
openssh-10.0p1/krl.c:1073:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ssh_krl_init()’
openssh-10.0p1/krl.c:1275:1: enter_function: entry to ‘ssh_krl_file_contains_key’
openssh-10.0p1/krl.c:1281:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/krl.c:1283:18: branch_false: ...to here
openssh-10.0p1/krl.c:1283:12: branch_false: following ‘false’ branch...
openssh-10.0p1/krl.c:1287:18: branch_false: ...to here
openssh-10.0p1/krl.c:1287:18: call_function: calling ‘ssh_krl_from_blob’ from ‘ssh_krl_file_contains_key’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
openssh-10.0p1/krl.c:1076:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ssh_krl_init()’
openssh-10.0p1/krl.c:1275:1: enter_function: entry to ‘ssh_krl_file_contains_key’
openssh-10.0p1/krl.c:1281:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/krl.c:1283:18: branch_false: ...to here
openssh-10.0p1/krl.c:1283:12: branch_false: following ‘false’ branch...
openssh-10.0p1/krl.c:1287:18: branch_false: ...to here
openssh-10.0p1/krl.c:1287:18: call_function: calling ‘ssh_krl_from_blob’ from ‘ssh_krl_file_contains_key’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
openssh-10.0p1/krl.c:1080:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ssh_krl_init()’
openssh-10.0p1/krl.c:1275:1: enter_function: entry to ‘ssh_krl_file_contains_key’
openssh-10.0p1/krl.c:1281:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/krl.c:1283:18: branch_false: ...to here
openssh-10.0p1/krl.c:1283:12: branch_false: following ‘false’ branch...
openssh-10.0p1/krl.c:1287:18: branch_false: ...to here
openssh-10.0p1/krl.c:1287:18: call_function: calling ‘ssh_krl_from_blob’ from ‘ssh_krl_file_contains_key’
Error: COMPILER_WARNING: [#def220]
openssh-10.0p1/log.c: scope_hint: In function ‘do_log’
openssh-10.0p1/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.0p1/log.c: scope_hint: In function ‘do_log’
openssh-10.0p1/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.0p1/log.c: scope_hint: In function ‘sshlogv’
openssh-10.0p1/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.0p1/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.0p1/log.c:476:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/log.c:447:1: enter_function: entry to ‘sshlogdie’
openssh-10.0p1/log.c:452:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/log.c:453:9: call_function: calling ‘sshlogv’ from ‘sshlogdie’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
openssh-10.0p1/misc.c:635:29: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
openssh-10.0p1/misc.c:617:1: enter_function: entry to ‘convtime’
openssh-10.0p1/misc.c:623:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:625:18: acquire_memory: allocated here
openssh-10.0p1/misc.c:626:12: branch_false: following ‘false’ branch (when ‘os’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/misc.c:629:16: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:630:22: branch_true: ...to here
openssh-10.0p1/misc.c:630:22: call_function: calling ‘scandigits’ from ‘convtime’
openssh-10.0p1/misc.c:630:22: return_function: returning to ‘convtime’ from ‘scandigits’
openssh-10.0p1/misc.c:635:29: danger: ‘p’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: COMPILER_WARNING: [#def225]
openssh-10.0p1/misc.c: scope_hint: In function ‘fmt_timeframe’
openssh-10.0p1/misc.c:712:40: warning[-Wformat-truncation=]: ‘%02llu’ directive output may be truncated writing between 2 and 14 bytes into a region of size 9
openssh-10.0p1/misc.c:712:39: note: directive argument in the range [1, 30500568904943]
openssh-10.0p1/misc.c:712:39: note: directive argument in the range [0, 6]
openssh-10.0p1/misc.c:712: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): [#def226]
openssh-10.0p1/misc.c:941:16: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(s)’
openssh-10.0p1/misc.c:914:1: enter_function: entry to ‘parse_user_host_port’
openssh-10.0p1/misc.c:922:12: branch_false: following ‘false’ branch (when ‘hostp’ is NULL)...
openssh-10.0p1/misc.c:924:12: branch_false: ...to here
openssh-10.0p1/misc.c:927:27: acquire_memory: allocated here
openssh-10.0p1/misc.c:927:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:930:19: branch_false: ...to here
openssh-10.0p1/misc.c:930:12: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
openssh-10.0p1/misc.c:939:19: branch_false: ...to here
openssh-10.0p1/misc.c:939:19: call_function: calling ‘hpdelim’ from ‘parse_user_host_port’
openssh-10.0p1/misc.c:939:19: return_function: returning to ‘parse_user_host_port’ from ‘hpdelim’
openssh-10.0p1/misc.c:939:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:941:16: danger: ‘strdup(s)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def227]
openssh-10.0p1/misc.c:1306:20: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1446:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.0p1/misc.c:1452:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1453:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def228]
openssh-10.0p1/misc.c:1307:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1446:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.0p1/misc.c:1452:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1453:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def229]
openssh-10.0p1/misc.c:1320:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1446:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.0p1/misc.c:1452:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1453:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def230]
openssh-10.0p1/misc.c:1325:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1446:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.0p1/misc.c:1452:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1453:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def231]
openssh-10.0p1/misc.c:1327:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1446:1: enter_function: entry to ‘percent_dollar_expand’
openssh-10.0p1/misc.c:1452:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1453:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def232]
openssh-10.0p1/misc.c:1336:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1408:1: enter_function: entry to ‘dollar_expand’
openssh-10.0p1/misc.c:1414:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1415:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def233]
openssh-10.0p1/misc.c:1342:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1408:1: enter_function: entry to ‘dollar_expand’
openssh-10.0p1/misc.c:1414:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1415:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def234]
openssh-10.0p1/misc.c:1345:31: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1408:1: enter_function: entry to ‘dollar_expand’
openssh-10.0p1/misc.c:1414:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1415:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def235]
openssh-10.0p1/misc.c:1348:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1408:1: enter_function: entry to ‘dollar_expand’
openssh-10.0p1/misc.c:1414:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1415:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def236]
openssh-10.0p1/misc.c:1351:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1408:1: enter_function: entry to ‘dollar_expand’
openssh-10.0p1/misc.c:1414:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1415:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def237]
openssh-10.0p1/misc.c:1352:42: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1408:1: enter_function: entry to ‘dollar_expand’
openssh-10.0p1/misc.c:1414:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1415:15: call_function: calling ‘vdollar_percent_expand’ from ‘dollar_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def238]
openssh-10.0p1/misc.c:1367:34: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1427:1: enter_function: entry to ‘percent_expand’
openssh-10.0p1/misc.c:1433:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1434:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_expand’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def239]
openssh-10.0p1/misc.c:1368:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1427:1: enter_function: entry to ‘percent_expand’
openssh-10.0p1/misc.c:1433:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1434:15: call_function: calling ‘vdollar_percent_expand’ from ‘percent_expand’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
openssh-10.0p1/misc.c:1550:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dupfd’
openssh-10.0p1/misc.c:1543:31: acquire_resource: opened here
openssh-10.0p1/misc.c:1543:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:1548:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.0p1/misc.c:1550:21: branch_true: ...to here
openssh-10.0p1/misc.c:1550:21: danger: ‘dupfd’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
openssh-10.0p1/misc.c:1550:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.0p1/misc.c:1543:31: acquire_resource: opened here
openssh-10.0p1/misc.c:1543:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:1548:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.0p1/misc.c:1550:21: branch_true: ...to here
openssh-10.0p1/misc.c:1548:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.0p1/misc.c:1550:21: branch_true: ...to here
openssh-10.0p1/misc.c:1550:21: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def242]
openssh-10.0p1/misc.c:1551:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), dupfd)’
openssh-10.0p1/misc.c:1543:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:1548:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.0p1/misc.c:1550:21: branch_true: ...to here
openssh-10.0p1/misc.c:1550:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:1551:29: acquire_resource: opened here
openssh-10.0p1/misc.c:1551:28: danger: ‘dup2(open("/dev/null", 2), dupfd)’ leaks here; was opened at [(7)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def243]
openssh-10.0p1/misc.c:1551:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.0p1/misc.c:1543:31: acquire_resource: opened here
openssh-10.0p1/misc.c:1543:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:1548:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.0p1/misc.c:1550:21: branch_true: ...to here
openssh-10.0p1/misc.c:1548:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.0p1/misc.c:1550:21: branch_true: ...to here
openssh-10.0p1/misc.c:1551:28: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def244]
openssh-10.0p1/misc.c:1557:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.0p1/misc.c:1543:31: acquire_resource: opened here
openssh-10.0p1/misc.c:1543:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:1548:16: branch_true: following ‘true’ branch (when ‘dupfd <= 2’)...
openssh-10.0p1/misc.c:1550:21: branch_true: ...to here
openssh-10.0p1/misc.c:1557: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-775): [#def245]
openssh-10.0p1/misc.c:1558:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dupfd’
openssh-10.0p1/misc.c:1543:31: acquire_resource: opened here
openssh-10.0p1/misc.c:1543:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:1548:16: branch_false: following ‘false’ branch (when ‘dupfd > 2’)...
openssh-10.0p1/misc.c:1557:12: branch_false: ...to here
openssh-10.0p1/misc.c:1557:12: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:1558:17: branch_true: ...to here
openssh-10.0p1/misc.c:1558:17: danger: ‘dupfd’ leaks here; was opened at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def246]
openssh-10.0p1/misc.c:1561:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dupfd’
openssh-10.0p1/misc.c:1543:31: acquire_resource: opened here
openssh-10.0p1/misc.c:1543:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:1548:16: branch_false: following ‘false’ branch (when ‘dupfd > 2’)...
openssh-10.0p1/misc.c:1557:12: branch_false: ...to here
openssh-10.0p1/misc.c:1557:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:1561:1: branch_false: ...to here
openssh-10.0p1/misc.c:1561:1: danger: ‘dupfd’ leaks here; was opened at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def247]
openssh-10.0p1/misc.c:1594:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/misc.c:1593:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/misc.c:1594:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def248]
openssh-10.0p1/misc.c:1969:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/misc.c:1953:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:1960:16: branch_false: ...to here
openssh-10.0p1/misc.c:1960:16: acquire_resource: stream socket created here
openssh-10.0p1/misc.c:1961:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/misc.c:1967:12: branch_false: ...to here
openssh-10.0p1/misc.c:1967:12: branch_true: following ‘true’ branch (when ‘unlink_first == 1’)...
openssh-10.0p1/misc.c:1968:21: branch_true: ...to here
openssh-10.0p1/misc.c:1968:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:1969:25: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def249]
openssh-10.0p1/misc.c:1980:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/misc.c:1953:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:1960:16: branch_false: ...to here
openssh-10.0p1/misc.c:1960:16: acquire_resource: stream socket created here
openssh-10.0p1/misc.c:1961:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/misc.c:1967:12: branch_false: ...to here
openssh-10.0p1/misc.c:1971:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:1978:13: branch_false: ...to here
openssh-10.0p1/misc.c:1978:12: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:1979:31: branch_true: ...to here
openssh-10.0p1/misc.c:1980:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def250]
openssh-10.0p1/misc.c:1981:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/misc.c:1953:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:1960:16: branch_false: ...to here
openssh-10.0p1/misc.c:1960:16: acquire_resource: stream socket created here
openssh-10.0p1/misc.c:1961:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/misc.c:1967:12: branch_false: ...to here
openssh-10.0p1/misc.c:1971:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:1978:13: branch_false: ...to here
openssh-10.0p1/misc.c:1978:12: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:1979:31: branch_true: ...to here
openssh-10.0p1/misc.c:1981:17: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def251]
openssh-10.0p1/misc.c:2058:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 256)’
openssh-10.0p1/misc.c:2057:19: acquire_resource: opened here
openssh-10.0p1/misc.c:2057:12: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2058:17: branch_true: ...to here
openssh-10.0p1/misc.c:2058:17: danger: ‘open("/dev/tty", 256)’ leaks here; was opened at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
openssh-10.0p1/misc.c:2190:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/misc.c:2154:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2188:20: acquire_memory: allocated here
openssh-10.0p1/misc.c:2188:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/misc.c:2190:9: branch_false: ...to here
openssh-10.0p1/misc.c:2190:9: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
openssh-10.0p1/misc.c:2190:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/misc.c:2154:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2188:20: acquire_memory: allocated here
openssh-10.0p1/misc.c:2188:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/misc.c:2190:9: branch_false: ...to here
openssh-10.0p1/misc.c:2190:21: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
openssh-10.0p1/misc.c:2191:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/misc.c:2154:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2188:20: acquire_memory: allocated here
openssh-10.0p1/misc.c:2188:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/misc.c:2190:9: branch_false: ...to here
openssh-10.0p1/misc.c:2191:13: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
openssh-10.0p1/misc.c:2192:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/misc.c:2154:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2188:20: acquire_memory: allocated here
openssh-10.0p1/misc.c:2188:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/misc.c:2190:9: branch_false: ...to here
openssh-10.0p1/misc.c:2192:9: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
openssh-10.0p1/misc.c:2193:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/misc.c:2154:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2188:20: acquire_memory: allocated here
openssh-10.0p1/misc.c:2188:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/misc.c:2190:9: branch_false: ...to here
openssh-10.0p1/misc.c:2193:9: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def257]
openssh-10.0p1/misc.c:2355:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2849:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def258]
openssh-10.0p1/misc.c:2355:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2849:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def259]
openssh-10.0p1/misc.c:2364:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2849:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def260]
openssh-10.0p1/misc.c:2364:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2849:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def261]
openssh-10.0p1/misc.c:2391:41: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2849:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def262]
openssh-10.0p1/misc.c:2391:41: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2849:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def263]
openssh-10.0p1/misc.c:2400:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2849:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def264]
openssh-10.0p1/misc.c:2400:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2849:25: call_function: calling ‘child_set_env’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def265]
openssh-10.0p1/misc.c:2730:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def266]
openssh-10.0p1/misc.c:2730:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def267]
openssh-10.0p1/misc.c:2730:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[i]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def268]
openssh-10.0p1/misc.c:2746:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 0)’
openssh-10.0p1/misc.c:2741:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2746:12: branch_false: ...to here
openssh-10.0p1/misc.c:2746:12: branch_true: following ‘true’ branch (when ‘do_stdin != 0’)...
openssh-10.0p1/misc.c:2746:26: branch_true: ...to here
openssh-10.0p1/misc.c:2746:26: acquire_resource: opened here
openssh-10.0p1/misc.c:2746:13: danger: ‘dup2(open("/dev/null", 2), 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def269]
openssh-10.0p1/misc.c:2747:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 1)’
openssh-10.0p1/misc.c:2741:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2746:12: branch_false: ...to here
openssh-10.0p1/misc.c:2746:13: branch_true: following ‘true’ branch (when ‘do_stdout != 0’)...
openssh-10.0p1/misc.c:2747:27: branch_true: ...to here
openssh-10.0p1/misc.c:2747:27: acquire_resource: opened here
openssh-10.0p1/misc.c:2747:13: danger: ‘dup2(open("/dev/null", 2), 1)’ leaks here; was opened at [(5)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def270]
openssh-10.0p1/misc.c:2748:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 2)’
openssh-10.0p1/misc.c:2741:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2746:12: branch_false: ...to here
openssh-10.0p1/misc.c:2746:13: branch_true: following ‘true’ branch (when ‘do_stderr != 0’)...
openssh-10.0p1/misc.c:2748:27: branch_true: ...to here
openssh-10.0p1/misc.c:2748:27: acquire_resource: opened here
openssh-10.0p1/misc.c:2748:13: danger: ‘dup2(open("/dev/null", 2), 2)’ leaks here; was opened at [(5)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def271]
openssh-10.0p1/misc.c:2749:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.0p1/misc.c:2741:24: acquire_resource: opened here
openssh-10.0p1/misc.c:2741:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2746:12: branch_false: ...to here
openssh-10.0p1/misc.c:2749:17: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def272]
openssh-10.0p1/misc.c:2752:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.0p1/misc.c:2741:24: acquire_resource: opened here
openssh-10.0p1/misc.c:2741:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2746:12: branch_false: ...to here
openssh-10.0p1/misc.c:2752:12: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def273]
openssh-10.0p1/misc.c:2753:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.0p1/misc.c:2741:24: acquire_resource: opened here
openssh-10.0p1/misc.c:2741:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2746:12: branch_false: ...to here
openssh-10.0p1/misc.c:2752:12: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2753:17: branch_true: ...to here
openssh-10.0p1/misc.c:2753:17: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
openssh-10.0p1/misc.c:2784:24: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2923:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2925:23: branch_false: ...to here
openssh-10.0p1/misc.c:2925:23: acquire_memory: allocated here
openssh-10.0p1/misc.c:2925:17: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.0p1/misc.c:2935:9: branch_false: ...to here
openssh-10.0p1/misc.c:2936:12: branch_false: following ‘false’ branch (when ‘child’ is NULL)...
branch_false: ...to here
openssh-10.0p1/misc.c:2784:24: danger: ‘f’ leaks here; was allocated at [(14)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def275]
openssh-10.0p1/misc.c:2836:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2835:12: branch_true: following ‘true’ branch (when ‘restore_privs’ is non-NULL)...
openssh-10.0p1/misc.c:2836:17: branch_true: ...to here
openssh-10.0p1/misc.c:2836:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def276]
openssh-10.0p1/misc.c:2836:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2835:12: branch_true: following ‘true’ branch (when ‘restore_privs’ is non-NULL)...
openssh-10.0p1/misc.c:2836:17: branch_true: ...to here
openssh-10.0p1/misc.c:2836:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def277]
openssh-10.0p1/misc.c:2840:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2840:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def278]
openssh-10.0p1/misc.c:2840:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2840:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def279]
openssh-10.0p1/misc.c:2841:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2841:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def280]
openssh-10.0p1/misc.c:2841:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2841:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def281]
openssh-10.0p1/misc.c:2842:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2842:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def282]
openssh-10.0p1/misc.c:2848:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2848:31: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def283]
openssh-10.0p1/misc.c:2848:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2847:25: branch_true: ...to here
openssh-10.0p1/misc.c:2848:31: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
openssh-10.0p1/misc.c:2860:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def285]
openssh-10.0p1/misc.c:2860:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def286]
openssh-10.0p1/misc.c:2861:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2861:25: branch_true: ...to here
openssh-10.0p1/misc.c:2861:25: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def287]
openssh-10.0p1/misc.c:2861:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2861:25: branch_true: ...to here
openssh-10.0p1/misc.c:2861:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def288]
openssh-10.0p1/misc.c:2865:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 0)’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:21: acquire_resource: opened here
openssh-10.0p1/misc.c:2865:20: danger: ‘dup2(open("/dev/null", 2), 0)’ leaks here; was opened at [(24)](sarif:/runs/0/results/65/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def289]
openssh-10.0p1/misc.c:2865:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(22)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def290]
openssh-10.0p1/misc.c:2866:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2866:25: branch_true: ...to here
openssh-10.0p1/misc.c:2866:25: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def291]
openssh-10.0p1/misc.c:2866:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2866:25: branch_true: ...to here
openssh-10.0p1/misc.c:2866:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def292]
openssh-10.0p1/misc.c:2872:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(22)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def293]
openssh-10.0p1/misc.c:2874:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(22)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def294]
openssh-10.0p1/misc.c:2876:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(fd, 1)’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2873:25: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:33: acquire_resource: opened here
openssh-10.0p1/misc.c:2876:21: danger: ‘dup2(fd, 1)’ leaks here; was opened at [(30)](sarif:/runs/0/results/70/codeFlows/0/threadFlows/0/locations/29)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def295]
openssh-10.0p1/misc.c:2877:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2873:25: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2877:25: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def296]
openssh-10.0p1/misc.c:2877:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2873:25: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2877:25: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def297]
openssh-10.0p1/misc.c:2877:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2877:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def298]
openssh-10.0p1/misc.c:2883:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2882:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2883:21: branch_true: ...to here
openssh-10.0p1/misc.c:2883:21: danger: ‘fd’ leaks here; was opened at [(24)](sarif:/runs/0/results/76/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def299]
openssh-10.0p1/misc.c:2883:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2882:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2883:21: branch_true: ...to here
openssh-10.0p1/misc.c:2883:21: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
openssh-10.0p1/misc.c:2883:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2882:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2883:21: branch_true: ...to here
openssh-10.0p1/misc.c:2883:21: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def301]
openssh-10.0p1/misc.c:2884:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2882:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2883:21: branch_true: ...to here
openssh-10.0p1/misc.c:2882:21: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2884:25: branch_true: ...to here
openssh-10.0p1/misc.c:2884:25: danger: ‘fd’ leaks here; was opened at [(24)](sarif:/runs/0/results/79/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
openssh-10.0p1/misc.c:2884:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2882:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2883:21: branch_true: ...to here
openssh-10.0p1/misc.c:2882:21: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2884:25: branch_true: ...to here
openssh-10.0p1/misc.c:2884:25: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def303]
openssh-10.0p1/misc.c:2884:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2882:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2883:21: branch_true: ...to here
openssh-10.0p1/misc.c:2882:21: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2884:25: branch_true: ...to here
openssh-10.0p1/misc.c:2884:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def304]
openssh-10.0p1/misc.c:2889:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2889:25: branch_true: ...to here
openssh-10.0p1/misc.c:2889:25: danger: ‘fd’ leaks here; was opened at [(24)](sarif:/runs/0/results/82/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def305]
openssh-10.0p1/misc.c:2889:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2889:25: branch_true: ...to here
openssh-10.0p1/misc.c:2889:25: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def306]
openssh-10.0p1/misc.c:2889:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2889:25: branch_true: ...to here
openssh-10.0p1/misc.c:2889:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def307]
openssh-10.0p1/misc.c:2894:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2894:25: branch_true: ...to here
openssh-10.0p1/misc.c:2894:25: danger: ‘fd’ leaks here; was opened at [(24)](sarif:/runs/0/results/85/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def308]
openssh-10.0p1/misc.c:2894:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2894:25: branch_true: ...to here
openssh-10.0p1/misc.c:2894:25: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def309]
openssh-10.0p1/misc.c:2894:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2894:25: branch_true: ...to here
openssh-10.0p1/misc.c:2894:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def310]
openssh-10.0p1/misc.c:2899:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(0, 2)’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2899:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2900:21: branch_true: ...to here
openssh-10.0p1/misc.c:2900:21: acquire_resource: opened here
openssh-10.0p1/misc.c:2899:21: danger: ‘dup2(0, 2)’ leaks here; was opened at [(42)](sarif:/runs/0/results/86/codeFlows/0/threadFlows/0/locations/41)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def311]
openssh-10.0p1/misc.c:2901:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2899:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2900:21: branch_true: ...to here
openssh-10.0p1/misc.c:2899:21: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2901:25: branch_true: ...to here
openssh-10.0p1/misc.c:2901:25: danger: ‘fd’ leaks here; was opened at [(24)](sarif:/runs/0/results/89/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def312]
openssh-10.0p1/misc.c:2901:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2899:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2900:21: branch_true: ...to here
openssh-10.0p1/misc.c:2899:21: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2901:25: branch_true: ...to here
openssh-10.0p1/misc.c:2901:25: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def313]
openssh-10.0p1/misc.c:2901:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2899:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2900:21: branch_true: ...to here
openssh-10.0p1/misc.c:2899:21: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2901:25: branch_true: ...to here
openssh-10.0p1/misc.c:2901:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def314]
openssh-10.0p1/misc.c:2905:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2905:21: danger: ‘fd’ leaks here; was opened at [(24)](sarif:/runs/0/results/92/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def315]
openssh-10.0p1/misc.c:2905:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2905:21: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def316]
openssh-10.0p1/misc.c:2905:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2905:21: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def317]
openssh-10.0p1/misc.c:2906:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2905:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2906:25: branch_true: ...to here
openssh-10.0p1/misc.c:2906:25: danger: ‘fd’ leaks here; was opened at [(24)](sarif:/runs/0/results/95/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def318]
openssh-10.0p1/misc.c:2906:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2905:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2906:25: branch_true: ...to here
openssh-10.0p1/misc.c:2906:25: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def319]
openssh-10.0p1/misc.c:2906:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2905:20: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2906:25: branch_true: ...to here
openssh-10.0p1/misc.c:2906:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def320]
openssh-10.0p1/misc.c:2915:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2797:13: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2802:14: branch_false: ...to here
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:32: acquire_resource: opened here
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2872:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2874:25: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2876:20: branch_true: ...to here
openssh-10.0p1/misc.c:2876:20: branch_true: following ‘true’ branch (when ‘fd != -1’)...
openssh-10.0p1/misc.c:2876:33: branch_true: ...to here
openssh-10.0p1/misc.c:2876:21: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2905:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2911:21: branch_false: ...to here
openssh-10.0p1/misc.c:2911:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2914:25: branch_false: ...to here
openssh-10.0p1/misc.c:2915:17: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2915:17: branch_true: ...to here
openssh-10.0p1/misc.c:2915:17: danger: ‘fd’ leaks here; was opened at [(24)](sarif:/runs/0/results/98/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def321]
openssh-10.0p1/misc.c:2915:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2905:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2911:21: branch_false: ...to here
openssh-10.0p1/misc.c:2911:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2914:25: branch_false: ...to here
openssh-10.0p1/misc.c:2915:17: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2915:17: branch_true: ...to here
openssh-10.0p1/misc.c:2915:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def322]
openssh-10.0p1/misc.c:2915:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2768:1: enter_function: entry to ‘subprocess’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2846:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/misc.c:2857:29: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/misc.c:2858:25: branch_true: ...to here
openssh-10.0p1/misc.c:2858:25: call_function: calling ‘ssh_signal’ from ‘subprocess’
openssh-10.0p1/misc.c:2858:25: return_function: returning to ‘subprocess’ from ‘ssh_signal’
openssh-10.0p1/misc.c:2860:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2865:21: branch_false: ...to here
openssh-10.0p1/misc.c:2865:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2872:20: branch_false: ...to here
openssh-10.0p1/misc.c:2874:25: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2880:17: branch_false: ...to here
openssh-10.0p1/misc.c:2888:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2893:21: branch_false: ...to here
openssh-10.0p1/misc.c:2893:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2899:20: branch_false: ...to here
openssh-10.0p1/misc.c:2905:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2911:21: branch_false: ...to here
openssh-10.0p1/misc.c:2911:20: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2914:25: branch_false: ...to here
openssh-10.0p1/misc.c:2915:17: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2915:17: branch_true: ...to here
openssh-10.0p1/misc.c:2915:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def323]
openssh-10.0p1/misc.c:2922:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2922:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def324]
openssh-10.0p1/misc.c:2922:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2922:9: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def325]
openssh-10.0p1/misc.c:2924:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2923:12: branch_true: following ‘true’ branch...
openssh-10.0p1/misc.c:2924:17: branch_true: ...to here
openssh-10.0p1/misc.c:2924:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
openssh-10.0p1/misc.c:2935:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
openssh-10.0p1/misc.c:2802:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2811:14: branch_false: ...to here
openssh-10.0p1/misc.c:2811:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2815:12: branch_false: ...to here
openssh-10.0p1/misc.c:2817:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2822:13: branch_false: ...to here
openssh-10.0p1/misc.c:2828:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2835:12: branch_false: ...to here
openssh-10.0p1/misc.c:2923:12: branch_false: following ‘false’ branch...
openssh-10.0p1/misc.c:2925:23: branch_false: ...to here
openssh-10.0p1/misc.c:2925:23: acquire_memory: allocated here
openssh-10.0p1/misc.c:2925:17: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
openssh-10.0p1/misc.c:2935:9: branch_false: ...to here
openssh-10.0p1/misc.c:2935:9: danger: ‘f’ leaks here; was allocated at [(14)](sarif:/runs/0/results/102/codeFlows/0/threadFlows/0/locations/13)
Error: COMPILER_WARNING (CWE-9001): [#def327]
openssh-10.0p1/ssh-keycat.c:57: included_from: Included from here.
openssh-10.0p1/misc.h:157:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def328]
openssh-10.0p1/misc.h:157:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def329]
openssh-10.0p1/misc.h:159:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def330]
openssh-10.0p1/misc.h:159:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def331]
openssh-10.0p1/misc.h:161:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def332]
openssh-10.0p1/misc.h:161:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def333]
openssh-10.0p1/misc.h:163:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def334]
openssh-10.0p1/misc.h:163:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def335]
openssh-10.0p1/misc.h:165:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def336]
openssh-10.0p1/misc.h:165:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def337]
openssh-10.0p1/misc.h:167:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def338]
openssh-10.0p1/misc.h:167:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def339]
openssh-10.0p1/misc.h:171:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def340]
openssh-10.0p1/misc.h:171:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def341]
openssh-10.0p1/misc.h:173:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-9001): [#def342]
openssh-10.0p1/misc.h:173:5: warning[-Wattributes]: ‘bounded’ attribute directive ignored
Error: COMPILER_WARNING (CWE-563): [#def343]
openssh-10.0p1/monitor.c:751:32: warning[-Wunused-variable]: unused variable ‘alglen’
Error: COMPILER_WARNING (CWE-195): [#def344]
openssh-10.0p1/monitor.c: scope_hint: In function ‘mm_answer_sign’
openssh-10.0p1/monitor.c:765:57: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’
Error: COMPILER_WARNING (CWE-704): [#def345]
openssh-10.0p1/monitor.c:815:39: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def346]
openssh-10.0p1/monitor.c:815:39: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def347]
openssh-10.0p1/monitor.c:826:39: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def348]
openssh-10.0p1/monitor.c:826:39: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-195): [#def349]
openssh-10.0p1/monitor.c: scope_hint: In function ‘mm_answer_keyverify’
openssh-10.0p1/monitor.c:1614:18: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’}
Error: GCC_ANALYZER_WARNING (CWE-775): [#def350]
openssh-10.0p1/monitor.c:1784:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*<unknown>.ttyfd, 0)’
openssh-10.0p1/monitor.c:1769:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1771:9: branch_false: ...to here
openssh-10.0p1/monitor.c:1775:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1777:30: branch_false: ...to here
openssh-10.0p1/monitor.c:1779:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1780:18: branch_false: ...to here
openssh-10.0p1/monitor.c:1779:13: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1784:13: branch_false: ...to here
openssh-10.0p1/monitor.c:1784:13: acquire_resource: opened here
openssh-10.0p1/monitor.c:1784: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): [#def351]
openssh-10.0p1/monitor.c:1806:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
openssh-10.0p1/monitor.c:1769:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1771:9: branch_false: ...to here
openssh-10.0p1/monitor.c:1775:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1777:30: branch_false: ...to here
openssh-10.0p1/monitor.c:1779:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1780:18: branch_false: ...to here
openssh-10.0p1/monitor.c:1779:13: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1784:13: branch_false: ...to here
openssh-10.0p1/monitor.c:1784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1787:41: branch_false: ...to here
openssh-10.0p1/monitor.c:1793:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1795:9: branch_false: ...to here
openssh-10.0p1/monitor.c:1799:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1800:13: branch_false: ...to here
openssh-10.0p1/monitor.c:1799:13: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1804:20: branch_false: ...to here
openssh-10.0p1/monitor.c:1804:20: acquire_resource: opened here
openssh-10.0p1/monitor.c:1804:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1806:12: branch_false: ...to here
openssh-10.0p1/monitor.c:1806: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): [#def352]
openssh-10.0p1/monitor.c:1807:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
openssh-10.0p1/monitor.c:1769:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1771:9: branch_false: ...to here
openssh-10.0p1/monitor.c:1775:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1777:30: branch_false: ...to here
openssh-10.0p1/monitor.c:1779:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1780:18: branch_false: ...to here
openssh-10.0p1/monitor.c:1779:13: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1784:13: branch_false: ...to here
openssh-10.0p1/monitor.c:1784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1787:41: branch_false: ...to here
openssh-10.0p1/monitor.c:1793:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1795:9: branch_false: ...to here
openssh-10.0p1/monitor.c:1799:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1800:13: branch_false: ...to here
openssh-10.0p1/monitor.c:1799:13: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1804:20: branch_false: ...to here
openssh-10.0p1/monitor.c:1804:20: acquire_resource: opened here
openssh-10.0p1/monitor.c:1804:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:1806:12: branch_false: ...to here
openssh-10.0p1/monitor.c:1806:12: branch_true: following ‘true’ branch...
openssh-10.0p1/monitor.c:1807:17: branch_true: ...to here
openssh-10.0p1/monitor.c:1807: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): [#def353]
openssh-10.0p1/monitor.c:2078:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pair[0]’
openssh-10.0p1/monitor.c:2062:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:2070:9: branch_false: ...to here
openssh-10.0p1/monitor.c:2070:9: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:2071:9: branch_false: ...to here
openssh-10.0p1/monitor.c:2071:9: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:2072:25: branch_false: ...to here
openssh-10.0p1/monitor.c:2075:12: branch_true: following ‘true’ branch (when ‘do_logfds != 0’)...
openssh-10.0p1/monitor.c:2076:21: branch_true: ...to here
openssh-10.0p1/monitor.c:2076:20: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:2078:17: branch_false: ...to here
openssh-10.0p1/monitor.c:2078:17: danger: ‘pair[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def354]
openssh-10.0p1/monitor.c:2078:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pair[1]’
openssh-10.0p1/monitor.c:2062:12: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:2070:9: branch_false: ...to here
openssh-10.0p1/monitor.c:2070:9: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:2071:9: branch_false: ...to here
openssh-10.0p1/monitor.c:2071:9: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:2072:25: branch_false: ...to here
openssh-10.0p1/monitor.c:2075:12: branch_true: following ‘true’ branch (when ‘do_logfds != 0’)...
openssh-10.0p1/monitor.c:2076:21: branch_true: ...to here
openssh-10.0p1/monitor.c:2076:20: branch_false: following ‘false’ branch...
openssh-10.0p1/monitor.c:2078:17: branch_false: ...to here
openssh-10.0p1/monitor.c:2078:17: danger: ‘pair[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def355]
openssh-10.0p1/monitor_wrap.c:661:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp1’
openssh-10.0p1/monitor_wrap.c:659:21: acquire_resource: opened here
openssh-10.0p1/monitor_wrap.c:659:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.0p1/monitor_wrap.c:660:33: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:659:13: branch_true: following ‘true’ branch (when ‘tmp2 == -1’)...
openssh-10.0p1/monitor_wrap.c:661:17: branch_true: ...to here
openssh-10.0p1/monitor_wrap.c:661: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): [#def356]
openssh-10.0p1/monitor_wrap.c:663:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp1’
openssh-10.0p1/monitor_wrap.c:659:21: acquire_resource: opened here
openssh-10.0p1/monitor_wrap.c:659:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.0p1/monitor_wrap.c:660:33: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:659:13: branch_true: following ‘true’ branch (when ‘tmp2 == -1’)...
openssh-10.0p1/monitor_wrap.c:661:17: branch_true: ...to here
openssh-10.0p1/monitor_wrap.c:662:20: branch_true: following ‘true’ branch (when ‘tmp1 >= 0’)...
openssh-10.0p1/monitor_wrap.c:663:25: branch_true: ...to here
openssh-10.0p1/monitor_wrap.c:663: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): [#def357]
openssh-10.0p1/monitor_wrap.c:664:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp1’
openssh-10.0p1/monitor_wrap.c:659:21: acquire_resource: opened here
openssh-10.0p1/monitor_wrap.c:659:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.0p1/monitor_wrap.c:660:33: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:659:13: branch_true: following ‘true’ branch (when ‘tmp2 == -1’)...
openssh-10.0p1/monitor_wrap.c:661:17: branch_true: ...to here
openssh-10.0p1/monitor_wrap.c:662:20: branch_false: following ‘false’ branch (when ‘tmp1 < 0’)...
openssh-10.0p1/monitor_wrap.c:664:24: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:664:24: 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): [#def358]
openssh-10.0p1/monitor_wrap.c:666:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp1’
openssh-10.0p1/monitor_wrap.c:659:21: acquire_resource: opened here
openssh-10.0p1/monitor_wrap.c:659:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.0p1/monitor_wrap.c:660:33: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:659:13: branch_false: following ‘false’ branch (when ‘tmp2 != -1’)...
openssh-10.0p1/monitor_wrap.c:666:9: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:666:9: danger: ‘tmp1’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
openssh-10.0p1/monitor_wrap.c:666:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp2’
openssh-10.0p1/monitor_wrap.c:659:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.0p1/monitor_wrap.c:660:33: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:660:21: acquire_resource: opened here
openssh-10.0p1/monitor_wrap.c:659:13: branch_false: following ‘false’ branch (when ‘tmp2 != -1’)...
openssh-10.0p1/monitor_wrap.c:666:9: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:666: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): [#def360]
openssh-10.0p1/monitor_wrap.c:667:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘tmp2’
openssh-10.0p1/monitor_wrap.c:659:12: branch_false: following ‘false’ branch (when ‘tmp1 != -1’)...
openssh-10.0p1/monitor_wrap.c:660:33: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:660:21: acquire_resource: opened here
openssh-10.0p1/monitor_wrap.c:659:13: branch_false: following ‘false’ branch (when ‘tmp2 != -1’)...
openssh-10.0p1/monitor_wrap.c:666:9: branch_false: ...to here
openssh-10.0p1/monitor_wrap.c:667:9: danger: ‘tmp2’ leaks here; was opened at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def361]
openssh-10.0p1/mux.c:2299:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/mux.c:2291:12: branch_false: following ‘false’ branch...
openssh-10.0p1/mux.c:2296:21: branch_false: ...to here
openssh-10.0p1/mux.c:2296:21: acquire_resource: stream socket created here
openssh-10.0p1/mux.c:2296:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/mux.c:2299:13: branch_false: ...to here
openssh-10.0p1/mux.c:2299:13: danger: ‘sock’ leaks here
Error: COMPILER_WARNING: [#def362]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c: scope_hint: In function ‘bcrypt_hash’
openssh-10.0p1/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): [#def363]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:84:9: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:85:9: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:87:17: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def366]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:88:17: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def367]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:94:28: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def368]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:97:17: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def369]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:140:9: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/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): [#def370]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:150:17: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.0p1/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): [#def371]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:157:25: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: return_function: returning to ‘bcrypt_pbkdf’ from ‘bcrypt_hash’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:155:29: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:157:25: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:157:25: danger: ‘countsalt’ leaks here; was allocated at [(8)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:177:9: warning[-Wanalyzer-malloc-leak]: leak of ‘countsalt’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:114:1: enter_function: entry to ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:127:12: branch_false: following ‘false’ branch (when ‘rounds != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:129:13: branch_false: following ‘false’ branch (when ‘saltlen <= 1048576’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:26: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:132:12: branch_false: following ‘false’ branch (when ‘countsalt’ is non-NULL)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:134:18: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_true: following ‘true’ branch (when ‘keylen != 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:144:42: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: call_function: calling ‘bcrypt_hash’ from ‘bcrypt_pbkdf’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:152:17: return_function: returning to ‘bcrypt_pbkdf’ from ‘bcrypt_hash’
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:143:25: branch_false: following ‘false’ branch (when ‘keylen == 0’)...
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:177:9: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bcrypt_pbkdf.c:177:9: danger: ‘countsalt’ leaks here; was allocated at [(8)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
openssh-10.0p1/openbsd-compat/bsd-closefrom.c:139:24: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(&fdpath)’
openssh-10.0p1/openbsd-compat/bsd-closefrom.c:132:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/bsd-closefrom.c:137:66: branch_false: ...to here
openssh-10.0p1/openbsd-compat/bsd-closefrom.c:138:8: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/bsd-closefrom.c:138:60: branch_true: ...to here
openssh-10.0p1/openbsd-compat/bsd-closefrom.c:138:60: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/bsd-closefrom.c:138:9: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/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: GCC_ANALYZER_WARNING (CWE-401): [#def374]
openssh-10.0p1/openbsd-compat/glob.c:741:22: warning[-Wanalyzer-malloc-leak]: leak of ‘g_opendir(pathbuf, pglob)’
openssh-10.0p1/openbsd-compat/glob.c:700:1: enter_function: entry to ‘glob3’
openssh-10.0p1/openbsd-compat/glob.c:717:12: branch_false: following ‘false’ branch (when ‘pathend <= pathend_last’)...
openssh-10.0p1/openbsd-compat/glob.c:719:9: branch_false: ...to here
openssh-10.0p1/openbsd-compat/glob.c:722:21: call_function: calling ‘g_opendir’ from ‘glob3’
openssh-10.0p1/openbsd-compat/glob.c:722:21: return_function: returning to ‘glob3’ from ‘g_opendir’
openssh-10.0p1/openbsd-compat/glob.c:722:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/glob.c:737:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/glob.c:741:22: danger: ‘g_opendir(pathbuf, pglob)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
openssh-10.0p1/openbsd-compat/glob.c:835:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pathv’
openssh-10.0p1/openbsd-compat/glob.c:810:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/glob.c:810:13: branch_false: following ‘false’ branch (when ‘newn <= 2305843009213693950’)...
openssh-10.0p1/openbsd-compat/glob.c:830:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/glob.c:830:17: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/glob.c:831:12: branch_false: following ‘false’ branch (when ‘pathv’ is non-NULL)...
openssh-10.0p1/openbsd-compat/glob.c:833:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/glob.c:833:12: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/glob.c:836:42: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.0p1/openbsd-compat/glob.c:837:25: branch_true: ...to here
openssh-10.0p1/openbsd-compat/glob.c:843:20: branch_false: following ‘false’ branch (when ‘statv’ is non-NULL)...
openssh-10.0p1/openbsd-compat/glob.c:845:21: branch_false: ...to here
openssh-10.0p1/openbsd-compat/glob.c:835:17: danger: ‘pathv’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def376]
openssh-10.0p1/openbsd-compat/glob.c:847:25: warning[-Wanalyzer-malloc-leak]: leak of ‘statv’
openssh-10.0p1/openbsd-compat/glob.c:810:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/glob.c:810:13: branch_false: following ‘false’ branch (when ‘newn <= 2305843009213693950’)...
openssh-10.0p1/openbsd-compat/glob.c:830:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/glob.c:831:12: branch_false: following ‘false’ branch (when ‘pathv’ is non-NULL)...
openssh-10.0p1/openbsd-compat/glob.c:833:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/glob.c:841:12: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/glob.c:842:38: branch_true: ...to here
openssh-10.0p1/openbsd-compat/glob.c:842:25: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/glob.c:843:20: branch_false: following ‘false’ branch (when ‘statv’ is non-NULL)...
openssh-10.0p1/openbsd-compat/glob.c:845:21: branch_false: ...to here
openssh-10.0p1/openbsd-compat/glob.c:845:20: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/glob.c:848:50: branch_true: following ‘true’ branch (when ‘i != 0’)...
openssh-10.0p1/openbsd-compat/glob.c:849:33: branch_true: ...to here
openssh-10.0p1/openbsd-compat/glob.c:852:20: branch_false: following ‘false’ branch (when ‘sb’ is non-NULL)...
openssh-10.0p1/openbsd-compat/glob.c:855:25: branch_false: ...to here
openssh-10.0p1/openbsd-compat/glob.c:856:28: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/glob.c:847:25: danger: ‘statv’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING (CWE-477): [#def377]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:68:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def378]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:68:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def379]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:69:24: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def380]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:69:24: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def381]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:115:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def382]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:115:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def383]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:142:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def384]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:142:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def385]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c: scope_hint: In function ‘get_user_context’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:180:17: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def386]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:180:17: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def387]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:181:17: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def388]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:181:17: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def389]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c: scope_hint: At top level
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:240:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def390]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:240:1: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def391]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:241:5: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def392]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:241:5: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def393]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c: scope_hint: In function ‘sshd_selinux_getctxbyname’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:272:25: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def394]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:272:25: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def395]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:293:33: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def396]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:293:33: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def397]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c: scope_hint: In function ‘sshd_selinux_setup_exec_context’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:386:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def398]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:386:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def399]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:388:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def400]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:388:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def401]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c: scope_hint: In function ‘sshd_selinux_copy_context’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:461:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def402]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:461:9: warning[-Wdeprecated-declarations]: ‘security_context_t’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-775): [#def403]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:497:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:497:17: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:497:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:497:17: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def405]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:515:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:511:20: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:514:17: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:515:23: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:515:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:511:20: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:514:17: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:515:23: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def407]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:517:31: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:517:31: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:517:31: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:517:31: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def409]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:520:31: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:520:31: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:520:31: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:520:31: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def411]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:522:33: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:522:33: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:522:33: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:522:33: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def413]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:526:43: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:521:28: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:526:43: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:526:43: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(selinux_openssh_contexts_path(), "r")’
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:485:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:30: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:490:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:496:32: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:495:13: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:503:16: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:505:28: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:521:28: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux-sshd.c:526:43: danger: ‘fopen(selinux_openssh_contexts_path(), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-1164): [#def415]
openssh-10.0p1/openbsd-compat/port-linux.c:68:1: warning[-Wunused-function]: ‘ssh_selinux_getctxbyname’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def416]
openssh-10.0p1/openbsd-compat/port-linux.c:286:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(oom_adj_path, "w")’
openssh-10.0p1/openbsd-compat/port-linux.c:281:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:282:19: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-linux.c:281:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:285:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:285:12: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:286:17: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:286:17: 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): [#def417]
openssh-10.0p1/openbsd-compat/port-linux.c:286:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(oom_adj_path, "w")’
openssh-10.0p1/openbsd-compat/port-linux.c:281:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:282:19: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/port-linux.c:281:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:285:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:285:12: branch_true: following ‘true’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:286:17: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:286:17: 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-775): [#def418]
openssh-10.0p1/openbsd-compat/port-linux.c:288:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(oom_adj_path, "w")’
openssh-10.0p1/openbsd-compat/port-linux.c:281:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:282:19: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-linux.c:281:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:285:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:285:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:288:17: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:288:17: danger: ‘fopen(oom_adj_path, "w")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
openssh-10.0p1/openbsd-compat/port-linux.c:288:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(oom_adj_path, "w")’
openssh-10.0p1/openbsd-compat/port-linux.c:281:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:282:19: acquire_memory: allocated here
openssh-10.0p1/openbsd-compat/port-linux.c:281:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:285:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:285:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:288:17: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:288:17: danger: ‘fopen(oom_adj_path, "w")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def420]
openssh-10.0p1/openbsd-compat/port-linux.c:327:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/openbsd-compat/port-linux.c:323:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:326:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/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): [#def421]
openssh-10.0p1/openbsd-compat/port-linux.c:355:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/openbsd-compat/port-linux.c:323:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:331:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:336:12: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:343:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:349:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:349:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-linux.c:351:19: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:351:19: acquire_resource: datagram socket created here
openssh-10.0p1/openbsd-compat/port-linux.c:351:12: branch_false: following ‘false’ branch (when ‘fd != -1’)...
openssh-10.0p1/openbsd-compat/port-linux.c:355:13: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-linux.c:355:13: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def422]
openssh-10.0p1/openbsd-compat/port-net.c:171:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/net/tun", 2)’
openssh-10.0p1/openbsd-compat/port-net.c:152:19: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-net.c:152:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-net.c:158:9: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-net.c:169:12: branch_true: following ‘true’ branch (when ‘tun != 2147483647’)...
openssh-10.0p1/openbsd-compat/port-net.c:170:20: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-net.c:170:20: branch_true: following ‘true’ branch (when ‘tun == 2147483646’)...
openssh-10.0p1/openbsd-compat/port-net.c:171:25: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-net.c:171:25: danger: ‘open("/dev/net/tun", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def423]
openssh-10.0p1/openbsd-compat/port-net.c:195:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/net/tun", 2)’
openssh-10.0p1/openbsd-compat/port-net.c:152:19: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/port-net.c:152:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/port-net.c:158:9: branch_false: ...to here
openssh-10.0p1/openbsd-compat/port-net.c:169:12: branch_true: following ‘true’ branch (when ‘tun != 2147483647’)...
openssh-10.0p1/openbsd-compat/port-net.c:170:20: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-net.c:170:20: branch_true: following ‘true’ branch (when ‘tun == 2147483646’)...
openssh-10.0p1/openbsd-compat/port-net.c:171:25: branch_true: ...to here
openssh-10.0p1/openbsd-compat/port-net.c:195:9: danger: ‘open("/dev/net/tun", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def424]
openssh-10.0p1/openbsd-compat/readpassphrase.c:94:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 2)’
openssh-10.0p1/openbsd-compat/readpassphrase.c:64:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
branch_false: ...to here
openssh-10.0p1/openbsd-compat/readpassphrase.c:70:21: branch_true: following ‘true’ branch (when ‘i != 65’)...
openssh-10.0p1/openbsd-compat/readpassphrase.c:71:17: branch_true: ...to here
openssh-10.0p1/openbsd-compat/readpassphrase.c:79:12: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/readpassphrase.c:80:31: branch_false: ...to here
openssh-10.0p1/openbsd-compat/readpassphrase.c:80:31: acquire_resource: opened here
openssh-10.0p1/openbsd-compat/readpassphrase.c:79:13: branch_false: following ‘false’ branch...
openssh-10.0p1/openbsd-compat/readpassphrase.c:94:12: branch_false: ...to here
openssh-10.0p1/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: [#def425]
openssh-10.0p1/openbsd-compat/vis.c: scope_hint: In function ‘stravis’
openssh-10.0p1/openbsd-compat/vis.c:229:23: warning[-Wuse-after-free]: pointer ‘buf_15’ may be used after ‘realloc’
openssh-10.0p1/openbsd-compat/vis.c:227:17: note: call to ‘realloc’ here
Error: GCC_ANALYZER_WARNING (CWE-404): [#def426]
openssh-10.0p1/packet.c:531:46: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/packet.c:2061:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.0p1/packet.c:2065:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/packet.c:2066:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def427]
openssh-10.0p1/packet.c:532:44: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/packet.c:2061:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.0p1/packet.c:2065:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/packet.c:2066:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def428]
openssh-10.0p1/packet.c:533:45: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/packet.c:2061:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.0p1/packet.c:2065:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/packet.c:2066:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def429]
openssh-10.0p1/packet.c:534:43: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/packet.c:2061:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.0p1/packet.c:2065:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/packet.c:2066:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def430]
openssh-10.0p1/packet.c:536:46: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/packet.c:2061:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.0p1/packet.c:2065:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/packet.c:2066:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def431]
openssh-10.0p1/packet.c:538:45: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/packet.c:2061:1: enter_function: entry to ‘sshpkt_fatal’
openssh-10.0p1/packet.c:2065:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/packet.c:2066:9: call_function: calling ‘sshpkt_vfatal’ from ‘sshpkt_fatal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
openssh-10.0p1/packet.c:2536:18: warning[-Wanalyzer-malloc-leak]: leak of ‘newkey’
openssh-10.0p1/packet.c:2532:23: acquire_memory: allocated here
openssh-10.0p1/packet.c:2532:12: branch_false: following ‘false’ branch (when ‘newkey’ is non-NULL)...
openssh-10.0p1/packet.c:2536:18: branch_false: ...to here
openssh-10.0p1/packet.c:2536: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): [#def433]
openssh-10.0p1/packet.c:2545:18: warning[-Wanalyzer-malloc-leak]: leak of ‘newkey’
openssh-10.0p1/packet.c:2532:23: acquire_memory: allocated here
openssh-10.0p1/packet.c:2532:12: branch_false: following ‘false’ branch (when ‘newkey’ is non-NULL)...
openssh-10.0p1/packet.c:2536:18: branch_false: ...to here
openssh-10.0p1/packet.c:2536:12: branch_false: following ‘false’ branch...
openssh-10.0p1/packet.c:2542:9: branch_false: ...to here
openssh-10.0p1/packet.c:2545: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): [#def434]
openssh-10.0p1/readconf.c:814:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg’
openssh-10.0p1/readconf.c:2613:1: enter_function: entry to ‘read_config_file_depth’
openssh-10.0p1/readconf.c:2618:15: release_memory: ‘line’ is NULL
openssh-10.0p1/readconf.c:2623:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2626:18: branch_false: ...to here
openssh-10.0p1/readconf.c:2626:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2629:13: branch_false: ...to here
openssh-10.0p1/readconf.c:2646:16: branch_true: following ‘true’ branch...
openssh-10.0p1/readconf.c:2648:17: branch_true: ...to here
openssh-10.0p1/readconf.c:2654:21: call_function: calling ‘process_config_line_depth’ from ‘read_config_file_depth’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def435]
openssh-10.0p1/readconf.c:2629:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
openssh-10.0p1/readconf.c:2623:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2626:18: branch_false: ...to here
openssh-10.0p1/readconf.c:2626:18: acquire_resource: opened here
openssh-10.0p1/readconf.c:2626:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2629:13: branch_false: ...to here
openssh-10.0p1/readconf.c:2629:12: branch_true: following ‘true’ branch...
openssh-10.0p1/readconf.c:2632:21: branch_true: ...to here
openssh-10.0p1/readconf.c:2629:13: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
openssh-10.0p1/readconf.c:2629:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
openssh-10.0p1/readconf.c:2623:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2626:18: branch_false: ...to here
openssh-10.0p1/readconf.c:2626:18: acquire_memory: allocated here
openssh-10.0p1/readconf.c:2626:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2629:13: branch_false: ...to here
openssh-10.0p1/readconf.c:2629:12: branch_true: following ‘true’ branch...
openssh-10.0p1/readconf.c:2632:21: branch_true: ...to here
openssh-10.0p1/readconf.c:2629:13: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def437]
openssh-10.0p1/readconf.c:2639:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
openssh-10.0p1/readconf.c:2623:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2626:18: branch_false: ...to here
openssh-10.0p1/readconf.c:2626:18: acquire_resource: opened here
openssh-10.0p1/readconf.c:2626:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2629:13: branch_false: ...to here
openssh-10.0p1/readconf.c:2639:9: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
openssh-10.0p1/readconf.c:2639:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
openssh-10.0p1/readconf.c:2623:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2626:18: branch_false: ...to here
openssh-10.0p1/readconf.c:2626:18: acquire_memory: allocated here
openssh-10.0p1/readconf.c:2626:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readconf.c:2629:13: branch_false: ...to here
openssh-10.0p1/readconf.c:2639:9: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def439]
openssh-10.0p1/readpass.c:68:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:68:20: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def440]
openssh-10.0p1/readpass.c:68:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:68:20: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def441]
openssh-10.0p1/readpass.c:70:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/readpass.c:70:17: branch_true: ...to here
openssh-10.0p1/readpass.c:70:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def442]
openssh-10.0p1/readpass.c:70:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/readpass.c:70:17: branch_true: ...to here
openssh-10.0p1/readpass.c:70:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def443]
openssh-10.0p1/readpass.c:71:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/readpass.c:70:17: branch_true: ...to here
openssh-10.0p1/readpass.c:71:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def444]
openssh-10.0p1/readpass.c:71:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/readpass.c:70:17: branch_true: ...to here
openssh-10.0p1/readpass.c:71:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def445]
openssh-10.0p1/readpass.c:75:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/readpass.c:74:12: branch_false: ...to here
openssh-10.0p1/readpass.c:74:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/readpass.c:75:17: branch_true: ...to here
openssh-10.0p1/readpass.c:75:17: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def446]
openssh-10.0p1/readpass.c:75:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/readpass.c:74:12: branch_false: ...to here
openssh-10.0p1/readpass.c:74:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/readpass.c:75:17: branch_true: ...to here
openssh-10.0p1/readpass.c:75:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def447]
openssh-10.0p1/readpass.c:76:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(p[1], 1)’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/readpass.c:74:12: branch_false: ...to here
openssh-10.0p1/readpass.c:74:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/readpass.c:75:17: branch_true: ...to here
openssh-10.0p1/readpass.c:76:21: acquire_resource: opened here
openssh-10.0p1/readpass.c:76: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): [#def448]
openssh-10.0p1/readpass.c:77:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/readpass.c:74:12: branch_false: ...to here
openssh-10.0p1/readpass.c:74:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/readpass.c:75:17: branch_true: ...to here
openssh-10.0p1/readpass.c:76:20: branch_true: following ‘true’ branch...
openssh-10.0p1/readpass.c:77:25: branch_true: ...to here
openssh-10.0p1/readpass.c:77:25: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def449]
openssh-10.0p1/readpass.c:81:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/readpass.c:74:12: branch_false: ...to here
openssh-10.0p1/readpass.c:74:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/readpass.c:75:17: branch_true: ...to here
openssh-10.0p1/readpass.c:76:20: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:78:20: branch_false: ...to here
openssh-10.0p1/readpass.c:81:17: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def450]
openssh-10.0p1/readpass.c:83:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/readpass.c:74:12: branch_false: ...to here
openssh-10.0p1/readpass.c:74:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/readpass.c:83:9: branch_false: ...to here
openssh-10.0p1/readpass.c:83:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def451]
openssh-10.0p1/readpass.c:83:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/readpass.c:74:12: branch_false: ...to here
openssh-10.0p1/readpass.c:74:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/readpass.c:83:9: branch_false: ...to here
openssh-10.0p1/readpass.c:83:9: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def452]
openssh-10.0p1/readpass.c:97:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
openssh-10.0p1/readpass.c:62:12: branch_false: following ‘false’ branch (when ‘askpass’ is non-NULL)...
openssh-10.0p1/readpass.c:64:13: branch_false: ...to here
openssh-10.0p1/readpass.c:64:12: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:68:20: branch_false: ...to here
openssh-10.0p1/readpass.c:69:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/readpass.c:74:12: branch_false: ...to here
openssh-10.0p1/readpass.c:74:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/readpass.c:83:9: branch_false: ...to here
openssh-10.0p1/readpass.c:97:9: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def453]
openssh-10.0p1/readpass.c:163:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 2)’
openssh-10.0p1/readpass.c:146:17: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:148:18: branch_false: ...to here
openssh-10.0p1/readpass.c:148:17: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:154:17: branch_false: ...to here
openssh-10.0p1/readpass.c:155:25: acquire_resource: opened here
openssh-10.0p1/readpass.c:156:20: branch_true: following ‘true’ branch...
openssh-10.0p1/readpass.c:163:31: branch_true: ...to here
openssh-10.0p1/readpass.c:163: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): [#def454]
openssh-10.0p1/readpass.c:164:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 2)’
openssh-10.0p1/readpass.c:146:17: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:148:18: branch_false: ...to here
openssh-10.0p1/readpass.c:148:17: branch_false: following ‘false’ branch...
openssh-10.0p1/readpass.c:154:17: branch_false: ...to here
openssh-10.0p1/readpass.c:155:25: acquire_resource: opened here
openssh-10.0p1/readpass.c:156:20: branch_true: following ‘true’ branch...
openssh-10.0p1/readpass.c:163:31: branch_true: ...to here
openssh-10.0p1/readpass.c:164: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): [#def455]
openssh-10.0p1/readpass.c:250:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/readpass.c:249:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/readpass.c:250: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): [#def456]
openssh-10.0p1/readpass.c:314:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/readpass.c:308:12: branch_true: following ‘true’ branch...
openssh-10.0p1/readpass.c:313:17: acquire_resource: ‘va_start’ called here
openssh-10.0p1/readpass.c:314: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): [#def457]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:107:20: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:234:1: enter_function: entry to ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:257:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:111:13: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:234:1: enter_function: entry to ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:257:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:115:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:234:1: enter_function: entry to ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:257:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:116:20: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:234:1: enter_function: entry to ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:257:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:117:18: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:234:1: enter_function: entry to ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:257:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:118:18: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:234:1: enter_function: entry to ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:257:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:122:36: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:234:1: enter_function: entry to ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:257:21: call_function: calling ‘pack_key_ecdsa’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:192:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:234:1: enter_function: entry to ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:261:21: call_function: calling ‘pack_key_ed25519’ from ‘sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:255:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:255:9: danger: ‘response’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def466]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:280:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘*response.public_key’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:234:1: enter_function: entry to ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:243:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:247:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:248:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:250:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:254:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:261:21: call_function: calling ‘pack_key_ed25519’ from ‘sk_enroll’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:261:21: return_function: returning to ‘sk_enroll’ from ‘pack_key_ed25519’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:261:20: branch_true: following ‘true’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:262:25: branch_true: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:280:17: danger: second ‘free’ here; first ‘free’ was at [(18)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:326:20: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:510:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:327:13: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:510:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:331:19: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:510:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:336:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:510:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def471]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:339:19: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:510:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def472]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:350:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:510:21: call_function: calling ‘sig_ecdsa’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def473]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:429:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:516:21: call_function: calling ‘sig_ed25519’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:430:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:516:21: call_function: calling ‘sig_ed25519’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def475]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:431:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:516:21: call_function: calling ‘sig_ed25519’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def476]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:451:13: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:482:1: enter_function: entry to ‘sk_sign’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:516:21: call_function: calling ‘sig_ed25519’ from ‘sk_sign’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: danger: ‘response’ leaks here; was allocated at [(5)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:504:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:504:9: danger: ‘response’ leaks here; was allocated at [(5)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:505:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:505:9: danger: ‘response’ leaks here; was allocated at [(5)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:523:24: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:492:12: branch_false: following ‘false’ branch (when ‘sign_response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:496:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:497:12: branch_false: following ‘false’ branch...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:25: acquire_memory: allocated here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:499:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:503:9: branch_false: ...to here
openssh-10.0p1/regress/misc/sk-dummy/sk-dummy.c:523:24: danger: ‘response’ leaks here; was allocated at [(5)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
openssh-10.0p1/scp.c:1004:21: warning[-Wanalyzer-malloc-leak]: leak of ‘active’
openssh-10.0p1/scp.c:1675:1: enter_function: entry to ‘sink’
openssh-10.0p1/scp.c:1703:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
openssh-10.0p1/scp.c:1707:9: branch_false: ...to here
openssh-10.0p1/scp.c:1708:12: branch_false: following ‘false’ branch...
openssh-10.0p1/scp.c:1711:9: branch_false: ...to here
openssh-10.0p1/scp.c:1714:12: branch_true: following ‘true’ branch...
openssh-10.0p1/scp.c:1719:21: call_function: calling ‘brace_expand’ from ‘sink’
Error: COMPILER_WARNING: [#def482]
openssh-10.0p1/scp.c: scope_hint: In function ‘rsource’
openssh-10.0p1/scp.c:1556: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): [#def483]
openssh-10.0p1/scp.c:2162:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/scp.c:2150:12: branch_false: following ‘false’ branch...
openssh-10.0p1/scp.c:2160:12: branch_true: following ‘true’ branch...
openssh-10.0p1/scp.c:2161:17: branch_true: ...to here
openssh-10.0p1/scp.c:2161:17: acquire_resource: ‘va_start’ called here
openssh-10.0p1/scp.c:2162: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): [#def484]
openssh-10.0p1/scp.c:2195:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/scp.c:2180:12: branch_false: following ‘false’ branch (when ‘fmt’ is non-NULL)...
openssh-10.0p1/scp.c:2189:9: branch_false: ...to here
openssh-10.0p1/scp.c:2191:12: branch_false: following ‘false’ branch...
openssh-10.0p1/scp.c:2194:9: branch_false: ...to here
openssh-10.0p1/scp.c:2194:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/scp.c:2195: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: GCC_ANALYZER_WARNING (CWE-401): [#def485]
openssh-10.0p1/sftp-glob.c:155:24: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
openssh-10.0p1/sftp-glob.c:137:1: enter_function: entry to ‘sftp_glob’
openssh-10.0p1/sftp-glob.c:154:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp-glob.c:167:13: branch_false: ...to here
openssh-10.0p1/sftp-glob.c:167:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp-glob.c:168:13: branch_true: ...to here
openssh-10.0p1/sftp-glob.c:167:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp-glob.c:168:38: branch_true: ...to here
openssh-10.0p1/sftp-glob.c:167:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp-glob.c:169:13: branch_true: ...to here
openssh-10.0p1/sftp-glob.c:167:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp-glob.c:169:42: branch_true: ...to here
openssh-10.0p1/sftp-glob.c:167:13: branch_true: following ‘true’ branch (when ‘s’ is non-NULL)...
openssh-10.0p1/sftp-glob.c:170:18: branch_true: ...to here
openssh-10.0p1/sftp-glob.c:167:13: branch_true: following ‘true’ branch (when ‘l != 0’)...
openssh-10.0p1/sftp-glob.c:170:38: branch_true: ...to here
openssh-10.0p1/sftp-glob.c:167:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp-glob.c:171:21: branch_true: ...to here
openssh-10.0p1/sftp-glob.c:171:21: call_function: calling ‘fudge_stat’ from ‘sftp_glob’
openssh-10.0p1/sftp-glob.c:171:21: return_function: returning to ‘sftp_glob’ from ‘fudge_stat’
openssh-10.0p1/sftp-glob.c:171:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp-glob.c:173:28: branch_true: following ‘true’ branch (when ‘s’ is non-NULL)...
openssh-10.0p1/sftp-glob.c:174:40: branch_true: ...to here
openssh-10.0p1/sftp-glob.c:155:24: danger: ‘s’ leaks here; was allocated at [(25)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/24)
Error: CPPCHECK_WARNING (CWE-401): [#def486]
openssh-10.0p1/sftp-glob.c:173: error[memleakOnRealloc]: Common realloc mistake: 's' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def487]
openssh-10.0p1/sftp-server.c:833: error[memleakOnRealloc]: Common realloc mistake: 'buf' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-688): [#def488]
openssh-10.0p1/sftp.c:1497:27: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
openssh-10.0p1/sftp.c:2208:1: enter_function: entry to ‘interactive_loop’
openssh-10.0p1/sftp.c:2252:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2254:20: branch_false: ...to here
openssh-10.0p1/sftp.c:2256:12: branch_false: following ‘false’ branch (when ‘file1’ is NULL)...
openssh-10.0p1/sftp.c:2289:9: branch_false: ...to here
openssh-10.0p1/sftp.c:2300:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2305:20: branch_false: ...to here
openssh-10.0p1/sftp.c:2305:20: branch_true: following ‘true’ branch (when ‘el’ is NULL)...
openssh-10.0p1/sftp.c:2306:28: branch_true: ...to here
openssh-10.0p1/sftp.c:2343:23: call_function: calling ‘parse_dispatch_command’ from ‘interactive_loop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def489]
openssh-10.0p1/sftp.c:2168:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.0p1/sftp.c:2137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2141:18: branch_false: ...to here
openssh-10.0p1/sftp.c:2162:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2166:19: branch_false: ...to here
openssh-10.0p1/sftp.c:2166:19: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp.c:2168:21: danger: dereference of NULL ‘makeargv(xmalloc((long unsigned int)(len + 1)), &argc, 1, 0, 0)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def490]
openssh-10.0p1/sftp.c:2193:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.0p1/sftp.c:2137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2141:18: branch_false: ...to here
openssh-10.0p1/sftp.c:2162:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2166:19: branch_false: ...to here
openssh-10.0p1/sftp.c:2171:19: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp.c:2177:20: branch_true: ...to here
openssh-10.0p1/sftp.c:2180:29: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2190:26: branch_false: ...to here
openssh-10.0p1/sftp.c:2193:26: danger: dereference of NULL ‘makeargv(xmalloc((long unsigned int)(len + 1)), &argc, 1, 0, 0)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def491]
openssh-10.0p1/sftp.c:2387:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(c_out, 0)’
openssh-10.0p1/sftp.c:2378:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2380:22: branch_false: ...to here
openssh-10.0p1/sftp.c:2384:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2386:18: branch_false: ...to here
openssh-10.0p1/sftp.c:2386:17: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp.c:2387:22: branch_true: ...to here
openssh-10.0p1/sftp.c:2387:22: acquire_resource: opened here
openssh-10.0p1/sftp.c:2387:20: danger: ‘dup2(c_out, 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def492]
openssh-10.0p1/sftp.c:2387:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(c_out, 1)’
openssh-10.0p1/sftp.c:2378:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2380:22: branch_false: ...to here
openssh-10.0p1/sftp.c:2384:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2386:18: branch_false: ...to here
openssh-10.0p1/sftp.c:2386:17: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp.c:2387:22: branch_true: ...to here
openssh-10.0p1/sftp.c:2387:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2388:22: branch_false: ...to here
openssh-10.0p1/sftp.c:2388:22: acquire_resource: opened here
openssh-10.0p1/sftp.c:2387:21: danger: ‘dup2(c_out, 1)’ leaks here; was opened at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def493]
openssh-10.0p1/sftp.c:2393:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘in’
openssh-10.0p1/sftp.c:2438:1: enter_function: entry to ‘main’
openssh-10.0p1/sftp.c:2471:16: branch_true: following ‘true’ branch (when ‘ch != -1’)...
openssh-10.0p1/sftp.c:2473:17: branch_true: ...to here
openssh-10.0p1/sftp.c:2471:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
openssh-10.0p1/sftp.c:2601:9: branch_false: ...to here
openssh-10.0p1/sftp.c:2603:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2606:12: branch_false: ...to here
openssh-10.0p1/sftp.c:2611:12: branch_false: following ‘false’ branch (when ‘sftp_direct’ is non-NULL)...
openssh-10.0p1/sftp.c:2663:26: branch_false: ...to here
openssh-10.0p1/sftp.c:2663:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2665:21: branch_false: ...to here
openssh-10.0p1/sftp.c:2665:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2667:17: branch_false: ...to here
openssh-10.0p1/sftp.c:2667:17: call_function: calling ‘connect_to_server’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def494]
openssh-10.0p1/sftp.c:2395:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘c_out’
openssh-10.0p1/sftp.c:2378:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2380:22: branch_false: ...to here
openssh-10.0p1/sftp.c:2384:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2386:18: branch_false: ...to here
openssh-10.0p1/sftp.c:2386:17: branch_true: following ‘true’ branch...
openssh-10.0p1/sftp.c:2387:22: branch_true: ...to here
openssh-10.0p1/sftp.c:2387:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2388:22: branch_false: ...to here
openssh-10.0p1/sftp.c:2387:21: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2392:17: branch_false: ...to here
openssh-10.0p1/sftp.c:2394:17: release_resource: first ‘close’ here
openssh-10.0p1/sftp.c:2395:17: danger: second ‘close’ here; first ‘close’ was at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def495]
openssh-10.0p1/sftp.c:2419:9: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘c_out’
openssh-10.0p1/sftp.c:2378:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2380:22: branch_false: ...to here
openssh-10.0p1/sftp.c:2384:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2386:18: branch_false: ...to here
openssh-10.0p1/sftp.c:2386:17: branch_false: following ‘false’ branch...
openssh-10.0p1/sftp.c:2411:9: branch_false: ...to here
openssh-10.0p1/sftp.c:2418:9: release_resource: first ‘close’ here
openssh-10.0p1/sftp.c:2419:9: danger: second ‘close’ here; first ‘close’ was at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def496]
openssh-10.0p1/sk-usbhid.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/sk-usbhid.c:173:1: enter_function: entry to ‘sk_open’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:25: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:186:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:191:24: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:191:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:192:17: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:192:17: call_function: calling ‘skdebug’ from ‘sk_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
openssh-10.0p1/sk-usbhid.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
openssh-10.0p1/sk-usbhid.c:834:1: enter_function: entry to ‘ssh_sk_enroll’
openssh-10.0p1/sk-usbhid.c:852:12: branch_false: following ‘false’ branch (when ‘enroll_response’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:856:9: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:858:13: call_function: calling ‘check_enroll_options’ from ‘ssh_sk_enroll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
openssh-10.0p1/sk-usbhid.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.0p1/sk-usbhid.c:221:1: enter_function: entry to ‘sk_openv’
openssh-10.0p1/sk-usbhid.c:228:20: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:228:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:232:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.0p1/sk-usbhid.c:233:27: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:233:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:234:25: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:234:25: call_function: calling ‘skdebug’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
openssh-10.0p1/sk-usbhid.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.0p1/sk-usbhid.c:173:1: enter_function: entry to ‘sk_open’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:19: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:187:17: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:187:17: call_function: calling ‘skdebug’ from ‘sk_open’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def500]
openssh-10.0p1/sk-usbhid.c:148:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/sk-usbhid.c:147:9: acquire_resource: ‘va_start’ called here
openssh-10.0p1/sk-usbhid.c:148:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
openssh-10.0p1/sk-usbhid.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/sk-usbhid.c:173:1: enter_function: entry to ‘sk_open’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:25: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:186:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:191:24: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:191:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:192:17: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:192:17: call_function: calling ‘skdebug’ from ‘sk_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
openssh-10.0p1/sk-usbhid.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.0p1/sk-usbhid.c:221:1: enter_function: entry to ‘sk_openv’
openssh-10.0p1/sk-usbhid.c:228:20: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:228:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:232:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.0p1/sk-usbhid.c:233:27: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:233:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:234:25: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:234:25: call_function: calling ‘skdebug’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
openssh-10.0p1/sk-usbhid.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.0p1/sk-usbhid.c:173:1: enter_function: entry to ‘sk_open’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:19: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:187:17: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:187:17: call_function: calling ‘skdebug’ from ‘sk_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
openssh-10.0p1/sk-usbhid.c:191:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:25: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:186:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:191:24: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:191: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): [#def505]
openssh-10.0p1/sk-usbhid.c:191:24: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.0p1/sk-usbhid.c:221:1: enter_function: entry to ‘sk_openv’
openssh-10.0p1/sk-usbhid.c:228:20: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:228:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:232:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.0p1/sk-usbhid.c:233:27: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:233:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:235:41: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:235:41: call_function: calling ‘sk_open’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
openssh-10.0p1/sk-usbhid.c:191:24: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:19: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:191:24: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:191: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): [#def507]
openssh-10.0p1/sk-usbhid.c:197:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:25: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:186:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:191:24: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:191:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:197:41: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:197:18: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
openssh-10.0p1/sk-usbhid.c:197:18: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.0p1/sk-usbhid.c:221:1: enter_function: entry to ‘sk_openv’
openssh-10.0p1/sk-usbhid.c:228:20: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:228:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:232:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.0p1/sk-usbhid.c:233:27: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:233:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:235:41: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:235:41: call_function: calling ‘sk_open’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
openssh-10.0p1/sk-usbhid.c:197:18: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:19: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:191:24: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:191:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:197:41: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:197: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): [#def510]
openssh-10.0p1/sk-usbhid.c:198:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:25: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:186:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:191:24: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:191:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:197:41: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:197:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:198:17: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:198: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): [#def511]
openssh-10.0p1/sk-usbhid.c:198:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:19: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:191:24: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:191:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:197:41: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:197:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:198:17: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:198: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): [#def512]
openssh-10.0p1/sk-usbhid.c:200:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sk’
openssh-10.0p1/sk-usbhid.c:178:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:182:19: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:182:19: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:182:12: branch_false: following ‘false’ branch (when ‘sk’ is non-NULL)...
openssh-10.0p1/sk-usbhid.c:186:25: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:186:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:191:24: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:191:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:197:41: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:197:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:198:17: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:200: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): [#def513]
openssh-10.0p1/sk-usbhid.c:213:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.0p1/sk-usbhid.c:221:1: enter_function: entry to ‘sk_openv’
openssh-10.0p1/sk-usbhid.c:228:20: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:228:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:233:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:234:25: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:240:12: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:241:29: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.0p1/sk-usbhid.c:242:37: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:242:25: call_function: inlined call to ‘sk_close’ from ‘sk_openv’
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:242:25: call_function: inlined call to ‘sk_close’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def514]
openssh-10.0p1/sk-usbhid.c:214:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.0p1/sk-usbhid.c:221:1: enter_function: entry to ‘sk_openv’
openssh-10.0p1/sk-usbhid.c:228:20: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:228:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:233:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:234:25: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:240:12: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:241:29: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.0p1/sk-usbhid.c:242:37: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:242:25: call_function: inlined call to ‘sk_close’ from ‘sk_openv’
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:242:25: call_function: inlined call to ‘sk_close’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
openssh-10.0p1/sk-usbhid.c:215:9: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.0p1/sk-usbhid.c:221:1: enter_function: entry to ‘sk_openv’
openssh-10.0p1/sk-usbhid.c:228:20: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:228:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:233:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sk-usbhid.c:234:25: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:240:12: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:241:29: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.0p1/sk-usbhid.c:242:37: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:242:25: call_function: inlined call to ‘sk_close’ from ‘sk_openv’
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:242:25: call_function: inlined call to ‘sk_close’ from ‘sk_openv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
openssh-10.0p1/sk-usbhid.c:233:27: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.0p1/sk-usbhid.c:228:20: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:228:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:232:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.0p1/sk-usbhid.c:233:27: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:233: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): [#def517]
openssh-10.0p1/sk-usbhid.c:235:41: warning[-Wanalyzer-malloc-leak]: leak of ‘skv’
openssh-10.0p1/sk-usbhid.c:228:20: acquire_memory: allocated here
openssh-10.0p1/sk-usbhid.c:228:12: branch_false: following ‘false’ branch (when ‘skv’ is non-NULL)...
branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:232:21: branch_true: following ‘true’ branch (when ‘i < ndevs’)...
openssh-10.0p1/sk-usbhid.c:233:27: branch_true: ...to here
openssh-10.0p1/sk-usbhid.c:233:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sk-usbhid.c:235:41: branch_false: ...to here
openssh-10.0p1/sk-usbhid.c:235: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): [#def518]
openssh-10.0p1/ssh-add.c:271:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pin’
openssh-10.0p1/ssh-add.c:848:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-add.c:903:25: call_function: calling ‘stringlist_append’ from ‘main’
openssh-10.0p1/ssh-add.c:903:25: return_function: returning to ‘main’ from ‘stringlist_append’
openssh-10.0p1/ssh-add.c:889:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
openssh-10.0p1/ssh-add.c:984:9: branch_false: ...to here
openssh-10.0p1/ssh-add.c:986:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-add.c:988:17: branch_false: ...to here
openssh-10.0p1/ssh-add.c:988:17: branch_false: following ‘false’ branch (when ‘xflag == 0’)...
openssh-10.0p1/ssh-add.c:992:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:992:19: branch_false: following ‘false’ branch (when ‘lflag == 0’)...
openssh-10.0p1/ssh-add.c:996:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:996:19: branch_false: following ‘false’ branch (when ‘Dflag == 0’)...
openssh-10.0p1/ssh-add.c:1003:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1023:12: branch_false: following ‘false’ branch (when ‘Tflag == 0’)...
openssh-10.0p1/ssh-add.c:1031:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1031:12: branch_false: following ‘false’ branch (when ‘pkcs11provider’ is NULL)...
openssh-10.0p1/ssh-add.c:1048:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1048:12: branch_false: following ‘false’ branch (when ‘do_download == 0’)...
openssh-10.0p1/ssh-add.c:1056:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1056:12: branch_false: following ‘false’ branch (when ‘argc != 0’)...
branch_false: ...to here
openssh-10.0p1/ssh-add.c:1084:29: branch_true: following ‘true’ branch (when ‘i < argc’)...
openssh-10.0p1/ssh-add.c:1085:29: branch_true: ...to here
openssh-10.0p1/ssh-add.c:1085:29: call_function: calling ‘do_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def519]
openssh-10.0p1/ssh-add.c:305:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
openssh-10.0p1/ssh-add.c:848:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-add.c:903:25: call_function: calling ‘stringlist_append’ from ‘main’
openssh-10.0p1/ssh-add.c:903:25: return_function: returning to ‘main’ from ‘stringlist_append’
openssh-10.0p1/ssh-add.c:889:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
openssh-10.0p1/ssh-add.c:984:9: branch_false: ...to here
openssh-10.0p1/ssh-add.c:986:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-add.c:988:17: branch_false: ...to here
openssh-10.0p1/ssh-add.c:988:17: branch_false: following ‘false’ branch (when ‘xflag == 0’)...
openssh-10.0p1/ssh-add.c:992:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:992:19: branch_false: following ‘false’ branch (when ‘lflag == 0’)...
openssh-10.0p1/ssh-add.c:996:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:996:19: branch_false: following ‘false’ branch (when ‘Dflag == 0’)...
openssh-10.0p1/ssh-add.c:1003:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1023:12: branch_false: following ‘false’ branch (when ‘Tflag == 0’)...
openssh-10.0p1/ssh-add.c:1031:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1031:12: branch_false: following ‘false’ branch (when ‘pkcs11provider’ is NULL)...
openssh-10.0p1/ssh-add.c:1048:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1048:12: branch_false: following ‘false’ branch (when ‘do_download == 0’)...
openssh-10.0p1/ssh-add.c:1056:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1056:12: branch_false: following ‘false’ branch (when ‘argc != 0’)...
branch_false: ...to here
openssh-10.0p1/ssh-add.c:1084:29: branch_true: following ‘true’ branch (when ‘i < argc’)...
openssh-10.0p1/ssh-add.c:1085:29: branch_true: ...to here
openssh-10.0p1/ssh-add.c:1085:29: call_function: calling ‘do_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def520]
openssh-10.0p1/ssh-add.c:306:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
openssh-10.0p1/ssh-add.c:848:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-add.c:903:25: call_function: calling ‘stringlist_append’ from ‘main’
openssh-10.0p1/ssh-add.c:903:25: return_function: returning to ‘main’ from ‘stringlist_append’
openssh-10.0p1/ssh-add.c:889:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
openssh-10.0p1/ssh-add.c:984:9: branch_false: ...to here
openssh-10.0p1/ssh-add.c:986:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-add.c:988:17: branch_false: ...to here
openssh-10.0p1/ssh-add.c:988:17: branch_false: following ‘false’ branch (when ‘xflag == 0’)...
openssh-10.0p1/ssh-add.c:992:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:992:19: branch_false: following ‘false’ branch (when ‘lflag == 0’)...
openssh-10.0p1/ssh-add.c:996:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:996:19: branch_false: following ‘false’ branch (when ‘Dflag == 0’)...
openssh-10.0p1/ssh-add.c:1003:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1023:12: branch_false: following ‘false’ branch (when ‘Tflag == 0’)...
openssh-10.0p1/ssh-add.c:1031:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1031:12: branch_false: following ‘false’ branch (when ‘pkcs11provider’ is NULL)...
openssh-10.0p1/ssh-add.c:1048:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1048:12: branch_false: following ‘false’ branch (when ‘do_download == 0’)...
openssh-10.0p1/ssh-add.c:1056:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1056:12: branch_false: following ‘false’ branch (when ‘argc != 0’)...
branch_false: ...to here
openssh-10.0p1/ssh-add.c:1084:29: branch_true: following ‘true’ branch (when ‘i < argc’)...
openssh-10.0p1/ssh-add.c:1085:29: branch_true: ...to here
openssh-10.0p1/ssh-add.c:1085:29: call_function: calling ‘do_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
openssh-10.0p1/ssh-add.c:511:18: warning[-Wanalyzer-malloc-leak]: leak of ‘pin’
openssh-10.0p1/ssh-add.c:848:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-add.c:903:25: call_function: calling ‘stringlist_append’ from ‘main’
openssh-10.0p1/ssh-add.c:903:25: return_function: returning to ‘main’ from ‘stringlist_append’
openssh-10.0p1/ssh-add.c:889:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
openssh-10.0p1/ssh-add.c:984:9: branch_false: ...to here
openssh-10.0p1/ssh-add.c:986:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-add.c:988:17: branch_false: ...to here
openssh-10.0p1/ssh-add.c:988:17: branch_false: following ‘false’ branch (when ‘xflag == 0’)...
openssh-10.0p1/ssh-add.c:992:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:992:19: branch_false: following ‘false’ branch (when ‘lflag == 0’)...
openssh-10.0p1/ssh-add.c:996:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:996:19: branch_false: following ‘false’ branch (when ‘Dflag == 0’)...
openssh-10.0p1/ssh-add.c:1003:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1023:12: branch_false: following ‘false’ branch (when ‘Tflag == 0’)...
openssh-10.0p1/ssh-add.c:1031:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1031:12: branch_false: following ‘false’ branch (when ‘pkcs11provider’ is NULL)...
openssh-10.0p1/ssh-add.c:1048:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1048:12: branch_false: following ‘false’ branch (when ‘do_download == 0’)...
openssh-10.0p1/ssh-add.c:1056:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1056:12: branch_false: following ‘false’ branch (when ‘argc != 0’)...
branch_false: ...to here
openssh-10.0p1/ssh-add.c:1084:29: branch_true: following ‘true’ branch (when ‘i < argc’)...
openssh-10.0p1/ssh-add.c:1085:29: branch_true: ...to here
openssh-10.0p1/ssh-add.c:1085:29: call_function: calling ‘do_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
openssh-10.0p1/ssh-add.c:520:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pin’
openssh-10.0p1/ssh-add.c:848:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-add.c:903:25: call_function: calling ‘stringlist_append’ from ‘main’
openssh-10.0p1/ssh-add.c:903:25: return_function: returning to ‘main’ from ‘stringlist_append’
openssh-10.0p1/ssh-add.c:889:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
openssh-10.0p1/ssh-add.c:984:9: branch_false: ...to here
openssh-10.0p1/ssh-add.c:986:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-add.c:988:17: branch_false: ...to here
openssh-10.0p1/ssh-add.c:988:17: branch_false: following ‘false’ branch (when ‘xflag == 0’)...
openssh-10.0p1/ssh-add.c:992:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:992:19: branch_false: following ‘false’ branch (when ‘lflag == 0’)...
openssh-10.0p1/ssh-add.c:996:19: branch_false: ...to here
openssh-10.0p1/ssh-add.c:996:19: branch_false: following ‘false’ branch (when ‘Dflag == 0’)...
openssh-10.0p1/ssh-add.c:1003:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1023:12: branch_false: following ‘false’ branch (when ‘Tflag == 0’)...
openssh-10.0p1/ssh-add.c:1031:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1031:12: branch_false: following ‘false’ branch (when ‘pkcs11provider’ is NULL)...
openssh-10.0p1/ssh-add.c:1048:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1048:12: branch_false: following ‘false’ branch (when ‘do_download == 0’)...
openssh-10.0p1/ssh-add.c:1056:12: branch_false: ...to here
openssh-10.0p1/ssh-add.c:1056:12: branch_false: following ‘false’ branch (when ‘argc != 0’)...
branch_false: ...to here
openssh-10.0p1/ssh-add.c:1084:29: branch_true: following ‘true’ branch (when ‘i < argc’)...
openssh-10.0p1/ssh-add.c:1085:29: branch_true: ...to here
openssh-10.0p1/ssh-add.c:1085:29: call_function: calling ‘do_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def523]
openssh-10.0p1/ssh-agent.c:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
openssh-10.0p1/ssh-agent.c:1550:1: enter_function: entry to ‘add_p11_identity’
openssh-10.0p1/ssh-agent.c:1567:32: call_function: calling ‘dup_dest_constraints’ from ‘add_p11_identity’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
openssh-10.0p1/ssh-agent.c:1609:25: warning[-Wanalyzer-malloc-leak]: leak of ‘module_path’
openssh-10.0p1/ssh-agent.c:2094:1: enter_function: entry to ‘after_poll’
openssh-10.0p1/ssh-agent.c:2099:21: branch_true: following ‘true’ branch (when ‘i < npfd’)...
openssh-10.0p1/ssh-agent.c:2100:24: branch_true: ...to here
openssh-10.0p1/ssh-agent.c:2100:20: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-agent.c:2110:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-agent.c:2115:32: branch_false: ...to here
openssh-10.0p1/ssh-agent.c:2128:28: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-agent.c:2129:29: branch_true: ...to here
openssh-10.0p1/ssh-agent.c:2129:29: call_function: calling ‘handle_conn_read’ from ‘after_poll’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
openssh-10.0p1/ssh-ecdsa-sk.c:178:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
openssh-10.0p1/ssh-ecdsa-sk.c:179:22: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
openssh-10.0p1/ssh-ecdsa-sk.c:189:48: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
openssh-10.0p1/ssh-ecdsa-sk.c:203:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def529]
openssh-10.0p1/ssh-ecdsa-sk.c:204:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
openssh-10.0p1/ssh-ecdsa-sk.c:205:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def531]
openssh-10.0p1/ssh-ecdsa-sk.c:206:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def532]
openssh-10.0p1/ssh-ecdsa-sk.c:207:18: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:234:1: enter_function: entry to ‘ssh_ecdsa_sk_verify’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:344:28: call_function: calling ‘webauthn_check_prepare_hash’ from ‘ssh_ecdsa_sk_verify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def533]
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/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): [#def534]
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/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): [#def535]
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/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): [#def536]
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/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): [#def537]
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/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): [#def538]
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/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): [#def539]
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_true: following ‘true’ branch (when ‘is_webauthn != 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_true: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:290:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:289:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:291:21: branch_false: ...to here
openssh-10.0p1/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): [#def540]
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/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): [#def541]
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/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): [#def542]
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/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): [#def543]
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/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): [#def544]
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/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): [#def545]
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/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): [#def546]
openssh-10.0p1/ssh-ecdsa-sk.c:339:32: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/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): [#def547]
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/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): [#def548]
openssh-10.0p1/ssh-ecdsa-sk.c:352:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/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): [#def549]
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/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): [#def550]
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/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): [#def551]
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/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): [#def552]
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.0p1/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): [#def553]
openssh-10.0p1/ssh-ecdsa-sk.c:366:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.0p1/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): [#def554]
openssh-10.0p1/ssh-ecdsa-sk.c:375:23: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.0p1/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): [#def555]
openssh-10.0p1/ssh-ecdsa-sk.c:379:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.0p1/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): [#def556]
openssh-10.0p1/ssh-ecdsa-sk.c:389:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:384:21: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.0p1/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): [#def557]
openssh-10.0p1/ssh-ecdsa-sk.c:389:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.0p1/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): [#def558]
openssh-10.0p1/ssh-ecdsa-sk.c:398:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:389:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:399:13: branch_false: ...to here
openssh-10.0p1/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): [#def559]
openssh-10.0p1/ssh-ecdsa-sk.c:403:17: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:389:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:399:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:398:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:403:17: branch_false: ...to here
openssh-10.0p1/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): [#def560]
openssh-10.0p1/ssh-ecdsa-sk.c:404:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:272:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:276:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:278:17: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:283:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:284:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:282:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:288:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:296:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:296:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:303:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:302:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:307:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:328:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:328:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:332:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:332:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:336:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:339:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:343:12: branch_false: following ‘false’ branch (when ‘is_webauthn == 0’)...
openssh-10.0p1/ssh-ecdsa-sk.c:348:27: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:348:19: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:353:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:352:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:361:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:363:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:364:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:365:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:366:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:361:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:368:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:375:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:379:20: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:379:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:384:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:384:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:388:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:389:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:399:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:398:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:403:17: branch_false: ...to here
openssh-10.0p1/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): [#def561]
openssh-10.0p1/ssh-ecdsa-sk.c:425:9: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ecdsa-sk.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:257:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:262:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:262:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:266:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:266:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa-sk.c:268:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa-sk.c:268:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa-sk.c:272:13: branch_false: ...to here
openssh-10.0p1/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): [#def562]
openssh-10.0p1/ssh-ecdsa.c:455:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
openssh-10.0p1/ssh-ecdsa.c:399:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:399:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:404:51: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:404:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:408:18: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:408:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:410:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:410:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:411:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:410:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:415:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:415:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ecdsa.c:419:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:419:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:425:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:425:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:426:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:425:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:430:13: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:430:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:435:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:435:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:439:14: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:439:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:443:17: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:445:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ecdsa.c:450:21: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:450:21: acquire_memory: allocated here
openssh-10.0p1/ssh-ecdsa.c:450:12: branch_false: following ‘false’ branch (when ‘sigb’ is non-NULL)...
openssh-10.0p1/ssh-ecdsa.c:454:9: branch_false: ...to here
openssh-10.0p1/ssh-ecdsa.c:455: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): [#def563]
openssh-10.0p1/ssh-ed25519-sk.c:203:24: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/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): [#def564]
openssh-10.0p1/ssh-ed25519-sk.c:207:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/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): [#def565]
openssh-10.0p1/ssh-ed25519-sk.c:208:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/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): [#def566]
openssh-10.0p1/ssh-ed25519-sk.c:209:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.0p1/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): [#def567]
openssh-10.0p1/ssh-ed25519-sk.c:210:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.0p1/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): [#def568]
openssh-10.0p1/ssh-ed25519-sk.c:211:13: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.0p1/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): [#def569]
openssh-10.0p1/ssh-ed25519-sk.c:219:14: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.0p1/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): [#def570]
openssh-10.0p1/ssh-ed25519-sk.c:220:17: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.0p1/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): [#def571]
openssh-10.0p1/ssh-ed25519-sk.c:226:20: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:222:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:227:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:226:20: danger: ‘details’ leaks here; was allocated at [(29)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def572]
openssh-10.0p1/ssh-ed25519-sk.c:226:20: warning[-Wanalyzer-malloc-leak]: leak of ‘m’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:222:18: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:222:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:227:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:226:20: danger: ‘m’ leaks here; was allocated at [(43)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/42)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def573]
openssh-10.0p1/ssh-ed25519-sk.c:228:17: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:222:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:227:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:226:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:228:17: branch_true: ...to here
openssh-10.0p1/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): [#def574]
openssh-10.0p1/ssh-ed25519-sk.c:243:17: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:208:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:209:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:210:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:211:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:207:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:219:14: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:222:12: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:227:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:226:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:230:33: branch_false: ...to here
openssh-10.0p1/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): [#def575]
openssh-10.0p1/ssh-ed25519-sk.c:244:9: warning[-Wanalyzer-malloc-leak]: leak of ‘details’
openssh-10.0p1/ssh-ed25519-sk.c:149:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:150:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:151:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:152:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:149:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:155:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:155:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:158:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:159:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:160:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:157:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:172:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:172:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519-sk.c:176:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:176:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:180:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:180:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:185:20: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:186:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:184:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:197:24: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:197:24: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519-sk.c:197:12: branch_false: following ‘false’ branch (when ‘details’ is non-NULL)...
openssh-10.0p1/ssh-ed25519-sk.c:201:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519-sk.c:203:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-ed25519-sk.c:205:17: branch_true: ...to here
openssh-10.0p1/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): [#def576]
openssh-10.0p1/ssh-ed25519.c:176:20: warning[-Wanalyzer-malloc-leak]: leak of ‘sig’
openssh-10.0p1/ssh-ed25519.c:163:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519.c:164:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:163:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:165:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:163:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:163:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:163:13: branch_false: following ‘false’ branch (when ‘datalen <= 2147483582’)...
openssh-10.0p1/ssh-ed25519.c:168:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:168:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:172:17: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:173:20: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519.c:173:12: branch_false: following ‘false’ branch (when ‘sig’ is non-NULL)...
openssh-10.0p1/ssh-ed25519.c:177:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:176: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): [#def577]
openssh-10.0p1/ssh-ed25519.c:263:20: warning[-Wanalyzer-malloc-leak]: leak of ‘m’
openssh-10.0p1/ssh-ed25519.c:223:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519.c:224:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:225:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:226:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch (when ‘siglen != 0’)...
openssh-10.0p1/ssh-ed25519.c:229:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:229:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:234:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:234:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:236:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:236:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:237:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:236:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:239:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:239:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519.c:243:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:243:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:247:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:247:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:255:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:257:12: branch_false: following ‘false’ branch (when ‘sm’ is non-NULL)...
openssh-10.0p1/ssh-ed25519.c:257:50: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:257:50: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519.c:257:13: branch_false: following ‘false’ branch (when ‘m’ is non-NULL)...
openssh-10.0p1/ssh-ed25519.c:261:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:263: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): [#def578]
openssh-10.0p1/ssh-ed25519.c:263:20: warning[-Wanalyzer-malloc-leak]: leak of ‘sm’
openssh-10.0p1/ssh-ed25519.c:223:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519.c:224:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:225:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:226:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch (when ‘siglen != 0’)...
openssh-10.0p1/ssh-ed25519.c:229:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:229:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:234:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:234:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:236:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:236:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:237:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:236:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:239:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:239:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519.c:243:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:243:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:247:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:247:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:255:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:257:19: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:263: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): [#def579]
openssh-10.0p1/ssh-ed25519.c:265:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sm’
openssh-10.0p1/ssh-ed25519.c:223:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519.c:224:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:225:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:226:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch (when ‘siglen != 0’)...
openssh-10.0p1/ssh-ed25519.c:229:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:229:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:234:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:234:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:236:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:236:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:237:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:236:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:239:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:239:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519.c:243:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:243:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:247:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:247:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:255:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:257:19: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519.c:257:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:263:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-ed25519.c:265:17: branch_true: ...to here
openssh-10.0p1/ssh-ed25519.c:265: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): [#def580]
openssh-10.0p1/ssh-ed25519.c:276:17: warning[-Wanalyzer-malloc-leak]: leak of ‘sm’
openssh-10.0p1/ssh-ed25519.c:223:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
openssh-10.0p1/ssh-ed25519.c:224:31: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:225:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:226:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:223:13: branch_false: following ‘false’ branch (when ‘siglen != 0’)...
openssh-10.0p1/ssh-ed25519.c:229:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:229:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:234:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:234:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:236:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:236:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:237:18: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:236:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:239:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:239:12: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/ssh-ed25519.c:243:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:243:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:247:13: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:247:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-ed25519.c:255:9: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:257:19: acquire_memory: allocated here
openssh-10.0p1/ssh-ed25519.c:257:12: branch_false: following ‘false’ branch (when ‘sm’ is non-NULL)...
openssh-10.0p1/ssh-ed25519.c:257:50: branch_false: ...to here
openssh-10.0p1/ssh-ed25519.c:257:13: branch_true: following ‘true’ branch (when ‘m’ is NULL)...
openssh-10.0p1/ssh-ed25519.c:259:17: branch_true: ...to here
openssh-10.0p1/ssh-ed25519.c:276:17: danger: ‘sm’ leaks here; was allocated at [(25)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/24)
Error: COMPILER_WARNING: [#def581]
openssh-10.0p1/ssh-keycat.c:39:9: warning: ‘_GNU_SOURCE’ redefined
<command-line>: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def582]
openssh-10.0p1/ssh-keycat.c:39:9: warning[warning]: ‘_GNU_SOURCE’ redefined
Error: COMPILER_WARNING: [#def583]
openssh-10.0p1/ssh-keygen.c: scope_hint: In function ‘do_convert_to’
openssh-10.0p1/ssh-keygen.c:370: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): [#def584]
openssh-10.0p1/ssh-keygen.c:653:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:673:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.0p1/ssh-keygen.c:682:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:684:19: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:684:19: acquire_resource: opened here
openssh-10.0p1/ssh-keygen.c:684:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:686:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:687:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def585]
openssh-10.0p1/ssh-keygen.c:653:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:673:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.0p1/ssh-keygen.c:682:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:684:19: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:684:19: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:684:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:686:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:687:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def586]
openssh-10.0p1/ssh-keygen.c:658:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:673:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.0p1/ssh-keygen.c:682:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:684:19: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:684:19: acquire_resource: opened here
openssh-10.0p1/ssh-keygen.c:684:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:686:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:687:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def587]
openssh-10.0p1/ssh-keygen.c:658:29: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:673:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.0p1/ssh-keygen.c:682:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:684:19: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:684:19: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:684:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:686:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:687:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def588]
openssh-10.0p1/ssh-keygen.c:659:54: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:673:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.0p1/ssh-keygen.c:682:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:684:19: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:684:19: acquire_resource: opened here
openssh-10.0p1/ssh-keygen.c:684:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:686:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:687:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
openssh-10.0p1/ssh-keygen.c:659:54: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:673:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.0p1/ssh-keygen.c:682:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:684:19: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:684:19: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:684:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:686:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:687:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def590]
openssh-10.0p1/ssh-keygen.c:660:33: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:673:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.0p1/ssh-keygen.c:682:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:684:19: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:684:19: acquire_resource: opened here
openssh-10.0p1/ssh-keygen.c:684:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:686:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:687:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
openssh-10.0p1/ssh-keygen.c:660:33: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:673:1: enter_function: entry to ‘do_convert_from_ssh2’
openssh-10.0p1/ssh-keygen.c:682:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:684:19: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:684:19: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:684:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:686:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:687:24: call_function: calling ‘get_line’ from ‘do_convert_from_ssh2’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def592]
openssh-10.0p1/ssh-keygen.c:732:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:730:19: acquire_resource: opened here
openssh-10.0p1/ssh-keygen.c:730:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:732:23: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:732:23: 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): [#def593]
openssh-10.0p1/ssh-keygen.c:732:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:730:19: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:730:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:732:23: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:732:23: danger: ‘fopen(&identity_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def594]
openssh-10.0p1/ssh-keygen.c:780:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:778:19: acquire_resource: opened here
openssh-10.0p1/ssh-keygen.c:778:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:780:20: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:780:20: danger: ‘fopen(&identity_file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def595]
openssh-10.0p1/ssh-keygen.c:780:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&identity_file, "r")’
openssh-10.0p1/ssh-keygen.c:778:19: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:778:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:780:20: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:780:20: danger: ‘fopen(&identity_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def596]
openssh-10.0p1/ssh-keygen.c: scope_hint: In function ‘do_gen_all_hostkeys’
openssh-10.0p1/ssh-keygen.c:1180: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): [#def597]
openssh-10.0p1/ssh-keygen.c:1408:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.out’
openssh-10.0p1/ssh-keygen.c:1374:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:1377:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:1388:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keygen.c:1389:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:1390:21: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:1389:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:1391:21: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:1389:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:1392:21: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:1389:21: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:1394:17: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:1395:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:1397:32: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:1397:32: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:1397:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:1402:34: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:1408:18: danger: ‘ctx.out’ leaks here; was allocated at [(15)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def598]
openssh-10.0p1/ssh-keygen.c:3063:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘out’
openssh-10.0p1/ssh-keygen.c:3028:21: branch_false: following ‘false’ branch (when ‘i >= nopts’)...
openssh-10.0p1/ssh-keygen.c:3053:13: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3053:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
openssh-10.0p1/ssh-keygen.c:3055:25: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3055:25: acquire_resource: opened here
openssh-10.0p1/ssh-keygen.c:3055:17: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:3059:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3061:12: branch_true: following ‘true’ branch (when ‘moduli_bits == 0’)...
branch_true: ...to here
openssh-10.0p1/ssh-keygen.c:3063:13: danger: ‘out’ leaks here; was opened at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
openssh-10.0p1/ssh-keygen.c:3063:13: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
openssh-10.0p1/ssh-keygen.c:3028:21: branch_false: following ‘false’ branch (when ‘i >= nopts’)...
openssh-10.0p1/ssh-keygen.c:3053:13: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3053:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
openssh-10.0p1/ssh-keygen.c:3055:25: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3055:25: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:3055:17: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:3059:9: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3061:12: branch_true: following ‘true’ branch (when ‘moduli_bits == 0’)...
branch_true: ...to here
openssh-10.0p1/ssh-keygen.c:3063:13: danger: ‘out’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def600]
openssh-10.0p1/ssh-keygen.c:3123:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
openssh-10.0p1/ssh-keygen.c:3112:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keygen.c:3113:27: acquire_resource: opened here
openssh-10.0p1/ssh-keygen.c:3113:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:3120:13: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3120:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
openssh-10.0p1/ssh-keygen.c:3122:25: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3122:17: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keygen.c:3123:17: branch_true: ...to here
openssh-10.0p1/ssh-keygen.c:3123:17: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def601]
openssh-10.0p1/ssh-keygen.c:3123:17: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
openssh-10.0p1/ssh-keygen.c:3112:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keygen.c:3113:27: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:3113:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:3120:13: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3120:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
openssh-10.0p1/ssh-keygen.c:3122:25: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3122:17: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keygen.c:3123:17: branch_true: ...to here
openssh-10.0p1/ssh-keygen.c:3123:17: danger: ‘in’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def602]
openssh-10.0p1/ssh-keygen.c:3127:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
openssh-10.0p1/ssh-keygen.c:3112:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keygen.c:3113:27: acquire_resource: opened here
openssh-10.0p1/ssh-keygen.c:3113:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:3120:13: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3120:12: branch_true: following ‘true’ branch (when the strings are equal)...
openssh-10.0p1/ssh-keygen.c:3121:17: branch_true: ...to here
openssh-10.0p1/ssh-keygen.c:3127:13: branch_false: following ‘false’ branch (when ‘prime_tests == 0’)...
openssh-10.0p1/ssh-keygen.c:3127:13: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3127:13: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def603]
openssh-10.0p1/ssh-keygen.c:3127:13: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
openssh-10.0p1/ssh-keygen.c:3112:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keygen.c:3113:27: acquire_memory: allocated here
openssh-10.0p1/ssh-keygen.c:3113:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keygen.c:3120:13: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3120:12: branch_true: following ‘true’ branch (when the strings are equal)...
openssh-10.0p1/ssh-keygen.c:3121:17: branch_true: ...to here
openssh-10.0p1/ssh-keygen.c:3127:13: branch_false: following ‘false’ branch (when ‘prime_tests == 0’)...
openssh-10.0p1/ssh-keygen.c:3127:13: branch_false: ...to here
openssh-10.0p1/ssh-keygen.c:3127:13: danger: ‘in’ leaks here; was allocated at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def604]
openssh-10.0p1/ssh-keygen.c: scope_hint: In function ‘main’
openssh-10.0p1/ssh-keygen.c:3980: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): [#def605]
openssh-10.0p1/ssh-keysign.c:196:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:196:17: branch_true: ...to here
openssh-10.0p1/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): [#def606]
openssh-10.0p1/ssh-keysign.c:206:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206: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): [#def607]
openssh-10.0p1/ssh-keysign.c:207:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def608]
openssh-10.0p1/ssh-keysign.c:207:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:207:23: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def609]
openssh-10.0p1/ssh-keysign.c:208:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208: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): [#def610]
openssh-10.0p1/ssh-keysign.c:208:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:208:23: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def611]
openssh-10.0p1/ssh-keysign.c:208:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:208:23: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def612]
openssh-10.0p1/ssh-keysign.c:209:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: 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): [#def613]
openssh-10.0p1/ssh-keysign.c:209:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:209:23: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def614]
openssh-10.0p1/ssh-keysign.c:209:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:209:23: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def615]
openssh-10.0p1/ssh-keysign.c:209:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:209:23: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def616]
openssh-10.0p1/ssh-keysign.c:211:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:19: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def617]
openssh-10.0p1/ssh-keysign.c:211:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:19: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def618]
openssh-10.0p1/ssh-keysign.c:211:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:19: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def619]
openssh-10.0p1/ssh-keysign.c:211:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:19: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def620]
openssh-10.0p1/ssh-keysign.c:211:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:19: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def621]
openssh-10.0p1/ssh-keysign.c:212:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:212:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:212:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def622]
openssh-10.0p1/ssh-keysign.c:212:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:212:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:212:17: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def623]
openssh-10.0p1/ssh-keysign.c:212:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:212:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:212:17: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def624]
openssh-10.0p1/ssh-keysign.c:212:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:212:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:212:17: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def625]
openssh-10.0p1/ssh-keysign.c:212:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:212:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:212:17: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def626]
openssh-10.0p1/ssh-keysign.c:213:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:213:14: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def627]
openssh-10.0p1/ssh-keysign.c:213:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:213:14: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def628]
openssh-10.0p1/ssh-keysign.c:213:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:213:14: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def629]
openssh-10.0p1/ssh-keysign.c:213:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:213:14: 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): [#def630]
openssh-10.0p1/ssh-keysign.c:213:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:213:14: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def631]
openssh-10.0p1/ssh-keysign.c:215:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:215:9: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def632]
openssh-10.0p1/ssh-keysign.c:215:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:215: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): [#def633]
openssh-10.0p1/ssh-keysign.c:215:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:215:9: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def634]
openssh-10.0p1/ssh-keysign.c:215:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:215:9: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def635]
openssh-10.0p1/ssh-keysign.c:215:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:215:9: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def636]
openssh-10.0p1/ssh-keysign.c:217:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:217:9: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def637]
openssh-10.0p1/ssh-keysign.c:217:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:217:9: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def638]
openssh-10.0p1/ssh-keysign.c:217:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:217:9: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def639]
openssh-10.0p1/ssh-keysign.c:217:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:217:9: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def640]
openssh-10.0p1/ssh-keysign.c:217:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:217:9: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def641]
openssh-10.0p1/ssh-keysign.c:224:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:224:9: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def642]
openssh-10.0p1/ssh-keysign.c:224:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:224:9: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def643]
openssh-10.0p1/ssh-keysign.c:224:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:224:9: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def644]
openssh-10.0p1/ssh-keysign.c:224:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:224:9: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def645]
openssh-10.0p1/ssh-keysign.c:224:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:224:9: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def646]
openssh-10.0p1/ssh-keysign.c:225:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:225:15: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def647]
openssh-10.0p1/ssh-keysign.c:225:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:225:15: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def648]
openssh-10.0p1/ssh-keysign.c:225:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:225:15: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def649]
openssh-10.0p1/ssh-keysign.c:225:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:225:15: 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): [#def650]
openssh-10.0p1/ssh-keysign.c:225:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:225:15: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def651]
openssh-10.0p1/ssh-keysign.c:227:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:227:15: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def652]
openssh-10.0p1/ssh-keysign.c:227:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:227:15: 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): [#def653]
openssh-10.0p1/ssh-keysign.c:227:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:227:15: 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): [#def654]
openssh-10.0p1/ssh-keysign.c:227:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:227:15: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def655]
openssh-10.0p1/ssh-keysign.c:227:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:227:15: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def656]
openssh-10.0p1/ssh-keysign.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:229:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:229:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def657]
openssh-10.0p1/ssh-keysign.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:229:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:229:17: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def658]
openssh-10.0p1/ssh-keysign.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:229:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:229:17: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def659]
openssh-10.0p1/ssh-keysign.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:229:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:229:17: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def660]
openssh-10.0p1/ssh-keysign.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:229:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:229:17: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def661]
openssh-10.0p1/ssh-keysign.c:232:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:13: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def662]
openssh-10.0p1/ssh-keysign.c:232:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:13: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def663]
openssh-10.0p1/ssh-keysign.c:232:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:13: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def664]
openssh-10.0p1/ssh-keysign.c:232:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:13: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def665]
openssh-10.0p1/ssh-keysign.c:232:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:13: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def666]
openssh-10.0p1/ssh-keysign.c:233:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:19: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:233:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:233:17: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def667]
openssh-10.0p1/ssh-keysign.c:233:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[0]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:206:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:233:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:233:17: danger: ‘key_fd[0]’ leaks here; was opened at [(9)](sarif:/runs/0/results/65/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def668]
openssh-10.0p1/ssh-keysign.c:233:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[1]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:207:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:233:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:233:17: danger: ‘key_fd[1]’ leaks here; was opened at [(9)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def669]
openssh-10.0p1/ssh-keysign.c:233:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[2]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:208:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:233:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:233:17: danger: ‘key_fd[2]’ leaks here; was opened at [(9)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def670]
openssh-10.0p1/ssh-keysign.c:233:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘key_fd[3]’
openssh-10.0p1/ssh-keysign.c:188:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:192:19: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:192:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:195:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:198:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
openssh-10.0p1/ssh-keysign.c:199:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:209:23: acquire_resource: opened here
openssh-10.0p1/ssh-keysign.c:211:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:213:14: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:228:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-keysign.c:232:13: branch_false: ...to here
openssh-10.0p1/ssh-keysign.c:232:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-keysign.c:233:17: branch_true: ...to here
openssh-10.0p1/ssh-keysign.c:233:17: danger: ‘key_fd[3]’ leaks here; was opened at [(9)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
openssh-10.0p1/ssh-pkcs11.c:211:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def672]
openssh-10.0p1/ssh-pkcs11.c:212:22: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘module_path’ where non-null expected
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: this call could return NULL
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def673]
openssh-10.0p1/ssh-pkcs11.c:1759:13: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1759:13: danger: ‘provider_module’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def674]
openssh-10.0p1/ssh-pkcs11.c:1760:19: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1760:19: 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): [#def675]
openssh-10.0p1/ssh-pkcs11.c:1762:13: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:13: 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): [#def676]
openssh-10.0p1/ssh-pkcs11.c:1763:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1763:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1763:17: 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): [#def677]
openssh-10.0p1/ssh-pkcs11.c:1768:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1767:15: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:13: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1768:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1768:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def678]
openssh-10.0p1/ssh-pkcs11.c:1779:21: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1779:21: 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): [#def679]
openssh-10.0p1/ssh-pkcs11.c:1786:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_true: following ‘true’ branch (when ‘handle’ is NULL)...
openssh-10.0p1/ssh-pkcs11.c:1786:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1786:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def680]
openssh-10.0p1/ssh-pkcs11.c:1790:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_true: following ‘true’ branch (when ‘getfunctionlist’ is NULL)...
openssh-10.0p1/ssh-pkcs11.c:1790:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1790:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def681]
openssh-10.0p1/ssh-pkcs11.c:1793:19: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1791:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1793:19: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def682]
openssh-10.0p1/ssh-pkcs11.c:1794:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1791:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1793:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1794:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1794:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def683]
openssh-10.0p1/ssh-pkcs11.c:1799:19: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1791:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1793:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1798:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1799:19: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def684]
openssh-10.0p1/ssh-pkcs11.c:1800:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1791:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1793:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1798:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1799:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1800:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1800:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def685]
openssh-10.0p1/ssh-pkcs11.c:1805:19: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1791:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1793:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1798:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1799:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1805:20: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1805:19: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def686]
openssh-10.0p1/ssh-pkcs11.c:1806:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1791:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1793:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1798:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1799:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1805:20: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1805:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1806:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1806:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def687]
openssh-10.0p1/ssh-pkcs11.c:1813:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1791:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1793:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1798:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1799:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1805:20: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1805:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1810:17: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1810:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1810:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1811:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1812:13: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1811:13: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1813:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1813:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def688]
openssh-10.0p1/ssh-pkcs11.c:1818:9: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1791:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1793:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1798:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1799:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1805:20: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1805:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1810:17: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1810:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1810:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1817:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1817:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1818:9: 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): [#def689]
openssh-10.0p1/ssh-pkcs11.c:1876:17: warning[-Wanalyzer-malloc-leak]: leak of ‘provider_module’
openssh-10.0p1/ssh-pkcs11.c:1734:1: enter_function: entry to ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1749:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1751:35: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1751:35: acquire_memory: allocated here
openssh-10.0p1/ssh-pkcs11.c:1762:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1766:18: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1766:18: call_function: calling ‘pkcs11_provider_lookup_module’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1766:18: return_function: returning to ‘pkcs11_initialize_provider’ from ‘pkcs11_provider_lookup_module’
openssh-10.0p1/ssh-pkcs11.c:1766:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1779:21: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1785:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1789:32: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1789:12: branch_false: following ‘false’ branch (when ‘getfunctionlist’ is non-NULL)...
openssh-10.0p1/ssh-pkcs11.c:1791:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1793:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1798:9: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1799:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1805:20: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1805:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-pkcs11.c:1810:17: branch_false: ...to here
openssh-10.0p1/ssh-pkcs11.c:1810:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1810:9: call_function: inlined call to ‘rmspace’ from ‘pkcs11_initialize_provider’
openssh-10.0p1/ssh-pkcs11.c:1811:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1812:13: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1811:13: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1813:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1875:13: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-pkcs11.c:1876:17: branch_true: ...to here
openssh-10.0p1/ssh-pkcs11.c:1876:17: danger: ‘provider_module’ leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
Error: COMPILER_WARNING (CWE-1164): [#def690]
openssh-10.0p1/ssh-pkcs11.c:2011:1: warning[-Wunused-function]: ‘pkcs11_register_provider’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def691]
openssh-10.0p1/ssh-sk-client.c:87:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pair[1], 0)’
openssh-10.0p1/ssh-sk-client.c:61:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-client.c:72:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-client.c:72:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-client.c:76:20: branch_false: ...to here
openssh-10.0p1/ssh-sk-client.c:77:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/ssh-sk-client.c:86:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-client.c:86:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/ssh-sk-client.c:87:22: branch_true: ...to here
openssh-10.0p1/ssh-sk-client.c:87:22: acquire_resource: opened here
openssh-10.0p1/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): [#def692]
openssh-10.0p1/ssh-sk-client.c:87:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pair[1], 1)’
openssh-10.0p1/ssh-sk-client.c:61:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-client.c:72:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-client.c:72:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-client.c:76:20: branch_false: ...to here
openssh-10.0p1/ssh-sk-client.c:77:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/ssh-sk-client.c:86:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-client.c:86:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/ssh-sk-client.c:87:22: branch_true: ...to here
openssh-10.0p1/ssh-sk-client.c:87:20: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-client.c:88:22: branch_false: ...to here
openssh-10.0p1/ssh-sk-client.c:88:22: acquire_resource: opened here
openssh-10.0p1/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): [#def693]
openssh-10.0p1/ssh-sk-helper.c:63:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/ssh-sk-helper.c:213:1: enter_function: entry to ‘process_load_resident’
openssh-10.0p1/ssh-sk-helper.c:222:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:225:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:225:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:226:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:225:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:227:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:225:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:228:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:225:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:230:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:230:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:233:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:233:9: call_function: calling ‘null_empty’ from ‘process_load_resident’
openssh-10.0p1/ssh-sk-helper.c:233:9: return_function: returning to ‘process_load_resident’ from ‘null_empty’
openssh-10.0p1/ssh-sk-helper.c:234:9: call_function: calling ‘null_empty’ from ‘process_load_resident’
openssh-10.0p1/ssh-sk-helper.c:234:9: return_function: returning to ‘process_load_resident’ from ‘null_empty’
openssh-10.0p1/ssh-sk-helper.c:236:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk-helper.c:238:24: branch_true: ...to here
openssh-10.0p1/ssh-sk-helper.c:238:24: call_function: calling ‘reply_error’ from ‘process_load_resident’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def694]
openssh-10.0p1/ssh-sk-helper.c:102:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:337:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def695]
openssh-10.0p1/ssh-sk-helper.c:103:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:337:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def696]
openssh-10.0p1/ssh-sk-helper.c:104:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:337:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def697]
openssh-10.0p1/ssh-sk-helper.c:105:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:337:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def698]
openssh-10.0p1/ssh-sk-helper.c:106:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:337:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def699]
openssh-10.0p1/ssh-sk-helper.c:107:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:337:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def700]
openssh-10.0p1/ssh-sk-helper.c:108:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:337:24: call_function: calling ‘process_sign’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def701]
openssh-10.0p1/ssh-sk-helper.c:158:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:340:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def702]
openssh-10.0p1/ssh-sk-helper.c:159:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:340:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def703]
openssh-10.0p1/ssh-sk-helper.c:160:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:340:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def704]
openssh-10.0p1/ssh-sk-helper.c:162:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:340:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def705]
openssh-10.0p1/ssh-sk-helper.c:163:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:340:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def706]
openssh-10.0p1/ssh-sk-helper.c:164:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:340:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def707]
openssh-10.0p1/ssh-sk-helper.c:165:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:340:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def708]
openssh-10.0p1/ssh-sk-helper.c:166:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:340:24: call_function: calling ‘process_enroll’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def709]
openssh-10.0p1/ssh-sk-helper.c:222:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:343:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def710]
openssh-10.0p1/ssh-sk-helper.c:223:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:343:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def711]
openssh-10.0p1/ssh-sk-helper.c:225:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:343:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def712]
openssh-10.0p1/ssh-sk-helper.c:226:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:343:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def713]
openssh-10.0p1/ssh-sk-helper.c:227:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:343:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def714]
openssh-10.0p1/ssh-sk-helper.c:228:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:343:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def715]
openssh-10.0p1/ssh-sk-helper.c:229:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:274:1: enter_function: entry to ‘main’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:343:24: call_function: calling ‘process_load_resident’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def716]
openssh-10.0p1/ssh-sk-helper.c:308:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh-sk-helper.c:307:19: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_true: following ‘true’ branch (when ‘out == -1’)...
openssh-10.0p1/ssh-sk-helper.c:308:17: branch_true: ...to here
openssh-10.0p1/ssh-sk-helper.c:308: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): [#def717]
openssh-10.0p1/ssh-sk-helper.c:309:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh-sk-helper.c:307:19: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:309:9: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def718]
openssh-10.0p1/ssh-sk-helper.c:309:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:309:9: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def719]
openssh-10.0p1/ssh-sk-helper.c:310:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh-sk-helper.c:307:19: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:310: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): [#def720]
openssh-10.0p1/ssh-sk-helper.c:310:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:310: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): [#def721]
openssh-10.0p1/ssh-sk-helper.c:311:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh-sk-helper.c:307:19: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:311: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): [#def722]
openssh-10.0p1/ssh-sk-helper.c:311:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:311: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): [#def723]
openssh-10.0p1/ssh-sk-helper.c:313:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh-sk-helper.c:307:19: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:313: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): [#def724]
openssh-10.0p1/ssh-sk-helper.c:313:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313: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): [#def725]
openssh-10.0p1/ssh-sk-helper.c:314:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh-sk-helper.c:307:19: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk-helper.c:314:17: branch_true: ...to here
openssh-10.0p1/ssh-sk-helper.c:314: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): [#def726]
openssh-10.0p1/ssh-sk-helper.c:314:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk-helper.c:314:17: branch_true: ...to here
openssh-10.0p1/ssh-sk-helper.c:314: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): [#def727]
openssh-10.0p1/ssh-sk-helper.c:315:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh-sk-helper.c:307:19: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315: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): [#def728]
openssh-10.0p1/ssh-sk-helper.c:315:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315: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): [#def729]
openssh-10.0p1/ssh-sk-helper.c:316:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk-helper.c:316:17: branch_true: ...to here
openssh-10.0p1/ssh-sk-helper.c:316: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): [#def730]
openssh-10.0p1/ssh-sk-helper.c:317:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:317: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): [#def731]
openssh-10.0p1/ssh-sk-helper.c:318:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:318: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): [#def732]
openssh-10.0p1/ssh-sk-helper.c:320:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320: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): [#def733]
openssh-10.0p1/ssh-sk-helper.c:321:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk-helper.c:321:17: branch_true: ...to here
openssh-10.0p1/ssh-sk-helper.c:321: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): [#def734]
openssh-10.0p1/ssh-sk-helper.c:323:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk-helper.c:323:17: branch_true: ...to here
openssh-10.0p1/ssh-sk-helper.c:323: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): [#def735]
openssh-10.0p1/ssh-sk-helper.c:327:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327: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): [#def736]
openssh-10.0p1/ssh-sk-helper.c:328:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:328: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): [#def737]
openssh-10.0p1/ssh-sk-helper.c:329:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:329: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): [#def738]
openssh-10.0p1/ssh-sk-helper.c:330:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:330: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): [#def739]
openssh-10.0p1/ssh-sk-helper.c:332:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_true: following ‘true’ branch (when ‘vflag == 0’)...
openssh-10.0p1/ssh-sk-helper.c:332:23: branch_true: ...to here
openssh-10.0p1/ssh-sk-helper.c:332: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): [#def740]
openssh-10.0p1/ssh-sk-helper.c:333:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk-helper.c:333: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): [#def741]
openssh-10.0p1/ssh-sk-helper.c:346:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh-sk-helper.c:307:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh-sk-helper.c:307:54: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:307:54: acquire_resource: opened here
openssh-10.0p1/ssh-sk-helper.c:307:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh-sk-helper.c:309:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:313:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:315:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:315:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:317:9: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:320:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:322:13: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:322:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:327:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:328:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:329:18: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:327:13: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk-helper.c:332:12: branch_false: ...to here
openssh-10.0p1/ssh-sk-helper.c:346: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): [#def742]
openssh-10.0p1/ssh-sk.c:122:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:122:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:122:17: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def743]
openssh-10.0p1/ssh-sk.c:137:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:26: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:13: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def744]
openssh-10.0p1/ssh-sk.c:137:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:13: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def745]
openssh-10.0p1/ssh-sk.c:138:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:26: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:138:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:138:17: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def746]
openssh-10.0p1/ssh-sk.c:138:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:138:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:138:17: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def747]
openssh-10.0p1/ssh-sk.c:142:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:26: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:142:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:142:17: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def748]
openssh-10.0p1/ssh-sk.c:142:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:142:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:142:17: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def749]
openssh-10.0p1/ssh-sk.c:145:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:26: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:145:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:145:17: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def750]
openssh-10.0p1/ssh-sk.c:145:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:145:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:145:17: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def751]
openssh-10.0p1/ssh-sk.c:149:19: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:26: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:149:19: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:149:19: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def752]
openssh-10.0p1/ssh-sk.c:149:19: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:149:19: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:149:19: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def753]
openssh-10.0p1/ssh-sk.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:26: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:149:19: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:150:9: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def754]
openssh-10.0p1/ssh-sk.c:150:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:149:19: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:150:9: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def755]
openssh-10.0p1/ssh-sk.c:153:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:149:19: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:152:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:153:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:153:17: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def756]
openssh-10.0p1/ssh-sk.c:159:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:149:19: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:152:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:158:37: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:158:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:159:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:159:17: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def757]
openssh-10.0p1/ssh-sk.c:164:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:149:19: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:152:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:158:37: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:158:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:163:35: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:163:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:164:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:164:17: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def758]
openssh-10.0p1/ssh-sk.c:170:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/ssh-sk.c:113:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:117:20: acquire_memory: allocated here
openssh-10.0p1/ssh-sk.c:117:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/ssh-sk.c:121:26: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:121:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:126:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:126:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:137:13: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:137:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:141:30: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:141:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:143:36: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:143:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:149:19: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:152:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:158:37: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:158:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:163:35: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:163:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh-sk.c:168:49: branch_false: ...to here
openssh-10.0p1/ssh-sk.c:168:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh-sk.c:170:17: branch_true: ...to here
openssh-10.0p1/ssh-sk.c:170:17: danger: ‘ret’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def759]
openssh-10.0p1/ssh.c:2055:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh.c:2047:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh.c:2050:9: branch_false: ...to here
openssh-10.0p1/ssh.c:2053:19: acquire_resource: opened here
openssh-10.0p1/ssh.c:2053:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh.c:2054:20: branch_false: ...to here
openssh-10.0p1/ssh.c:2053:13: branch_true: following ‘true’ branch (when ‘out == -1’)...
openssh-10.0p1/ssh.c:2055:17: branch_true: ...to here
openssh-10.0p1/ssh.c:2055: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): [#def760]
openssh-10.0p1/ssh.c:2056:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh.c:2047:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh.c:2050:9: branch_false: ...to here
openssh-10.0p1/ssh.c:2053:19: acquire_resource: opened here
openssh-10.0p1/ssh.c:2053:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh.c:2054:20: branch_false: ...to here
openssh-10.0p1/ssh.c:2053:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh.c:2056:18: branch_false: ...to here
openssh-10.0p1/ssh.c:2056:18: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def761]
openssh-10.0p1/ssh.c:2056:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh.c:2047:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh.c:2050:9: branch_false: ...to here
openssh-10.0p1/ssh.c:2053:12: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/ssh.c:2054:20: branch_false: ...to here
openssh-10.0p1/ssh.c:2054:20: acquire_resource: opened here
openssh-10.0p1/ssh.c:2053:13: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/ssh.c:2056:18: branch_false: ...to here
openssh-10.0p1/ssh.c:2056:18: danger: ‘out’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def762]
openssh-10.0p1/ssh.c:2255:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
openssh-10.0p1/ssh.c:2246:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh.c:2247:22: branch_true: ...to here
openssh-10.0p1/ssh.c:2252:15: acquire_resource: opened here
openssh-10.0p1/ssh.c:2254:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh.c:2255:17: branch_true: ...to here
openssh-10.0p1/ssh.c:2255:17: danger: ‘err’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def763]
openssh-10.0p1/ssh.c:2255:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh.c:2246:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh.c:2247:22: branch_true: ...to here
openssh-10.0p1/ssh.c:2247:22: acquire_resource: opened here
openssh-10.0p1/ssh.c:2254:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh.c:2255:17: branch_true: ...to here
openssh-10.0p1/ssh.c:2255: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): [#def764]
openssh-10.0p1/ssh.c:2255:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh.c:2246:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh.c:2247:22: branch_true: ...to here
openssh-10.0p1/ssh.c:2251:15: acquire_resource: opened here
openssh-10.0p1/ssh.c:2254:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh.c:2255:17: branch_true: ...to here
openssh-10.0p1/ssh.c:2255:17: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def765]
openssh-10.0p1/ssh.c:2263:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err’
openssh-10.0p1/ssh.c:2246:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh.c:2247:22: branch_true: ...to here
openssh-10.0p1/ssh.c:2252:15: acquire_resource: opened here
openssh-10.0p1/ssh.c:2254:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh.c:2254:13: branch_false: ...to here
openssh-10.0p1/ssh.c:2254:13: branch_false: following ‘false’ branch (when ‘err != -1’)...
openssh-10.0p1/ssh.c:2259:13: branch_false: ...to here
openssh-10.0p1/ssh.c:2263:13: danger: ‘err’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def766]
openssh-10.0p1/ssh.c:2263:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/ssh.c:2246:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh.c:2249:22: branch_false: ...to here
openssh-10.0p1/ssh.c:2249:22: acquire_resource: opened here
openssh-10.0p1/ssh.c:2254:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh.c:2263:13: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def767]
openssh-10.0p1/ssh.c:2263:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/ssh.c:2246:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh.c:2247:22: branch_true: ...to here
openssh-10.0p1/ssh.c:2251:15: acquire_resource: opened here
openssh-10.0p1/ssh.c:2254:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh.c:2263:13: danger: ‘out’ leaks here; was opened at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def768]
openssh-10.0p1/ssh_api.c:552:30: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:31: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:552: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): [#def769]
openssh-10.0p1/ssh_api.c:552:30: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:24: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:552:30: danger: ‘replace’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def770]
openssh-10.0p1/ssh_api.c:554:23: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:31: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:554:23: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def771]
openssh-10.0p1/ssh_api.c:554:23: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:24: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:554:23: danger: ‘replace’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def772]
openssh-10.0p1/ssh_api.c:557:31: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:31: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:557:31: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def773]
openssh-10.0p1/ssh_api.c:557:31: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:24: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:557:31: danger: ‘replace’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def774]
openssh-10.0p1/ssh_api.c:558:45: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:31: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:558:45: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def775]
openssh-10.0p1/ssh_api.c:558:45: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:24: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:558:45: danger: ‘replace’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def776]
openssh-10.0p1/ssh_api.c:560:29: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:31: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:560: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): [#def777]
openssh-10.0p1/ssh_api.c:560:29: warning[-Wanalyzer-malloc-leak]: leak of ‘replace’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:24: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:560:29: 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): [#def778]
openssh-10.0p1/ssh_api.c:571:17: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:31: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:564:28: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:566:25: branch_false: ...to here
openssh-10.0p1/ssh_api.c:570:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:571:17: branch_true: ...to here
openssh-10.0p1/ssh_api.c:571:17: danger: ‘avail’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def779]
openssh-10.0p1/ssh_api.c:572:17: warning[-Wanalyzer-malloc-leak]: leak of ‘avail’
openssh-10.0p1/ssh_api.c:538:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:540:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:541:31: acquire_memory: allocated here
openssh-10.0p1/ssh_api.c:541:12: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:545:18: branch_false: ...to here
openssh-10.0p1/ssh_api.c:546:12: branch_false: following ‘false’ branch (when ‘replace’ is non-NULL)...
openssh-10.0p1/ssh_api.c:550:9: branch_false: ...to here
openssh-10.0p1/ssh_api.c:551:16: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:564:28: branch_false: following ‘false’ branch...
openssh-10.0p1/ssh_api.c:566:25: branch_false: ...to here
openssh-10.0p1/ssh_api.c:570:12: branch_true: following ‘true’ branch...
openssh-10.0p1/ssh_api.c:571:17: branch_true: ...to here
openssh-10.0p1/ssh_api.c:572: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-404): [#def780]
openssh-10.0p1/sshbuf-getput-basic.c:376:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
openssh-10.0p1/sshbuf-getput-basic.c:366:12: branch_false: following ‘false’ branch (when ‘len >= 0’)...
openssh-10.0p1/sshbuf-getput-basic.c:370:12: branch_false: ...to here
openssh-10.0p1/sshbuf-getput-basic.c:370:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
openssh-10.0p1/sshbuf-getput-basic.c:374:9: branch_false: ...to here
openssh-10.0p1/sshbuf-getput-basic.c:375:9: acquire_resource: ‘va_copy’ called here
openssh-10.0p1/sshbuf-getput-basic.c:376: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): [#def781]
openssh-10.0p1/sshbuf-io.c:110:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘open(path, 577, 420)’
openssh-10.0p1/sshbuf-io.c:105:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshbuf-io.c:107:13: branch_false: ...to here
openssh-10.0p1/sshbuf-io.c:107:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshbuf-io.c:108:52: branch_false: ...to here
openssh-10.0p1/sshbuf-io.c:108:52: release_resource: first ‘close’ here
openssh-10.0p1/sshbuf-io.c:107:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sshbuf-io.c:109:26: branch_true: ...to here
openssh-10.0p1/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): [#def782]
openssh-10.0p1/sshbuf-misc.c:107:13: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
openssh-10.0p1/sshbuf-misc.c:105:18: acquire_memory: allocated here
openssh-10.0p1/sshbuf-misc.c:105:12: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
openssh-10.0p1/sshbuf-misc.c:107:13: branch_false: ...to here
openssh-10.0p1/sshbuf-misc.c:107: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): [#def783]
openssh-10.0p1/sshconnect.c:97:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:196:1: enter_function: entry to ‘ssh_proxy_connect’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:212:26: call_function: calling ‘expand_proxy_command’ from ‘ssh_proxy_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def784]
openssh-10.0p1/sshconnect.c:97:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[1]’
openssh-10.0p1/sshconnect.c:196:1: enter_function: entry to ‘ssh_proxy_connect’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:212:26: call_function: calling ‘expand_proxy_command’ from ‘ssh_proxy_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def785]
openssh-10.0p1/sshconnect.c:97:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:196:1: enter_function: entry to ‘ssh_proxy_connect’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:212:26: call_function: calling ‘expand_proxy_command’ from ‘ssh_proxy_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def786]
openssh-10.0p1/sshconnect.c:97:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:196:1: enter_function: entry to ‘ssh_proxy_connect’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:212:26: call_function: calling ‘expand_proxy_command’ from ‘ssh_proxy_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def787]
openssh-10.0p1/sshconnect.c:98:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:196:1: enter_function: entry to ‘ssh_proxy_connect’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:212:26: call_function: calling ‘expand_proxy_command’ from ‘ssh_proxy_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def788]
openssh-10.0p1/sshconnect.c:98:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[1]’
openssh-10.0p1/sshconnect.c:196:1: enter_function: entry to ‘ssh_proxy_connect’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:212:26: call_function: calling ‘expand_proxy_command’ from ‘ssh_proxy_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def789]
openssh-10.0p1/sshconnect.c:98:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:196:1: enter_function: entry to ‘ssh_proxy_connect’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:212:26: call_function: calling ‘expand_proxy_command’ from ‘ssh_proxy_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def790]
openssh-10.0p1/sshconnect.c:98:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:196:1: enter_function: entry to ‘ssh_proxy_connect’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:212:26: call_function: calling ‘expand_proxy_command’ from ‘ssh_proxy_connect’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def791]
openssh-10.0p1/sshconnect.c:140:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(sp[0], 0)’
openssh-10.0p1/sshconnect.c:125:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:129:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:134:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:137:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:139:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:140:29: branch_true: ...to here
openssh-10.0p1/sshconnect.c:140:29: acquire_resource: opened here
openssh-10.0p1/sshconnect.c:140:28: danger: ‘dup2(sp[0], 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def792]
openssh-10.0p1/sshconnect.c:144:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(sp[0], 1)’
openssh-10.0p1/sshconnect.c:125:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:129:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:134:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:137:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:143:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:144:29: branch_true: ...to here
openssh-10.0p1/sshconnect.c:144:29: acquire_resource: opened here
openssh-10.0p1/sshconnect.c:144:28: danger: ‘dup2(sp[0], 1)’ leaks here; was opened at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def793]
openssh-10.0p1/sshconnect.c:209:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:209:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:209:17: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def794]
openssh-10.0p1/sshconnect.c:209:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:209:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:209:17: danger: ‘pin[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def795]
openssh-10.0p1/sshconnect.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:214:9: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def796]
openssh-10.0p1/sshconnect.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:214:9: danger: ‘pin[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def797]
openssh-10.0p1/sshconnect.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:214:9: danger: ‘pout[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def798]
openssh-10.0p1/sshconnect.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:214:9: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def799]
openssh-10.0p1/sshconnect.c:221:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:221:17: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def800]
openssh-10.0p1/sshconnect.c:221:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:221:17: danger: ‘pin[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def801]
openssh-10.0p1/sshconnect.c:221:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:221:17: danger: ‘pout[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def802]
openssh-10.0p1/sshconnect.c:221:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:221:17: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def803]
openssh-10.0p1/sshconnect.c:223:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pin[0], 0)’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:223:29: branch_true: ...to here
openssh-10.0p1/sshconnect.c:223:29: acquire_resource: opened here
openssh-10.0p1/sshconnect.c:223:28: danger: ‘dup2(pin[0], 0)’ leaks here; was opened at [(11)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def804]
openssh-10.0p1/sshconnect.c:224:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:223:29: branch_true: ...to here
openssh-10.0p1/sshconnect.c:223:28: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:224:33: branch_true: ...to here
openssh-10.0p1/sshconnect.c:224:33: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def805]
openssh-10.0p1/sshconnect.c:224:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:223:29: branch_true: ...to here
openssh-10.0p1/sshconnect.c:223:28: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:224:33: branch_true: ...to here
openssh-10.0p1/sshconnect.c:224:33: danger: ‘pout[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def806]
openssh-10.0p1/sshconnect.c:224:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:223:29: branch_true: ...to here
openssh-10.0p1/sshconnect.c:223:28: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:224:33: branch_true: ...to here
openssh-10.0p1/sshconnect.c:224:33: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def807]
openssh-10.0p1/sshconnect.c:225:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:223:29: branch_true: ...to here
openssh-10.0p1/sshconnect.c:225:25: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def808]
openssh-10.0p1/sshconnect.c:225:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:223:29: branch_true: ...to here
openssh-10.0p1/sshconnect.c:225:25: danger: ‘pout[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def809]
openssh-10.0p1/sshconnect.c:225:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:223:29: branch_true: ...to here
openssh-10.0p1/sshconnect.c:225:25: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def810]
openssh-10.0p1/sshconnect.c:227:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:227:17: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def811]
openssh-10.0p1/sshconnect.c:227:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:227:17: danger: ‘pout[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def812]
openssh-10.0p1/sshconnect.c:227:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:227:17: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def813]
openssh-10.0p1/sshconnect.c:228:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pout[1], 1)’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:228:21: acquire_resource: opened here
openssh-10.0p1/sshconnect.c:228:20: danger: ‘dup2(pout[1], 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def814]
openssh-10.0p1/sshconnect.c:229:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:228:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:229:25: branch_true: ...to here
openssh-10.0p1/sshconnect.c:229:25: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def815]
openssh-10.0p1/sshconnect.c:229:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:228:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:229:25: branch_true: ...to here
openssh-10.0p1/sshconnect.c:229:25: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def816]
openssh-10.0p1/sshconnect.c:231:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:231:17: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def817]
openssh-10.0p1/sshconnect.c:231:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:231:17: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def818]
openssh-10.0p1/sshconnect.c:238:48: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:237:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:238:48: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def819]
openssh-10.0p1/sshconnect.c:239:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:237:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:237:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect.c:239:25: branch_true: ...to here
openssh-10.0p1/sshconnect.c:239:25: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def820]
openssh-10.0p1/sshconnect.c:250:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:250:17: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def821]
openssh-10.0p1/sshconnect.c:252:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect.c:221:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:222:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:227:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:252:17: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def822]
openssh-10.0p1/sshconnect.c:257:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect.c:257:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:257:17: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def823]
openssh-10.0p1/sshconnect.c:257:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect.c:257:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:257:17: danger: ‘pin[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def824]
openssh-10.0p1/sshconnect.c:257:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect.c:257:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:257:17: danger: ‘pout[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def825]
openssh-10.0p1/sshconnect.c:257:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect.c:257:17: branch_true: ...to here
openssh-10.0p1/sshconnect.c:257:17: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def826]
openssh-10.0p1/sshconnect.c:262:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect.c:259:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:262:9: danger: ‘pin[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def827]
openssh-10.0p1/sshconnect.c:262:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect.c:259:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:262:9: danger: ‘pin[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def828]
openssh-10.0p1/sshconnect.c:262:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect.c:259:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:262:9: danger: ‘pout[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def829]
openssh-10.0p1/sshconnect.c:262:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect.c:259:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:262:9: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def830]
openssh-10.0p1/sshconnect.c:263:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect.c:259:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:263:9: danger: ‘pin[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def831]
openssh-10.0p1/sshconnect.c:263:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect.c:259:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:263:9: danger: ‘pout[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def832]
openssh-10.0p1/sshconnect.c:263:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect.c:259:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:263:9: danger: ‘pout[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def833]
openssh-10.0p1/sshconnect.c:269:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pin[1]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect.c:259:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:269:13: danger: ‘pin[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def834]
openssh-10.0p1/sshconnect.c:269:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pout[0]’
openssh-10.0p1/sshconnect.c:208:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:208:32: branch_false: ...to here
openssh-10.0p1/sshconnect.c:208:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:212:26: branch_false: ...to here
openssh-10.0p1/sshconnect.c:217:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect.c:256:12: branch_false: ...to here
openssh-10.0p1/sshconnect.c:256:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect.c:259:17: branch_false: ...to here
openssh-10.0p1/sshconnect.c:269:13: danger: ‘pout[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def835]
openssh-10.0p1/sshconnect.c:367:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
openssh-10.0p1/sshconnect.c:362:16: acquire_resource: socket created here
openssh-10.0p1/sshconnect.c:363:12: branch_false: following ‘false’ branch (when ‘sock != -1’)...
openssh-10.0p1/sshconnect.c:367:15: branch_false: ...to here
openssh-10.0p1/sshconnect.c:367:15: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def836]
openssh-10.0p1/sshconnect.c:559:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/sshconnect.c:552:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:555:20: branch_false: ...to here
openssh-10.0p1/sshconnect.c:555:19: branch_true: following ‘true’ branch (when the strings are equal)...
openssh-10.0p1/sshconnect.c:556:27: branch_true: ...to here
openssh-10.0p1/sshconnect.c:556:27: acquire_resource: opened here
openssh-10.0p1/sshconnect.c:556:20: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/sshconnect.c:557:28: branch_false: ...to here
openssh-10.0p1/sshconnect.c:556:21: branch_true: following ‘true’ branch (when ‘out == -1’)...
openssh-10.0p1/sshconnect.c:558:28: branch_true: ...to here
openssh-10.0p1/sshconnect.c:558:28: branch_true: following ‘true’ branch (when ‘in >= 0’)...
openssh-10.0p1/sshconnect.c:559:33: branch_true: ...to here
openssh-10.0p1/sshconnect.c:559:33: danger: ‘in’ leaks here; was opened at [(5)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def837]
openssh-10.0p1/sshconnect.c:560:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/sshconnect.c:552:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:555:20: branch_false: ...to here
openssh-10.0p1/sshconnect.c:555:19: branch_true: following ‘true’ branch (when the strings are equal)...
openssh-10.0p1/sshconnect.c:556:27: branch_true: ...to here
openssh-10.0p1/sshconnect.c:556:27: acquire_resource: opened here
openssh-10.0p1/sshconnect.c:556:20: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/sshconnect.c:557:28: branch_false: ...to here
openssh-10.0p1/sshconnect.c:556:21: branch_true: following ‘true’ branch (when ‘out == -1’)...
openssh-10.0p1/sshconnect.c:558:28: branch_true: ...to here
openssh-10.0p1/sshconnect.c:558:28: branch_false: following ‘false’ branch (when ‘in < 0’)...
openssh-10.0p1/sshconnect.c:560:25: branch_false: ...to here
openssh-10.0p1/sshconnect.c:560:25: danger: ‘in’ leaks here; was opened at [(5)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def838]
openssh-10.0p1/sshconnect.c:563:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in’
openssh-10.0p1/sshconnect.c:552:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:555:20: branch_false: ...to here
openssh-10.0p1/sshconnect.c:555:19: branch_true: following ‘true’ branch (when the strings are equal)...
openssh-10.0p1/sshconnect.c:556:27: branch_true: ...to here
openssh-10.0p1/sshconnect.c:556:27: acquire_resource: opened here
openssh-10.0p1/sshconnect.c:556:20: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/sshconnect.c:557:28: branch_false: ...to here
openssh-10.0p1/sshconnect.c:556:21: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/sshconnect.c:563:21: branch_false: ...to here
openssh-10.0p1/sshconnect.c:563:21: danger: ‘in’ leaks here; was opened at [(5)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def839]
openssh-10.0p1/sshconnect.c:563:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out’
openssh-10.0p1/sshconnect.c:552:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect.c:555:20: branch_false: ...to here
openssh-10.0p1/sshconnect.c:555:19: branch_true: following ‘true’ branch (when the strings are equal)...
openssh-10.0p1/sshconnect.c:556:27: branch_true: ...to here
openssh-10.0p1/sshconnect.c:556:20: branch_false: following ‘false’ branch (when ‘in != -1’)...
openssh-10.0p1/sshconnect.c:557:28: branch_false: ...to here
openssh-10.0p1/sshconnect.c:557:28: acquire_resource: opened here
openssh-10.0p1/sshconnect.c:556:21: branch_false: following ‘false’ branch (when ‘out != -1’)...
openssh-10.0p1/sshconnect.c:563:21: branch_false: ...to here
openssh-10.0p1/sshconnect.c:563:21: danger: ‘out’ leaks here; was opened at [(7)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def840]
openssh-10.0p1/sshconnect2.c:2204:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect2.c:2219:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2204:24: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def841]
openssh-10.0p1/sshconnect2.c:2204:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect2.c:2219:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2204:24: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def842]
openssh-10.0p1/sshconnect2.c:2204:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2215:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2204:24: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def843]
openssh-10.0p1/sshconnect2.c:2204:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2215:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2204:24: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def844]
openssh-10.0p1/sshconnect2.c:2215:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2215:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2215:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def845]
openssh-10.0p1/sshconnect2.c:2215:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2215:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2215:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def846]
openssh-10.0p1/sshconnect2.c:2219:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect2.c:2219:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2219:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def847]
openssh-10.0p1/sshconnect2.c:2219:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect2.c:2219:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2219:17: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def848]
openssh-10.0p1/sshconnect2.c:2219:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect2.c:2219:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2219:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def849]
openssh-10.0p1/sshconnect2.c:2219:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_true: following ‘true’ branch (when ‘pid == -1’)...
openssh-10.0p1/sshconnect2.c:2219:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2219:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def850]
openssh-10.0p1/sshconnect2.c:2222:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2222:20: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def851]
openssh-10.0p1/sshconnect2.c:2222:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2222:20: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def852]
openssh-10.0p1/sshconnect2.c:2222:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2222:20: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def853]
openssh-10.0p1/sshconnect2.c:2222:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2222:20: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def854]
openssh-10.0p1/sshconnect2.c:2224:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2224:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def855]
openssh-10.0p1/sshconnect2.c:2224:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2224:17: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def856]
openssh-10.0p1/sshconnect2.c:2224:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2224:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def857]
openssh-10.0p1/sshconnect2.c:2224:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2224:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def858]
openssh-10.0p1/sshconnect2.c:2225:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(from[1], 1)’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:21: acquire_resource: opened here
openssh-10.0p1/sshconnect2.c:2225: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): [#def859]
openssh-10.0p1/sshconnect2.c:2226:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2226:25: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2226:25: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def860]
openssh-10.0p1/sshconnect2.c:2226:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2226:25: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2226:25: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def861]
openssh-10.0p1/sshconnect2.c:2226:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2226:25: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2226:25: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def862]
openssh-10.0p1/sshconnect2.c:2227:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2227:17: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def863]
openssh-10.0p1/sshconnect2.c:2227:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2227:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def864]
openssh-10.0p1/sshconnect2.c:2227:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2227:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def865]
openssh-10.0p1/sshconnect2.c:2228:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(to[0], 0)’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2228:21: acquire_resource: opened here
openssh-10.0p1/sshconnect2.c:2228: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): [#def866]
openssh-10.0p1/sshconnect2.c:2229:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2228:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2229:25: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2229:25: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def867]
openssh-10.0p1/sshconnect2.c:2229:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2228:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2229:25: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2229:25: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def868]
openssh-10.0p1/sshconnect2.c:2230:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2228:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2230:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2230:17: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def869]
openssh-10.0p1/sshconnect2.c:2230:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2228:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2230:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2230:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def870]
openssh-10.0p1/sshconnect2.c:2231:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2228:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2230:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2231:17: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def871]
openssh-10.0p1/sshconnect2.c:2233:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(ssh_packet_get_connection_in(ssh), 3)’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshconnect2.c:2224:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2225:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2227:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2228:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2230:17: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2233:21: acquire_resource: opened here
openssh-10.0p1/sshconnect2.c:2233: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): [#def872]
openssh-10.0p1/sshconnect2.c:2246:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2246:9: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def873]
openssh-10.0p1/sshconnect2.c:2246:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2246:9: danger: ‘from[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def874]
openssh-10.0p1/sshconnect2.c:2246:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2246:9: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def875]
openssh-10.0p1/sshconnect2.c:2246:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2246:9: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def876]
openssh-10.0p1/sshconnect2.c:2247:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2247:9: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def877]
openssh-10.0p1/sshconnect2.c:2247:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2247:9: danger: ‘to[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def878]
openssh-10.0p1/sshconnect2.c:2247:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2247:9: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def879]
openssh-10.0p1/sshconnect2.c:2250:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:18: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def880]
openssh-10.0p1/sshconnect2.c:2250:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:18: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def881]
openssh-10.0p1/sshconnect2.c:2251:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2251:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2251:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def882]
openssh-10.0p1/sshconnect2.c:2251:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2251:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2251:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def883]
openssh-10.0p1/sshconnect2.c:2253:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:18: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def884]
openssh-10.0p1/sshconnect2.c:2253:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:18: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def885]
openssh-10.0p1/sshconnect2.c:2254:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2254:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2254:18: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def886]
openssh-10.0p1/sshconnect2.c:2254:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2254:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2254:18: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def887]
openssh-10.0p1/sshconnect2.c:2255:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2255:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def888]
openssh-10.0p1/sshconnect2.c:2255:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2255:17: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def889]
openssh-10.0p1/sshconnect2.c:2256:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2254:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2256:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2256:13: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def890]
openssh-10.0p1/sshconnect2.c:2256:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to[1]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2254:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2256:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2256:13: danger: ‘to[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def891]
openssh-10.0p1/sshconnect2.c:2257:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2254:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2256:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2256:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshconnect2.c:2257:17: branch_true: ...to here
openssh-10.0p1/sshconnect2.c:2257:17: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def892]
openssh-10.0p1/sshconnect2.c:2258:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2254:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2256:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2256:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2258:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2258:9: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def893]
openssh-10.0p1/sshconnect2.c:2259:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘from[0]’
openssh-10.0p1/sshconnect2.c:2202:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2206:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2206:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2210:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2210:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2214:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2214:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2218:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2218:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshconnect2.c:2222:20: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2223:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
openssh-10.0p1/sshconnect2.c:2246:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2250:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2253:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2254:18: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2253:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2256:13: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2256:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshconnect2.c:2258:9: branch_false: ...to here
openssh-10.0p1/sshconnect2.c:2259:13: danger: ‘from[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def894]
openssh-10.0p1/sshd-auth.c:656:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_in’
openssh-10.0p1/sshd-auth.c:604:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-auth.c:608:9: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:612:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-auth.c:627:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:638:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-auth.c:644:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:644:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-auth.c:653:38: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:653:38: acquire_resource: opened here
openssh-10.0p1/sshd-auth.c:656:13: danger: ‘sock_in’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def895]
openssh-10.0p1/sshd-auth.c:656:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_out’
openssh-10.0p1/sshd-auth.c:604:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-auth.c:608:9: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:612:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-auth.c:627:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:638:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-auth.c:644:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:644:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-auth.c:649:27: branch_true: ...to here
openssh-10.0p1/sshd-auth.c:650:28: acquire_resource: opened here
openssh-10.0p1/sshd-auth.c:656:13: danger: ‘sock_out’ leaks here; was opened at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def896]
openssh-10.0p1/sshd-auth.c:657:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_in’
openssh-10.0p1/sshd-auth.c:604:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-auth.c:608:9: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:612:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-auth.c:627:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:638:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-auth.c:644:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:644:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-auth.c:653:38: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:653:38: acquire_resource: opened here
openssh-10.0p1/sshd-auth.c:656:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-auth.c:657:17: branch_true: ...to here
openssh-10.0p1/sshd-auth.c:657:17: danger: ‘sock_in’ leaks here; was opened at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def897]
openssh-10.0p1/sshd-auth.c:657:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_out’
openssh-10.0p1/sshd-auth.c:604:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-auth.c:608:9: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:612:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-auth.c:627:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:638:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-auth.c:644:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:644:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-auth.c:649:27: branch_true: ...to here
openssh-10.0p1/sshd-auth.c:650:28: acquire_resource: opened here
openssh-10.0p1/sshd-auth.c:656:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-auth.c:657:17: branch_true: ...to here
openssh-10.0p1/sshd-auth.c:657:17: danger: ‘sock_out’ leaks here; was opened at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def898]
openssh-10.0p1/sshd-auth.c:658:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_in’
openssh-10.0p1/sshd-auth.c:604:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-auth.c:608:9: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:612:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-auth.c:627:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:638:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-auth.c:644:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:644:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-auth.c:653:38: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:653:38: acquire_resource: opened here
openssh-10.0p1/sshd-auth.c:658:9: danger: ‘sock_in’ leaks here; was opened at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def899]
openssh-10.0p1/sshd-auth.c:658:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_out’
openssh-10.0p1/sshd-auth.c:604:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-auth.c:608:9: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:612:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-auth.c:627:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:638:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-auth.c:644:13: branch_false: ...to here
openssh-10.0p1/sshd-auth.c:644:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-auth.c:649:27: branch_true: ...to here
openssh-10.0p1/sshd-auth.c:650:28: acquire_resource: opened here
openssh-10.0p1/sshd-auth.c:658:9: danger: ‘sock_out’ leaks here; was opened at [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def900]
openssh-10.0p1/sshd-session.c:471:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(ssh_packet_get_connection_in(ssh), 0)’
openssh-10.0p1/sshd-session.c:422:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshd-session.c:424:17: branch_false: ...to here
openssh-10.0p1/sshd-session.c:424:17: branch_false: following ‘false’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshd-session.c:456:31: branch_false: ...to here
openssh-10.0p1/sshd-session.c:471:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-session.c:472:21: branch_true: ...to here
openssh-10.0p1/sshd-session.c:472:21: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:471: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): [#def901]
openssh-10.0p1/sshd-session.c:474:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(ssh_packet_get_connection_out(ssh), 1)’
openssh-10.0p1/sshd-session.c:422:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshd-session.c:424:17: branch_false: ...to here
openssh-10.0p1/sshd-session.c:424:17: branch_false: following ‘false’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshd-session.c:456:31: branch_false: ...to here
openssh-10.0p1/sshd-session.c:474:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-session.c:475:21: branch_true: ...to here
openssh-10.0p1/sshd-session.c:475:21: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:474: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): [#def902]
openssh-10.0p1/sshd-session.c:480:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*pmonitor.m_recvfd, 3)’
openssh-10.0p1/sshd-session.c:422:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshd-session.c:424:17: branch_false: ...to here
openssh-10.0p1/sshd-session.c:424:17: branch_false: following ‘false’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshd-session.c:456:31: branch_false: ...to here
openssh-10.0p1/sshd-session.c:480:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-session.c:481:21: branch_true: ...to here
openssh-10.0p1/sshd-session.c:481:21: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:480: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): [#def903]
openssh-10.0p1/sshd-session.c:483:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*pmonitor.m_log_sendfd, 4)’
openssh-10.0p1/sshd-session.c:422:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
openssh-10.0p1/sshd-session.c:424:17: branch_false: ...to here
openssh-10.0p1/sshd-session.c:424:17: branch_false: following ‘false’ branch (when ‘pid == 0’)...
openssh-10.0p1/sshd-session.c:456:31: branch_false: ...to here
openssh-10.0p1/sshd-session.c:483:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-session.c:484:21: branch_true: ...to here
openssh-10.0p1/sshd-session.c:484:21: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:483: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): [#def904]
openssh-10.0p1/sshd-session.c:782:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:935:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1141:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1142:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def905]
openssh-10.0p1/sshd-session.c:784:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:935:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1141:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1142:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def906]
openssh-10.0p1/sshd-session.c:784:50: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:935:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1141:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1142:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def907]
openssh-10.0p1/sshd-session.c:785:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:935:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1141:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1142:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def908]
openssh-10.0p1/sshd-session.c:788:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:935:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1141:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1142:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def909]
openssh-10.0p1/sshd-session.c:789:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:935:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1141:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1142:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def910]
openssh-10.0p1/sshd-session.c:790:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:935:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1141:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1142:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def911]
openssh-10.0p1/sshd-session.c:791:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:935:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1141:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1142:9: call_function: calling ‘recv_rexec_state’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def912]
openssh-10.0p1/sshd-session.c:1108:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd-session.c:1108:32: branch_true: ...to here
openssh-10.0p1/sshd-session.c:1108:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1108:20: danger: ‘devnull’ leaks here; was opened at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def913]
openssh-10.0p1/sshd-session.c:1109:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd-session.c:1108:32: branch_true: ...to here
openssh-10.0p1/sshd-session.c:1108:20: branch_true: following ‘true’ branch (when ‘devnull == -1’)...
openssh-10.0p1/sshd-session.c:1109:25: branch_true: ...to here
openssh-10.0p1/sshd-session.c:1109: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): [#def914]
openssh-10.0p1/sshd-session.c:1112:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1112: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): [#def915]
openssh-10.0p1/sshd-session.c:1131:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1131:9: danger: ‘devnull’ leaks here; was opened at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def916]
openssh-10.0p1/sshd-session.c:1139:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:20: danger: ‘devnull’ leaks here; was opened at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def917]
openssh-10.0p1/sshd-session.c:1140:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd-session.c:1140:17: branch_true: ...to here
openssh-10.0p1/sshd-session.c:1140:17: 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): [#def918]
openssh-10.0p1/sshd-session.c:1141:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd-session.c:1092:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1097:12: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1097:12: branch_false: following ‘false’ branch (when ‘rexeced_flag != 0’)...
openssh-10.0p1/sshd-session.c:1100:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1105:24: acquire_resource: opened here
openssh-10.0p1/sshd-session.c:1105:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd-session.c:1107:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd-session.c:1112:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1115:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd-session.c:1136:13: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1139:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd-session.c:1141:9: branch_false: ...to here
openssh-10.0p1/sshd-session.c:1141:9: 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): [#def919]
openssh-10.0p1/sshd.c:830:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_sock’
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:840:31: acquire_resource: socket created here
openssh-10.0p1/sshd.c:842:20: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
openssh-10.0p1/sshd.c:847:21: branch_false: ...to here
openssh-10.0p1/sshd.c:881:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:884:17: branch_false: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:830:25: danger: ‘listen_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def920]
openssh-10.0p1/sshd.c:832:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_sock’
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:840:31: acquire_resource: socket created here
openssh-10.0p1/sshd.c:842:20: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
openssh-10.0p1/sshd.c:847:21: branch_false: ...to here
openssh-10.0p1/sshd.c:881:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:884:17: branch_false: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:832:28: danger: ‘listen_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def921]
openssh-10.0p1/sshd.c:835:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_sock’
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:840:31: acquire_resource: socket created here
openssh-10.0p1/sshd.c:842:20: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
openssh-10.0p1/sshd.c:847:21: branch_false: ...to here
openssh-10.0p1/sshd.c:881:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:884:17: branch_false: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:835:25: danger: ‘listen_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def922]
openssh-10.0p1/sshd.c:842:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:840:31: acquire_resource: socket created here
openssh-10.0p1/sshd.c:842:20: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
openssh-10.0p1/sshd.c:847:21: branch_false: ...to here
openssh-10.0p1/sshd.c:881:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:884:17: branch_false: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:842:20: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def923]
openssh-10.0p1/sshd.c:847:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_sock’
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:827:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:829:21: branch_false: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:832:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:840:31: branch_false: ...to here
openssh-10.0p1/sshd.c:840:31: acquire_resource: socket created here
openssh-10.0p1/sshd.c:842:20: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
openssh-10.0p1/sshd.c:847:21: branch_false: ...to here
openssh-10.0p1/sshd.c:847:21: danger: ‘listen_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def924]
openssh-10.0p1/sshd.c:882:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_sock’
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:840:31: acquire_resource: socket created here
openssh-10.0p1/sshd.c:842:20: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
openssh-10.0p1/sshd.c:847:21: branch_false: ...to here
openssh-10.0p1/sshd.c:881:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:882:25: branch_true: ...to here
openssh-10.0p1/sshd.c:882:25: danger: ‘listen_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def925]
openssh-10.0p1/sshd.c:884:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_sock’
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:840:31: acquire_resource: socket created here
openssh-10.0p1/sshd.c:842:20: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
openssh-10.0p1/sshd.c:847:21: branch_false: ...to here
openssh-10.0p1/sshd.c:881:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:884:17: branch_false: ...to here
openssh-10.0p1/sshd.c:884:17: danger: ‘listen_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def926]
openssh-10.0p1/sshd.c:889:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listen_sock’
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:826:30: branch_true: following ‘true’ branch (when ‘ai’ is non-NULL)...
openssh-10.0p1/sshd.c:827:21: branch_true: ...to here
openssh-10.0p1/sshd.c:829:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:832:28: branch_false: ...to here
openssh-10.0p1/sshd.c:840:31: acquire_resource: socket created here
openssh-10.0p1/sshd.c:842:20: branch_false: following ‘false’ branch (when ‘listen_sock != -1’)...
openssh-10.0p1/sshd.c:847:21: branch_false: ...to here
openssh-10.0p1/sshd.c:881:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:884:17: branch_false: ...to here
openssh-10.0p1/sshd.c:889:1: danger: ‘listen_sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def927]
openssh-10.0p1/sshd.c:1255:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1306:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def928]
openssh-10.0p1/sshd.c:1256:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1306:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def929]
openssh-10.0p1/sshd.c:1259:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1306:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def930]
openssh-10.0p1/sshd.c:1259:44: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1306:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def931]
openssh-10.0p1/sshd.c:1261:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1306:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def932]
openssh-10.0p1/sshd.c:1262:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1306:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def933]
openssh-10.0p1/sshd.c:1263:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1306:1: enter_function: entry to ‘main’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1697:9: call_function: calling ‘accumulate_host_timing_secret’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def934]
openssh-10.0p1/sshd.c:1482:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd.c:1482:32: branch_true: ...to here
openssh-10.0p1/sshd.c:1482:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
branch_false: ...to here
openssh-10.0p1/sshd.c:1482:20: 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): [#def935]
openssh-10.0p1/sshd.c:1483:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd.c:1482:32: branch_true: ...to here
openssh-10.0p1/sshd.c:1482:20: branch_true: following ‘true’ branch (when ‘devnull == -1’)...
openssh-10.0p1/sshd.c:1483:25: branch_true: ...to here
openssh-10.0p1/sshd.c:1483:25: 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): [#def936]
openssh-10.0p1/sshd.c:1486:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1486:9: 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): [#def937]
openssh-10.0p1/sshd.c:1493:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1360:16: branch_true: following ‘true’ branch (when ‘opt != -1’)...
openssh-10.0p1/sshd.c:1362:17: branch_true: ...to here
openssh-10.0p1/sshd.c:1360:16: branch_false: following ‘false’ branch (when ‘opt == -1’)...
openssh-10.0p1/sshd.c:1473:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1473:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1473:59: branch_true: ...to here
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_true: following ‘true’ branch (when ‘logfile’ is non-NULL)...
openssh-10.0p1/sshd.c:1492:70: branch_true: ...to here
openssh-10.0p1/sshd.c:1493:22: danger: ‘devnull’ leaks here; was opened at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def938]
openssh-10.0p1/sshd.c:1497:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1360:16: branch_true: following ‘true’ branch (when ‘opt != -1’)...
openssh-10.0p1/sshd.c:1362:17: branch_true: ...to here
openssh-10.0p1/sshd.c:1360:16: branch_false: following ‘false’ branch (when ‘opt == -1’)...
openssh-10.0p1/sshd.c:1473:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1473:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1473:59: branch_true: ...to here
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_true: following ‘true’ branch (when ‘logfile’ is non-NULL)...
openssh-10.0p1/sshd.c:1492:70: branch_true: ...to here
openssh-10.0p1/sshd.c:1497:17: danger: ‘devnull’ leaks here; was opened at [(9)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def939]
openssh-10.0p1/sshd.c:1505:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1505: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): [#def940]
openssh-10.0p1/sshd.c:1529:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1529:9: 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): [#def941]
openssh-10.0p1/sshd.c:1534:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1534:9: 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): [#def942]
openssh-10.0p1/sshd.c:1536:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1536:9: 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): [#def943]
openssh-10.0p1/sshd.c:1540:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:20: 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): [#def944]
openssh-10.0p1/sshd.c:1541:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1541:17: branch_true: ...to here
openssh-10.0p1/sshd.c:1541:17: 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): [#def945]
openssh-10.0p1/sshd.c:1543:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1542:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1543:17: branch_true: ...to here
openssh-10.0p1/sshd.c:1543:17: 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): [#def946]
openssh-10.0p1/sshd.c:1545:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1545:9: 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): [#def947]
openssh-10.0p1/sshd.c:1549:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1549:9: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def948]
openssh-10.0p1/sshd.c:1555:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1552:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1553:14: branch_true: ...to here
openssh-10.0p1/sshd.c:1552:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1554:13: branch_true: ...to here
openssh-10.0p1/sshd.c:1553:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1555:17: branch_true: ...to here
openssh-10.0p1/sshd.c:1555:17: 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): [#def949]
openssh-10.0p1/sshd.c:1560:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1557:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1558:14: branch_true: ...to here
openssh-10.0p1/sshd.c:1557:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1559:13: branch_true: ...to here
openssh-10.0p1/sshd.c:1558:13: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1560:17: branch_true: ...to here
openssh-10.0p1/sshd.c:1560:17: 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): [#def950]
openssh-10.0p1/sshd.c:1571:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1569:12: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/sshd.c:1570:29: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1571:49: branch_true: ...to here
openssh-10.0p1/sshd.c:1571:29: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def951]
openssh-10.0p1/sshd.c:1576:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1569:12: branch_true: following ‘true’ branch...
branch_true: ...to here
openssh-10.0p1/sshd.c:1575:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1576:25: branch_true: ...to here
openssh-10.0p1/sshd.c:1576:25: 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): [#def952]
openssh-10.0p1/sshd.c:1590:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1590:36: 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): [#def953]
openssh-10.0p1/sshd.c:1592:39: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1592:39: 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): [#def954]
openssh-10.0p1/sshd.c:1599:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1596:21: branch_true: ...to here
openssh-10.0p1/sshd.c:1596:20: branch_false: following ‘false’ branch (when the strings are equal)...
openssh-10.0p1/sshd.c:1599:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1599:26: 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): [#def955]
openssh-10.0p1/sshd.c:1602:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1596:21: branch_true: ...to here
openssh-10.0p1/sshd.c:1599:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1602:25: branch_false: ...to here
openssh-10.0p1/sshd.c:1602:25: 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): [#def956]
openssh-10.0p1/sshd.c:1612:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1595:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1612: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): [#def957]
openssh-10.0p1/sshd.c:1614:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1612:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1612:21: branch_true: ...to here
openssh-10.0p1/sshd.c:1612:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1614:25: branch_true: ...to here
openssh-10.0p1/sshd.c:1614: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): [#def958]
openssh-10.0p1/sshd.c:1616:52: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1616:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1616:52: 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): [#def959]
openssh-10.0p1/sshd.c:1617:37: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1616:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1616:21: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1617:58: branch_false: ...to here
openssh-10.0p1/sshd.c:1617:37: 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): [#def960]
openssh-10.0p1/sshd.c:1618:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1616:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1618:21: 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): [#def961]
openssh-10.0p1/sshd.c:1619:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1616:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1619:21: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def962]
openssh-10.0p1/sshd.c:1623:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1623:21: 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): [#def963]
openssh-10.0p1/sshd.c:1625:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1623:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1624:24: branch_true: ...to here
openssh-10.0p1/sshd.c:1623:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1625:25: branch_true: ...to here
openssh-10.0p1/sshd.c:1625:25: 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): [#def964]
openssh-10.0p1/sshd.c:1630:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1629:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1630:26: 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): [#def965]
openssh-10.0p1/sshd.c:1631:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1629:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1631:25: 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): [#def966]
openssh-10.0p1/sshd.c:1633:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:24: acquire_resource: opened here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_false: following ‘false’ branch (when ‘devnull > 4’)...
openssh-10.0p1/sshd.c:1486:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1629:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1633:25: danger: ‘devnull’ leaks here; was opened at [(3)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def967]
openssh-10.0p1/sshd.c:1636:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd.c:1482:32: branch_true: ...to here
openssh-10.0p1/sshd.c:1482:32: acquire_resource: opened here
openssh-10.0p1/sshd.c:1482:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1636:26: danger: ‘devnull’ leaks here; was opened at [(7)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def968]
openssh-10.0p1/sshd.c:1638:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd.c:1482:32: branch_true: ...to here
openssh-10.0p1/sshd.c:1482:32: acquire_resource: opened here
openssh-10.0p1/sshd.c:1482:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1636:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1636:21: branch_true: ...to here
openssh-10.0p1/sshd.c:1636:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1638:25: branch_true: ...to here
openssh-10.0p1/sshd.c:1638:25: danger: ‘devnull’ leaks here; was opened at [(7)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def969]
openssh-10.0p1/sshd.c:1641:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd.c:1482:32: branch_true: ...to here
openssh-10.0p1/sshd.c:1482:32: acquire_resource: opened here
openssh-10.0p1/sshd.c:1482:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1640:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1641:30: danger: ‘devnull’ leaks here; was opened at [(7)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def970]
openssh-10.0p1/sshd.c:1642:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd.c:1482:32: branch_true: ...to here
openssh-10.0p1/sshd.c:1482:32: acquire_resource: opened here
openssh-10.0p1/sshd.c:1482:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1640:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1641:28: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1642:33: branch_true: ...to here
openssh-10.0p1/sshd.c:1642:33: danger: ‘devnull’ leaks here; was opened at [(7)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def971]
openssh-10.0p1/sshd.c:1644:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd.c:1482:32: branch_true: ...to here
openssh-10.0p1/sshd.c:1482:32: acquire_resource: opened here
openssh-10.0p1/sshd.c:1482:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1640:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1641:28: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1642:33: branch_true: ...to here
openssh-10.0p1/sshd.c:1644:33: danger: ‘devnull’ leaks here; was opened at [(7)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def972]
openssh-10.0p1/sshd.c:1649:34: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd.c:1482:32: branch_true: ...to here
openssh-10.0p1/sshd.c:1482:32: acquire_resource: opened here
openssh-10.0p1/sshd.c:1482:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1648:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1649:34: danger: ‘devnull’ leaks here; was opened at [(7)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def973]
openssh-10.0p1/sshd.c:1650:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘devnull’
openssh-10.0p1/sshd.c:1473:13: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1476:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1479:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshd.c:1481:16: branch_true: following ‘true’ branch (when ‘devnull <= 4’)...
openssh-10.0p1/sshd.c:1482:32: branch_true: ...to here
openssh-10.0p1/sshd.c:1482:32: acquire_resource: opened here
openssh-10.0p1/sshd.c:1482:20: branch_false: following ‘false’ branch (when ‘devnull != -1’)...
branch_false: ...to here
openssh-10.0p1/sshd.c:1489:12: branch_false: following ‘false’ branch (when ‘logfile’ is NULL)...
openssh-10.0p1/sshd.c:1505:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1525:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1529:9: branch_false: ...to here
openssh-10.0p1/sshd.c:1540:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1542:13: branch_false: ...to here
openssh-10.0p1/sshd.c:1581:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1586:12: branch_false: ...to here
openssh-10.0p1/sshd.c:1586:12: branch_false: following ‘false’ branch (when ‘do_dump_cfg == 0’)...
openssh-10.0p1/sshd.c:1590:44: branch_false: ...to here
openssh-10.0p1/sshd.c:1606:21: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1607:26: branch_true: ...to here
openssh-10.0p1/sshd.c:1610:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshd.c:1612:26: branch_false: ...to here
openssh-10.0p1/sshd.c:1648:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1649:28: branch_true: following ‘true’ branch...
openssh-10.0p1/sshd.c:1650:33: branch_true: ...to here
openssh-10.0p1/sshd.c:1650:33: danger: ‘devnull’ leaks here; was opened at [(7)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def974]
openssh-10.0p1/sshpty.c:121:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 258)’
openssh-10.0p1/sshpty.c:119:14: acquire_resource: opened here
openssh-10.0p1/sshpty.c:120:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshpty.c:121:17: branch_true: ...to here
openssh-10.0p1/sshpty.c:121: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): [#def975]
openssh-10.0p1/sshpty.c:122:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 258)’
openssh-10.0p1/sshpty.c:119:14: acquire_resource: opened here
openssh-10.0p1/sshpty.c:120:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshpty.c:121:17: branch_true: ...to here
openssh-10.0p1/sshpty.c:122: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): [#def976]
openssh-10.0p1/sshpty.c:138:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(tty, 2)’
openssh-10.0p1/sshpty.c:134:14: acquire_resource: opened here
openssh-10.0p1/sshpty.c:135:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshpty.c:138:17: branch_false: ...to here
openssh-10.0p1/sshpty.c:138: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): [#def977]
openssh-10.0p1/sshpty.c:146:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 1)’
openssh-10.0p1/sshpty.c:141:14: acquire_resource: opened here
openssh-10.0p1/sshpty.c:142:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshpty.c:146:17: branch_false: ...to here
openssh-10.0p1/sshpty.c:146: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): [#def978]
openssh-10.0p1/sshsig.c:655:26: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:736:1: enter_function: entry to ‘parse_principals_key_and_options’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:810:9: branch_false: ...to here
openssh-10.0p1/sshsig.c:810:9: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/sshsig.c:810:9: branch_true: ...to here
openssh-10.0p1/sshsig.c:811:24: call_function: calling ‘sshsigopt_parse’ from ‘parse_principals_key_and_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def979]
openssh-10.0p1/sshsig.c:655:26: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:655: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): [#def980]
openssh-10.0p1/sshsig.c:657:28: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:736:1: enter_function: entry to ‘parse_principals_key_and_options’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:810:9: branch_false: ...to here
openssh-10.0p1/sshsig.c:810:9: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/sshsig.c:810:9: branch_true: ...to here
openssh-10.0p1/sshsig.c:811:24: call_function: calling ‘sshsigopt_parse’ from ‘parse_principals_key_and_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def981]
openssh-10.0p1/sshsig.c:657:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.0p1/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): [#def982]
openssh-10.0p1/sshsig.c:662:43: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:736:1: enter_function: entry to ‘parse_principals_key_and_options’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:810:9: branch_false: ...to here
openssh-10.0p1/sshsig.c:810:9: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/sshsig.c:810:9: branch_true: ...to here
openssh-10.0p1/sshsig.c:811:24: call_function: calling ‘sshsigopt_parse’ from ‘parse_principals_key_and_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def983]
openssh-10.0p1/sshsig.c:662:43: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:658:28: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:662:43: branch_false: ...to here
openssh-10.0p1/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): [#def984]
openssh-10.0p1/sshsig.c:665:28: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:736:1: enter_function: entry to ‘parse_principals_key_and_options’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:810:9: branch_false: ...to here
openssh-10.0p1/sshsig.c:810:9: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/sshsig.c:810:9: branch_true: ...to here
openssh-10.0p1/sshsig.c:811:24: call_function: calling ‘sshsigopt_parse’ from ‘parse_principals_key_and_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def985]
openssh-10.0p1/sshsig.c:665:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:665:28: 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): [#def986]
openssh-10.0p1/sshsig.c:670:36: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:736:1: enter_function: entry to ‘parse_principals_key_and_options’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:810:9: branch_false: ...to here
openssh-10.0p1/sshsig.c:810:9: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/sshsig.c:810:9: branch_true: ...to here
openssh-10.0p1/sshsig.c:811:24: call_function: calling ‘sshsigopt_parse’ from ‘parse_principals_key_and_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def987]
openssh-10.0p1/sshsig.c:670:36: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:666:28: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:670:36: branch_false: ...to here
openssh-10.0p1/sshsig.c:670:36: 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): [#def988]
openssh-10.0p1/sshsig.c:672:29: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:736:1: enter_function: entry to ‘parse_principals_key_and_options’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:810:9: branch_false: ...to here
openssh-10.0p1/sshsig.c:810:9: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/sshsig.c:810:9: branch_true: ...to here
openssh-10.0p1/sshsig.c:811:24: call_function: calling ‘sshsigopt_parse’ from ‘parse_principals_key_and_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def989]
openssh-10.0p1/sshsig.c:672:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:666:28: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:670:36: branch_false: ...to here
openssh-10.0p1/sshsig.c:670:28: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:672:29: branch_false: ...to here
openssh-10.0p1/sshsig.c:672:29: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def990]
openssh-10.0p1/sshsig.c:679:28: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:736:1: enter_function: entry to ‘parse_principals_key_and_options’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:810:9: branch_false: ...to here
openssh-10.0p1/sshsig.c:810:9: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/sshsig.c:810:9: branch_true: ...to here
openssh-10.0p1/sshsig.c:811:24: call_function: calling ‘sshsigopt_parse’ from ‘parse_principals_key_and_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def991]
openssh-10.0p1/sshsig.c:679:28: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:665:27: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:679:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:679:28: 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): [#def992]
openssh-10.0p1/sshsig.c:684:36: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:736:1: enter_function: entry to ‘parse_principals_key_and_options’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:810:9: branch_false: ...to here
openssh-10.0p1/sshsig.c:810:9: branch_true: following ‘true’ branch (when ‘opts’ is non-NULL)...
openssh-10.0p1/sshsig.c:810:9: branch_true: ...to here
openssh-10.0p1/sshsig.c:811:24: call_function: calling ‘sshsigopt_parse’ from ‘parse_principals_key_and_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def993]
openssh-10.0p1/sshsig.c:684:36: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:665:27: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:679:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:680:28: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:684:36: branch_false: ...to here
openssh-10.0p1/sshsig.c:684:36: 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): [#def994]
openssh-10.0p1/sshsig.c:686:29: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
openssh-10.0p1/sshsig.c:648:20: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:648:12: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
openssh-10.0p1/sshsig.c:650:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:650:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:653:16: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:655:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:657:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:657:27: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:665:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:665:27: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:679:28: branch_false: ...to here
openssh-10.0p1/sshsig.c:680:28: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:684:36: branch_false: ...to here
openssh-10.0p1/sshsig.c:684:28: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:686:29: branch_false: ...to here
openssh-10.0p1/sshsig.c:686:29: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def995]
openssh-10.0p1/sshsig.c:774:21: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:773:12: branch_true: following ‘true’ branch (when ‘required_principal’ is non-NULL)...
openssh-10.0p1/sshsig.c:774:21: branch_true: ...to here
openssh-10.0p1/sshsig.c:774:21: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def996]
openssh-10.0p1/sshsig.c:780:17: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:773:12: branch_true: following ‘true’ branch (when ‘required_principal’ is non-NULL)...
openssh-10.0p1/sshsig.c:774:21: branch_true: ...to here
openssh-10.0p1/sshsig.c:774:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:780:17: branch_false: ...to here
openssh-10.0p1/sshsig.c:780:17: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def997]
openssh-10.0p1/sshsig.c:784:20: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:20: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def998]
openssh-10.0p1/sshsig.c:785:17: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:785:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:785:17: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def999]
openssh-10.0p1/sshsig.c:789:13: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:13: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1000]
openssh-10.0p1/sshsig.c:792:21: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:21: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1001]
openssh-10.0p1/sshsig.c:793:25: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:793:25: branch_true: ...to here
openssh-10.0p1/sshsig.c:793:25: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1002]
openssh-10.0p1/sshsig.c:798:25: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:798:25: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1003]
openssh-10.0p1/sshsig.c:803:17: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:803:17: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1004]
openssh-10.0p1/sshsig.c:804:21: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:21: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1005]
openssh-10.0p1/sshsig.c:805:25: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:791:17: branch_true: ...to here
openssh-10.0p1/sshsig.c:792:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:797:21: branch_false: ...to here
openssh-10.0p1/sshsig.c:797:20: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:804:20: branch_true: following ‘true’ branch...
openssh-10.0p1/sshsig.c:805:25: branch_true: ...to here
openssh-10.0p1/sshsig.c:805:25: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1006]
openssh-10.0p1/sshsig.c:810:9: warning[-Wanalyzer-malloc-leak]: leak of ‘principals’
openssh-10.0p1/sshsig.c:748:12: branch_false: following ‘false’ branch (when ‘sigoptsp’ is NULL)...
openssh-10.0p1/sshsig.c:750:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:750:12: branch_false: following ‘false’ branch (when ‘keyp’ is NULL)...
openssh-10.0p1/sshsig.c:754:19: branch_false: ...to here
openssh-10.0p1/sshsig.c:755:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:759:20: branch_false: ...to here
openssh-10.0p1/sshsig.c:759:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:764:27: acquire_memory: allocated here
openssh-10.0p1/sshsig.c:764:12: branch_false: following ‘false’ branch (when ‘principals’ is non-NULL)...
openssh-10.0p1/sshsig.c:773:12: branch_false: ...to here
openssh-10.0p1/sshsig.c:784:12: branch_false: following ‘false’ branch...
openssh-10.0p1/sshsig.c:789:13: branch_false: ...to here
openssh-10.0p1/sshsig.c:789:12: branch_false: following ‘false’ branch...
branch_false: ...to here
openssh-10.0p1/sshsig.c:810:9: danger: ‘principals’ leaks here; was allocated at [(9)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1007]
openssh-10.0p1/utf8.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
openssh-10.0p1/utf8.c:305:1: enter_function: entry to ‘mprintf’
openssh-10.0p1/utf8.c:311:15: call_function: calling ‘vfmprintf’ from ‘mprintf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1008]
openssh-10.0p1/utf8.c:195:38: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
openssh-10.0p1/utf8.c:305:1: enter_function: entry to ‘mprintf’
openssh-10.0p1/utf8.c:311:15: call_function: calling ‘vfmprintf’ from ‘mprintf’
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-24.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | openssh-10.0p1-7.fc44 |
| store-results-to | /tmp/tmp77vrt9cz/openssh-10.0p1-7.fc44.tar.xz |
| time-created | 2025-10-28 19:38:37 |
| time-finished | 2025-10-28 19:41:59 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp77vrt9cz/openssh-10.0p1-7.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp77vrt9cz/openssh-10.0p1-7.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |