libsolv-0.7.34-5.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
libsolv-0.7.34/examples/solv/checksig.c:66:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pool_tmpjoin(sigpool, gpgdir, "/keys", 0), "w")’
libsolv-0.7.34/examples/solv/checksig.c:53:6: branch_false: following ‘false’ branch (when ‘gpgdir’ is non-NULL)...
libsolv-0.7.34/examples/solv/checksig.c:55:14: branch_false: ...to here
libsolv-0.7.34/examples/solv/checksig.c:56:15: acquire_resource: opened here
libsolv-0.7.34/examples/solv/checksig.c:56:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/checksig.c:62:19: branch_false: ...to here
libsolv-0.7.34/examples/solv/checksig.c:62:43: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/checksig.c:64:12: branch_true: ...to here
libsolv-0.7.34/examples/solv/checksig.c:64:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/checksig.c:66:16: branch_false: ...to here
libsolv-0.7.34/examples/solv/checksig.c:66:16: danger: ‘fopen(pool_tmpjoin(sigpool, gpgdir, "/keys", 0), "w")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
libsolv-0.7.34/examples/solv/checksig.c:66:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pool_tmpjoin(sigpool, gpgdir, "/keys", 0), "w")’
libsolv-0.7.34/examples/solv/checksig.c:53:6: branch_false: following ‘false’ branch (when ‘gpgdir’ is non-NULL)...
libsolv-0.7.34/examples/solv/checksig.c:55:14: branch_false: ...to here
libsolv-0.7.34/examples/solv/checksig.c:56:15: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/checksig.c:56:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/checksig.c:62:19: branch_false: ...to here
libsolv-0.7.34/examples/solv/checksig.c:62:43: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/checksig.c:64:12: branch_true: ...to here
libsolv-0.7.34/examples/solv/checksig.c:64:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/checksig.c:66:16: branch_false: ...to here
libsolv-0.7.34/examples/solv/checksig.c:66:16: danger: ‘fopen(pool_tmpjoin(sigpool, gpgdir, "/keys", 0), "w")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
libsolv-0.7.34/examples/solv/deltarpm.c:20:8: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
libsolv-0.7.34/examples/solv/deltarpm.c:23:7: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
libsolv-0.7.34/examples/solv/deltarpm.c:43:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:43:3: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
libsolv-0.7.34/examples/solv/deltarpm.c:44:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:44:3: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
libsolv-0.7.34/examples/solv/deltarpm.c:70:21: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:70:21: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
libsolv-0.7.34/examples/solv/deltarpm.c:75:17: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:75:17: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
libsolv-0.7.34/examples/solv/deltarpm.c:83:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:15: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
libsolv-0.7.34/examples/solv/deltarpm.c:83:22: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:22: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
libsolv-0.7.34/examples/solv/deltarpm.c:87:20: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:87:20: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
libsolv-0.7.34/examples/solv/deltarpm.c:96:37: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:94:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:96:37: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:96:37: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libsolv-0.7.34/examples/solv/deltarpm.c:97:22: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:94:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:96:37: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:97:22: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
libsolv-0.7.34/examples/solv/deltarpm.c:100:21: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:100:21: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
libsolv-0.7.34/examples/solv/deltarpm.c:109:11: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.34/examples/solv/deltarpm.c:109:11: danger: ‘matchname’ leaks here; was allocated at [(2)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
libsolv-0.7.34/examples/solv/deltarpm.c:110:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.34/examples/solv/deltarpm.c:110:15: danger: ‘matchname’ leaks here; was allocated at [(2)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
libsolv-0.7.34/examples/solv/deltarpm.c:112:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.34/examples/solv/deltarpm.c:110:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:112:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:112:15: danger: ‘matchname’ leaks here; was allocated at [(2)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
libsolv-0.7.34/examples/solv/deltarpm.c:118:20: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:60:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:71:39: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.34/examples/solv/deltarpm.c:110:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:116:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:118:20: danger: ‘matchname’ leaks here; was allocated at [(2)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
libsolv-0.7.34/examples/solv/deltarpm.c:130:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:130:3: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
libsolv-0.7.34/examples/solv/deltarpm.c:131:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:131:3: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def28]
libsolv-0.7.34/examples/solv/fastestmirror.c:71:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(*result.ai_family, *result.ai_socktype, *result.ai_protocol)’
libsolv-0.7.34/examples/solv/fastestmirror.c:28:15: branch_true: following ‘true’ branch (when ‘i < nurls’)...
libsolv-0.7.34/examples/solv/fastestmirror.c:30:12: branch_true: ...to here
libsolv-0.7.34/examples/solv/fastestmirror.c:32:10: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
libsolv-0.7.34/examples/solv/fastestmirror.c:34:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/fastestmirror.c:34:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/fastestmirror.c:36:7: branch_false: ...to here
libsolv-0.7.34/examples/solv/fastestmirror.c:39:10: branch_false: following ‘false’ branch (when ‘q’ is NULL)...
libsolv-0.7.34/examples/solv/fastestmirror.c:44:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/fastestmirror.c:44:10: branch_false: following ‘false’ branch (when ‘p2’ is NULL)...
libsolv-0.7.34/examples/solv/fastestmirror.c:47:12: branch_false: ...to here
libsolv-0.7.34/examples/solv/fastestmirror.c:51:10: branch_false: following ‘false’ branch (when ‘p2’ is NULL)...
libsolv-0.7.34/examples/solv/fastestmirror.c:60:7: branch_false: ...to here
libsolv-0.7.34/examples/solv/fastestmirror.c:66:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/fastestmirror.c:68:75: branch_true: ...to here
libsolv-0.7.34/examples/solv/fastestmirror.c:68:22: acquire_resource: socket created here
libsolv-0.7.34/examples/solv/fastestmirror.c:69:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/fastestmirror.c:71:19: branch_true: ...to here
libsolv-0.7.34/examples/solv/fastestmirror.c:71:18: danger: ‘socket(*result.ai_family, *result.ai_socktype, *result.ai_protocol)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:184:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tmpl, "r")’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:184:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:184:7: danger: ‘fopen(tmpl, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:184:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tmpl, "r")’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:184:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:184:7: danger: ‘fopen(tmpl, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:185:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tmpl, "r")’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:184:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:185:11: danger: ‘fopen(tmpl, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:185:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tmpl, "r")’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:184:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:185:11: danger: ‘fopen(tmpl, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:197:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tmpl, "r")’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: following ‘false’ branch (when ‘repoext’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:197:52: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:197:7: danger: ‘fopen(tmpl, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:197:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tmpl, "r")’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: following ‘false’ branch (when ‘repoext’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:197:52: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:197:7: danger: ‘fopen(tmpl, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def35]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:201:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tmpl, "r")’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: following ‘false’ branch (when ‘repoext’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:197:52: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:201:7: danger: ‘fopen(tmpl, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:201:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tmpl, "r")’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:178:8: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:181:6: branch_false: following ‘false’ branch (when ‘repoext’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:197:52: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:201:7: danger: ‘fopen(tmpl, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:238:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:215:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:223:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:228:3: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:229:14: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:229:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:237:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:237:6: branch_true: following ‘true’ branch (when ‘repodata’ is NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:238:5: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:238:5: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:240:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:215:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:223:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:228:3: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:229:14: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:229:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:237:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:237:6: branch_false: following ‘false’ branch (when ‘repodata’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:239:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:239:11: branch_true: following ‘true’ branch (when ‘repoext’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:240:5: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:240:5: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
libsolv-0.7.34/examples/solv/repoinfo_cache.c:245:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/examples/solv/repoinfo_cache.c:215:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:223:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:228:3: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:229:14: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:229:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:237:6: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:237:6: branch_false: following ‘false’ branch (when ‘repodata’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:239:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:239:11: branch_false: following ‘false’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.34/examples/solv/repoinfo_cache.c:243:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_cache.c:245:7: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def40]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:38:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:38:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:39:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:39:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def44]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:40:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:40:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def46]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:45:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:45:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def48]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:46:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:46:29: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:167:18: call_function: calling ‘yum_substitute’ from ‘read_repoinfos_yum’
Error: CPPCHECK_WARNING (CWE-682): [#def50]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:105: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def51]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: basearch
Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:105:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘basearch’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:71:10: branch_true: following ‘true’ branch (when ‘p2’ is non-NULL)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:73:12: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:73:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:94:12: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:94:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:96:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:96:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:99:19: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:99:18: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:104:26: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:104:26: acquire_memory: this call could return NULL
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:105:19: danger: ‘strdup(&un.machine)’ could be NULL: unchecked value from [(12)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/etc/yum.repos.d")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:134:9: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:17: danger: ‘opendir("/etc/yum.repos.d")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def54]
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:116:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(calc_cachepath(repo, 0, 0), "r")’
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:89:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:94:3: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:103:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:115:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:115:9: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:116:7: danger: ‘fopen(calc_cachepath(repo, 0, 0), "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:116:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(calc_cachepath(repo, 0, 0), "r")’
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:89:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:94:3: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:103:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:115:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:115:9: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_system_rpm.c:116:7: danger: ‘fopen(calc_cachepath(repo, 0, 0), "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
libsolv-0.7.34/examples/solv/repoinfo_type_debian.c:41:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘basearch’
libsolv-0.7.34/examples/solv/repoinfo_type_debian.c:32:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_type_debian.c:35:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_type_debian.c:35:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_type_debian.c:40:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_type_debian.c:40:18: acquire_memory: this call could return NULL
libsolv-0.7.34/examples/solv/repoinfo_type_debian.c:41:11: danger: ‘strdup(&un.machine)’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
libsolv-0.7.34/examples/solv/repoinfo_type_plaindir.c:57:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(*cinfo.path)’
libsolv-0.7.34/examples/solv/repoinfo_type_plaindir.c:39:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_type_plaindir.c:44:53: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_type_plaindir.c:46:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_type_plaindir.c:51:3: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_type_plaindir.c:52:13: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_type_plaindir.c:52:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_type_plaindir.c:57:16: danger: ‘opendir(*cinfo.path)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING: [#def58]
libsolv-0.7.34/ext/repo_apk.c:262:13: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘fd’
libsolv-0.7.34/ext/repo_apk.c:686:1: enter_function: entry to ‘repo_add_apk_repo’
libsolv-0.7.34/ext/repo_apk.c:698:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_apk.c:700:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_apk.c:702:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_apk.c:704:10: branch_true: ...to here
libsolv-0.7.34/ext/repo_apk.c:704:9: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_apk.c:706:10: branch_false: ...to here
libsolv-0.7.34/ext/repo_apk.c:706:9: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_apk.c:707:15: call_function: calling ‘add_apkv3_idx’ from ‘repo_add_apk_repo’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def59]
libsolv-0.7.34/ext/repo_apk.c:293:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cfp’ where non-null expected
libsolv-0.7.34/ext/repo_apk.c:686:1: enter_function: entry to ‘repo_add_apk_repo’
libsolv-0.7.34/ext/repo_apk.c:698:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_apk.c:700:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_apk.c:702:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_apk.c:704:10: branch_true: ...to here
libsolv-0.7.34/ext/repo_apk.c:704:9: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_apk.c:706:10: branch_false: ...to here
libsolv-0.7.34/ext/repo_apk.c:706:9: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_apk.c:707:15: call_function: calling ‘add_apkv3_idx’ from ‘repo_add_apk_repo’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def60]
libsolv-0.7.34/ext/repo_apkv3.c:286:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘blobl’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
libsolv-0.7.34/ext/repo_appdata.c:257:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filepath, "r")’
libsolv-0.7.34/ext/repo_appdata.c:211:14: acquire_resource: opened here
libsolv-0.7.34/ext/repo_appdata.c:211:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:257:19: danger: ‘fopen(filepath, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
libsolv-0.7.34/ext/repo_appdata.c:257:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filepath, "r")’
libsolv-0.7.34/ext/repo_appdata.c:211:14: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_appdata.c:211:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:257:19: danger: ‘fopen(filepath, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
libsolv-0.7.34/ext/repo_appdata.c:257:37: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filepath, "r")’
libsolv-0.7.34/ext/repo_appdata.c:211:14: acquire_resource: opened here
libsolv-0.7.34/ext/repo_appdata.c:211:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:257:37: danger: ‘fopen(filepath, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
libsolv-0.7.34/ext/repo_appdata.c:257:37: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filepath, "r")’
libsolv-0.7.34/ext/repo_appdata.c:211:14: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_appdata.c:211:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:257:37: danger: ‘fopen(filepath, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
libsolv-0.7.34/ext/repo_appdata.c:261:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filepath, "r")’
libsolv-0.7.34/ext/repo_appdata.c:211:14: acquire_resource: opened here
libsolv-0.7.34/ext/repo_appdata.c:211:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:261:11: danger: ‘fopen(filepath, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
libsolv-0.7.34/ext/repo_appdata.c:261:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filepath, "r")’
libsolv-0.7.34/ext/repo_appdata.c:211:14: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_appdata.c:211:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:261:11: danger: ‘fopen(filepath, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
libsolv-0.7.34/ext/repo_appdata.c:429:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_resource: opened here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:136: branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: call_function: calling ‘repo_add_appdata_fn’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
libsolv-0.7.34/ext/repo_appdata.c:429:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:136: branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: call_function: calling ‘repo_add_appdata_fn’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def69]
libsolv-0.7.34/ext/repo_appdata.c:438:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_resource: opened here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:136: branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: call_function: calling ‘repo_add_appdata_fn’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
libsolv-0.7.34/ext/repo_appdata.c:438:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:136: branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: call_function: calling ‘repo_add_appdata_fn’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def71]
libsolv-0.7.34/ext/repo_appdata.c:439:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_resource: opened here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:136: branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: call_function: calling ‘repo_add_appdata_fn’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
libsolv-0.7.34/ext/repo_appdata.c:439:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:136: branch_false: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:569:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:569:11: call_function: calling ‘repo_add_appdata_fn’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
libsolv-0.7.34/ext/repo_appdata.c:540:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.34/ext/repo_appdata.c:537:14: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:23: danger: ‘opendir(dirpath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def74]
libsolv-0.7.34/ext/repo_appdata.c:559:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_resource: opened here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:559:23: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:559:23: danger: ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
libsolv-0.7.34/ext/repo_appdata.c:559:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:559:23: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:559:23: danger: ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
libsolv-0.7.34/ext/repo_arch.c:533:20: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dir)’
libsolv-0.7.34/ext/repo_arch.c:530:8: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_arch.c:531:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_arch.c:533:20: danger: ‘opendir(dir)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def77]
libsolv-0.7.34/ext/repo_arch.c:543:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pool_tmpjoin(*repo.pool, solv_dupjoin(dir, "/", &*<unknown>.d_name), "/desc", 0), "r")’
libsolv-0.7.34/ext/repo_arch.c:531:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_arch.c:533:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_arch.c:535:16: branch_true: ...to here
libsolv-0.7.34/ext/repo_arch.c:540:21: acquire_resource: opened here
libsolv-0.7.34/ext/repo_arch.c:543:15: danger: ‘fopen(pool_tmpjoin(*repo.pool, solv_dupjoin(dir, "/", &*<unknown>.d_name), "/desc", 0), "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
libsolv-0.7.34/ext/repo_arch.c:543:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pool_tmpjoin(*repo.pool, solv_dupjoin(dir, "/", &*<unknown>.d_name), "/desc", 0), "r")’
libsolv-0.7.34/ext/repo_arch.c:531:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_arch.c:533:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_arch.c:535:16: branch_true: ...to here
libsolv-0.7.34/ext/repo_arch.c:540:21: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_arch.c:543:15: danger: ‘fopen(pool_tmpjoin(*repo.pool, solv_dupjoin(dir, "/", &*<unknown>.d_name), "/desc", 0), "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
libsolv-0.7.34/ext/repo_conda.c:405:30: warning[-Wanalyzer-malloc-leak]: leak of ‘pd.subdir’
libsolv-0.7.34/ext/repo_conda.c:465:1: enter_function: entry to ‘repo_add_conda’
libsolv-0.7.34/ext/repo_conda.c:485:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_conda.c:487:20: branch_false: ...to here
libsolv-0.7.34/ext/repo_conda.c:487:20: call_function: calling ‘parse_main’ from ‘repo_add_conda’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def80]
libsolv-0.7.34/ext/repo_deb.c:675:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:675:50: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:675:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
libsolv-0.7.34/ext/repo_deb.c:675:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:675:50: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:675:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
libsolv-0.7.34/ext/repo_deb.c:682:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:682:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
libsolv-0.7.34/ext/repo_deb.c:682:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:682:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def84]
libsolv-0.7.34/ext/repo_deb.c:689:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:689:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:689:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
libsolv-0.7.34/ext/repo_deb.c:689:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:689:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:689:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def86]
libsolv-0.7.34/ext/repo_deb.c:696:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:696:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:696:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
libsolv-0.7.34/ext/repo_deb.c:696:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:696:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:696:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def88]
libsolv-0.7.34/ext/repo_deb.c:711:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:701:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:703:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:705:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:707:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:711:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
libsolv-0.7.34/ext/repo_deb.c:711:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:701:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:703:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:705:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:707:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:711:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def90]
libsolv-0.7.34/ext/repo_deb.c:721:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:719:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:721:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:721:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
libsolv-0.7.34/ext/repo_deb.c:721:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:719:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:721:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:721:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
libsolv-0.7.34/ext/repo_deb.c:725:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:719:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:725:25: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:725:10: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
libsolv-0.7.34/ext/repo_deb.c:725:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:719:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:725:25: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:725:10: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
libsolv-0.7.34/ext/repo_deb.c:736:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:719:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:725:25: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:732:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:734:27: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:734:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:736:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:736:11: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
libsolv-0.7.34/ext/repo_deb.c:736:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:719:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:725:25: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:732:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:734:27: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:734:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:736:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:736:11: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def96]
libsolv-0.7.34/ext/repo_deb.c:737:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:719:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:725:25: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:732:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:734:27: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:734:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:736:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:737:11: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
libsolv-0.7.34/ext/repo_deb.c:737:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:680:6: branch_false: following ‘false’ branch (when ‘l > 67’)...
libsolv-0.7.34/ext/repo_deb.c:680:22: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:687:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:693:8: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:694:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:701:37: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:719:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_deb.c:725:25: branch_false: ...to here
libsolv-0.7.34/ext/repo_deb.c:732:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:734:27: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:734:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_deb.c:736:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_deb.c:737:11: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
libsolv-0.7.34/ext/repo_products.c:325:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.34/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:312:9: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:320:16: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.34/ext/repo_products.c:325:23: danger: ‘opendir(dirpath)’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def99]
libsolv-0.7.34/ext/repo_products.c:340:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:320:16: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.34/ext/repo_products.c:325:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:327:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:331:22: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:331:22: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.34/ext/repo_products.c:332:16: acquire_resource: opened here
libsolv-0.7.34/ext/repo_products.c:340:15: danger: ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was opened at [(28)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
libsolv-0.7.34/ext/repo_products.c:340:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:320:16: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.34/ext/repo_products.c:325:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:327:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:331:22: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:331:22: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.34/ext/repo_products.c:332:16: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_products.c:340:15: danger: ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was allocated at [(28)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def101]
libsolv-0.7.34/ext/repo_products.c:348:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:320:16: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.34/ext/repo_products.c:325:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:327:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:331:22: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:331:22: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.34/ext/repo_products.c:332:16: acquire_resource: opened here
libsolv-0.7.34/ext/repo_products.c:348:15: danger: ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was opened at [(28)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
libsolv-0.7.34/ext/repo_products.c:348:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:320:16: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.34/ext/repo_products.c:325:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:327:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:331:22: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:331:22: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.34/ext/repo_products.c:332:16: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_products.c:348:15: danger: ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was allocated at [(28)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
libsolv-0.7.34/ext/repo_products.c:395:18: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(<unknown>)’
libsolv-0.7.34/ext/repo_products.c:388:6: branch_true: following ‘true’ branch (when ‘proddir’ is non-NULL)...
libsolv-0.7.34/ext/repo_products.c:390:21: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:390:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_products.c:391:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:394:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:395:18: danger: ‘opendir(<unknown>)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
libsolv-0.7.34/ext/repo_products.c:408:14: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(fullpath)’
libsolv-0.7.34/ext/repo_products.c:403:9: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_products.c:404:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:406:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:408:14: danger: ‘opendir(fullpath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
libsolv-0.7.34/ext/repo_products.c:419:14: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(fullpath)’
libsolv-0.7.34/ext/repo_products.c:404:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_products.c:413:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_products.c:415:9: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_products.c:416:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:418:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:419:14: danger: ‘opendir(fullpath)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
libsolv-0.7.34/ext/repo_products.c:429:7: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(pool_get_rootdir(*repo.pool))’
libsolv-0.7.34/ext/repo_products.c:404:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_products.c:413:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_products.c:416:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_products.c:423:14: branch_false: ...to here
libsolv-0.7.34/ext/repo_products.c:424:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:426:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_products.c:427:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_products.c:429:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_products.c:429:7: danger: ‘opendir(pool_get_rootdir(*repo.pool))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def107]
libsolv-0.7.34/ext/repo_releasefile_products.c:76:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.34/ext/repo_releasefile_products.c:152:21: acquire_resource: opened here
libsolv-0.7.34/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
libsolv-0.7.34/ext/repo_releasefile_products.c:76:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.34/ext/repo_releasefile_products.c:152:21: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def109]
libsolv-0.7.34/ext/repo_releasefile_products.c:93:26: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.34/ext/repo_releasefile_products.c:152:21: acquire_resource: opened here
libsolv-0.7.34/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
libsolv-0.7.34/ext/repo_releasefile_products.c:93:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.34/ext/repo_releasefile_products.c:152:21: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
libsolv-0.7.34/ext/repo_releasefile_products.c:143:19: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.34/ext/repo_releasefile_products.c:133:9: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:19: danger: ‘opendir(dirpath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def112]
libsolv-0.7.34/ext/repo_rpmdb.c:484:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
libsolv-0.7.34/ext/repo_rpmdb.c:484:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def114]
libsolv-0.7.34/ext/repo_rpmdb.c:1380:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
libsolv-0.7.34/ext/repo_rpmdb.c:1380:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def116]
libsolv-0.7.34/ext/repo_rpmdb.c:1385:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
libsolv-0.7.34/ext/repo_rpmdb.c:1385:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def118]
libsolv-0.7.34/ext/repo_rpmdb.c:1386:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
libsolv-0.7.34/ext/repo_rpmdb.c:1386:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def120]
libsolv-0.7.34/ext/repo_rpmdb.c:1389:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
libsolv-0.7.34/ext/repo_rpmdb.c:1389:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def122]
libsolv-0.7.34/ext/repo_rpmdb.c:1392:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
libsolv-0.7.34/ext/repo_rpmdb.c:1392:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def124]
libsolv-0.7.34/ext/repo_rpmdb.c:1395:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
libsolv-0.7.34/ext/repo_rpmdb.c:1395:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def126]
libsolv-0.7.34/ext/repo_rpmdb.c:1396:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
libsolv-0.7.34/ext/repo_rpmdb.c:1396:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2030:12: call_function: calling ‘headfromfp’ from ‘repo_add_rpm’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def128]
libsolv-0.7.34/ext/repo_rpmdb.c:1971:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1971:50: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1971:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
libsolv-0.7.34/ext/repo_rpmdb.c:1971:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1971:50: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1971:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def130]
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def132]
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def134]
libsolv-0.7.34/ext/repo_rpmdb.c:1987:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1987:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
libsolv-0.7.34/ext/repo_rpmdb.c:1987:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1987:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
libsolv-0.7.34/ext/repo_rpmdb.c:1988:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1988:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
libsolv-0.7.34/ext/repo_rpmdb.c:1988:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1988:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def138]
libsolv-0.7.34/ext/repo_rpmdb.c:1989:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1989:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
libsolv-0.7.34/ext/repo_rpmdb.c:1989:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1989:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1994:5: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def142]
libsolv-0.7.34/ext/repo_rpmdb.c:1996:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_true: following ‘true’ branch (when ‘leadsigchksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1996:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1996:5: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
libsolv-0.7.34/ext/repo_rpmdb.c:1996:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_true: following ‘true’ branch (when ‘leadsigchksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1996:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1996:5: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def144]
libsolv-0.7.34/ext/repo_rpmdb.c:2001:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2001:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
libsolv-0.7.34/ext/repo_rpmdb.c:2001:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2001:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def146]
libsolv-0.7.34/ext/repo_rpmdb.c:2002:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2002:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
libsolv-0.7.34/ext/repo_rpmdb.c:2002:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2002:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def148]
libsolv-0.7.34/ext/repo_rpmdb.c:2003:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2003:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
libsolv-0.7.34/ext/repo_rpmdb.c:2003:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2003:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def150]
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
libsolv-0.7.34/ext/repo_rpmdb.c:2010:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2010:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
libsolv-0.7.34/ext/repo_rpmdb.c:2010:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2010:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def154]
libsolv-0.7.34/ext/repo_rpmdb.c:2011:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2011:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
libsolv-0.7.34/ext/repo_rpmdb.c:2011:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2009:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2011:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def156]
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def158]
libsolv-0.7.34/ext/repo_rpmdb.c:2020:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2020:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
libsolv-0.7.34/ext/repo_rpmdb.c:2020:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2020:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def160]
libsolv-0.7.34/ext/repo_rpmdb.c:2021:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2021:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
libsolv-0.7.34/ext/repo_rpmdb.c:2021:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2019:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2021:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def164]
libsolv-0.7.34/ext/repo_rpmdb.c:2079:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2079:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
libsolv-0.7.34/ext/repo_rpmdb.c:2079:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2079:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def166]
libsolv-0.7.34/ext/repo_rpmdb.c:2080:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2080:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
libsolv-0.7.34/ext/repo_rpmdb.c:2080:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2078:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2080:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def168]
libsolv-0.7.34/ext/repo_rpmdb.c:2085:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2084:14: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2084:14: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2085:13: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2085:13: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/56/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
libsolv-0.7.34/ext/repo_rpmdb.c:2085:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2084:14: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2084:14: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2085:13: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2085:13: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
libsolv-0.7.34/ext/repo_rpmdb.c:2087:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2084:14: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2084:14: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2086:14: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2086:14: branch_true: following ‘true’ branch (when ‘leadsigchksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2087:13: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2087:13: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
libsolv-0.7.34/ext/repo_rpmdb.c:2087:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_true: following ‘true’ branch (when ‘len != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2075:11: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2076:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2084:14: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2084:14: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2086:14: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2086:14: branch_true: following ‘true’ branch (when ‘leadsigchksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2087:13: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2087:13: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
libsolv-0.7.34/ext/repo_rpmdb.c:2093:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_true: following ‘true’ branch (when ‘leadsigchksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2093:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2093:24: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
libsolv-0.7.34/ext/repo_rpmdb.c:2093:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_true: following ‘true’ branch (when ‘leadsigchksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2093:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2093:24: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def174]
libsolv-0.7.34/ext/repo_rpmdb.c:2100:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2098:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2100:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2100:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
libsolv-0.7.34/ext/repo_rpmdb.c:2100:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2098:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2100:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2100:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def176]
libsolv-0.7.34/ext/repo_rpmdb.c:2101:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2098:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2100:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2101:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
libsolv-0.7.34/ext/repo_rpmdb.c:2101:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2098:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2100:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2101:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/65/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def178]
libsolv-0.7.34/ext/repo_rpmdb.c:2106:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2098:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2106:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2106:5: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/66/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
libsolv-0.7.34/ext/repo_rpmdb.c:2106:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1995:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:1999:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: following ‘false’ branch (when ‘leadsigchksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2098:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_true: following ‘true’ branch (when ‘chksumh’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2106:5: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2106:5: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/67/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def180]
libsolv-0.7.34/ext/repo_rpmdb.c:2109:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2107:7: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2107:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2109:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2109:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
libsolv-0.7.34/ext/repo_rpmdb.c:2109:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2107:7: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2107:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2109:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2109:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def182]
libsolv-0.7.34/ext/repo_rpmdb.c:2110:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2107:7: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2107:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2109:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2110:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/70/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
libsolv-0.7.34/ext/repo_rpmdb.c:2110:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2107:7: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2107:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2109:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2110:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/71/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def184]
libsolv-0.7.34/ext/repo_rpmdb.c:2118:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2107:7: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2107:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2114:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2116:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2118:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2118:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/72/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
libsolv-0.7.34/ext/repo_rpmdb.c:2118:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2107:7: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2107:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2114:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2116:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2118:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2118:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/73/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def186]
libsolv-0.7.34/ext/repo_rpmdb.c:2119:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2107:7: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2107:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2114:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2116:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2118:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2119:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(2)](sarif:/runs/0/results/74/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
libsolv-0.7.34/ext/repo_rpmdb.c:2119:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.34/ext/repo_rpmdb.c:1935:1: enter_function: entry to ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1983:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1984:22: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1985:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1985:43: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:1985:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:1993:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:1999:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2007:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2015:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2017:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2025:12: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2028:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2072:26: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2073:14: branch_false: following ‘false’ branch (when ‘len == 0’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2091:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2098:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2105:6: branch_false: following ‘false’ branch (when ‘chksumh’ is NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2107:7: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2107:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2114:12: call_function: inlined call to ‘getu32’ from ‘repo_add_rpm’
libsolv-0.7.34/ext/repo_rpmdb.c:2116:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2118:7: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2119:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(2)](sarif:/runs/0/results/75/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def188]
libsolv-0.7.34/ext/repo_rpmdb.c:2346:11: warning[-Wanalyzer-null-argument]: use of NULL ‘space’ where non-null expected
libsolv-0.7.34/ext/repo_rpmdb.c:2232:1: enter_function: entry to ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2252:8: call_function: inlined call to ‘headstringarray’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2252:8: call_function: inlined call to ‘headstringarray’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2253:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2255:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2255:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2262:8: call_function: inlined call to ‘headstringarray’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2262:8: call_function: inlined call to ‘headstringarray’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2263:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2268:8: call_function: inlined call to ‘headint32array’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2268:8: call_function: inlined call to ‘headint32array’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2269:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2276:8: call_function: inlined call to ‘headint16array’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2277:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2285:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2298:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2298:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2300:12: call_function: inlined call to ‘headint32array’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2300:12: call_function: inlined call to ‘headint32array’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2301:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2301:17: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2301:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2312:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2312:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2314:12: call_function: inlined call to ‘headint32array’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2314:12: call_function: inlined call to ‘headint32array’ from ‘rpm_iterate_filelist’
libsolv-0.7.34/ext/repo_rpmdb.c:2315:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2330:15: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2332:10: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2332:10: branch_true: following ‘true’ branch (when ‘ff’ is non-NULL)...
libsolv-0.7.34/ext/repo_rpmdb.c:2332:20: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2332:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_rpmdb.c:2334:17: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2335:10: branch_false: following ‘false’ branch (when ‘lastdir > diidx’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2337:7: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2337:7: branch_true: following ‘true’ branch (when ‘lastdir != diidx’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2337:51: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2339:10: branch_false: following ‘false’ branch (when ‘spacen >= l’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2344:10: branch_false: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2344:10: branch_true: following ‘true’ branch (when ‘lastdir != diidx’)...
libsolv-0.7.34/ext/repo_rpmdb.c:2346:27: branch_true: ...to here
libsolv-0.7.34/ext/repo_rpmdb.c:2346:11: danger: argument 1 (‘space’) NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-786): [#def189]
libsolv-0.7.34/ext/repo_testcase.c:624: error[negativeIndex]: Array 'sp[5]' accessed at index sp[*][-1], which is out of bounds.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
libsolv-0.7.34/ext/repo_zyppdb.c:170:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.34/ext/repo_zyppdb.c:167:9: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_zyppdb.c:168:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_zyppdb.c:170:23: danger: ‘opendir(dirpath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
libsolv-0.7.34/ext/repo_zyppdb.c:181:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_zyppdb.c:149:1: enter_function: entry to ‘repo_add_zyppdb_products’
libsolv-0.7.34/ext/repo_zyppdb.c:168:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_zyppdb.c:170:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_zyppdb.c:172:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_zyppdb.c:174:22: call_function: calling ‘join2’ from ‘repo_add_zyppdb_products’
libsolv-0.7.34/ext/repo_zyppdb.c:174:22: return_function: returning to ‘repo_add_zyppdb_products’ from ‘join2’
libsolv-0.7.34/ext/repo_zyppdb.c:175:21: acquire_resource: opened here
libsolv-0.7.34/ext/repo_zyppdb.c:181:15: danger: ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was opened at [(17)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
libsolv-0.7.34/ext/repo_zyppdb.c:181:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_zyppdb.c:149:1: enter_function: entry to ‘repo_add_zyppdb_products’
libsolv-0.7.34/ext/repo_zyppdb.c:168:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_zyppdb.c:170:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_zyppdb.c:172:15: branch_true: ...to here
libsolv-0.7.34/ext/repo_zyppdb.c:174:22: call_function: calling ‘join2’ from ‘repo_add_zyppdb_products’
libsolv-0.7.34/ext/repo_zyppdb.c:174:22: return_function: returning to ‘repo_add_zyppdb_products’ from ‘join2’
libsolv-0.7.34/ext/repo_zyppdb.c:175:21: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_zyppdb.c:181:15: danger: ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was allocated at [(17)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def193]
libsolv-0.7.34/ext/repo_zyppdb.c:189:3: warning[-Wanalyzer-null-argument]: use of NULL ‘opendir(dirpath)’ where non-null expected
libsolv-0.7.34/ext/repo_zyppdb.c:167:9: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_zyppdb.c:168:6: release_memory: assuming ‘opendir(dirpath)’ is NULL
libsolv-0.7.34/ext/repo_zyppdb.c:168:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_zyppdb.c:189:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_zyppdb.c:189:3: danger: argument 1 (‘opendir(dirpath)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def194]
libsolv-0.7.34/ext/solv_xfopen.c:563:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libsolv-0.7.34/ext/solv_xfopen.c:552:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:554:6: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:554:6: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.34/ext/solv_xfopen.c:556:11: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:556:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:557:14: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:557:14: acquire_resource: opened here
libsolv-0.7.34/ext/solv_xfopen.c:560:10: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libsolv-0.7.34/ext/solv_xfopen.c:563:7: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:563:7: danger: ‘fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def195]
libsolv-0.7.34/ext/solv_xfopen.c:567:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libsolv-0.7.34/ext/solv_xfopen.c:552:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:554:6: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:554:6: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.34/ext/solv_xfopen.c:556:11: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:556:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:557:14: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:557:14: acquire_resource: opened here
libsolv-0.7.34/ext/solv_xfopen.c:560:10: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libsolv-0.7.34/ext/solv_xfopen.c:563:7: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:564:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:566:10: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:566:10: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.34/ext/solv_xfopen.c:567:9: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:567:9: danger: ‘fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def196]
libsolv-0.7.34/ext/solv_xfopen.c:572:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libsolv-0.7.34/ext/solv_xfopen.c:552:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:554:6: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:554:6: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.34/ext/solv_xfopen.c:556:11: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:556:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:557:14: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:557:14: acquire_resource: opened here
libsolv-0.7.34/ext/solv_xfopen.c:560:10: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libsolv-0.7.34/ext/solv_xfopen.c:563:7: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:564:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:570:7: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:570:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:572:11: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:572:11: danger: ‘fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def197]
libsolv-0.7.34/ext/solv_xfopen.c:582:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libsolv-0.7.34/ext/solv_xfopen.c:552:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:554:6: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:554:6: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.34/ext/solv_xfopen.c:556:11: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:556:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:557:14: branch_true: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:557:14: acquire_resource: opened here
libsolv-0.7.34/ext/solv_xfopen.c:560:10: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libsolv-0.7.34/ext/solv_xfopen.c:563:7: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:564:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:570:7: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:570:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/solv_xfopen.c:582:11: branch_false: ...to here
libsolv-0.7.34/ext/solv_xfopen.c:582:11: danger: ‘fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: COMPILER_WARNING (CWE-704): [#def198]
libsolv-0.7.34/ext/solv_xmlparser.c: scope_hint: In function ‘parse_block’
libsolv-0.7.34/ext/solv_xmlparser.c:282:25: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def199]
libsolv-0.7.34/ext/solv_xmlparser.c:282:25: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-758): [#def200]
libsolv-0.7.34/ext/testcase.c:1905: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-775): [#def201]
libsolv-0.7.34/ext/testcase.c:2175:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_resource: opened here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2175:17: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
libsolv-0.7.34/ext/testcase.c:2175:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_memory: allocated here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2175:17: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def203]
libsolv-0.7.34/ext/testcase.c:2187:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_resource: opened here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2187:9: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
libsolv-0.7.34/ext/testcase.c:2187:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_memory: allocated here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2187:9: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def205]
libsolv-0.7.34/ext/testcase.c:2190:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_resource: opened here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2190:3: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
libsolv-0.7.34/ext/testcase.c:2190:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_memory: allocated here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2190:3: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def207]
libsolv-0.7.34/ext/testcase.c:2196:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_resource: opened here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2193:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/testcase.c:2195:11: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2196:17: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
libsolv-0.7.34/ext/testcase.c:2196:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_memory: allocated here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2193:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/testcase.c:2195:11: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2196:17: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-758): [#def209]
libsolv-0.7.34/ext/testcase.c:2503: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-775): [#def210]
libsolv-0.7.34/ext/tools_util.h:21:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.34/ext/repo_releasefile_products.c:152:21: acquire_resource: opened here
libsolv-0.7.34/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
libsolv-0.7.34/ext/tools_util.h:21:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.34/ext/repo_releasefile_products.c:152:21: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def212]
libsolv-0.7.34/ext/tools_util.h:72:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.34/ext/repo_releasefile_products.c:152:21: acquire_resource: opened here
libsolv-0.7.34/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
libsolv-0.7.34/ext/tools_util.h:72:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.34/ext/repo_releasefile_products.c:152:21: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
libsolv-0.7.34/ext/tools_util.h:72:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.34/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.34/ext/repo_products.c:312:9: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.34/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def215]
libsolv-0.7.34/ext/tools_util.h:77:7: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def216]
libsolv-0.7.34/ext/tools_util.h:82:7: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
libsolv-0.7.34/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.34/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.34/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
Error: CPPCHECK_WARNING (CWE-476): [#def217]
libsolv-0.7.34/redhat-linux-build/bindings/perl/solv_perl.c:1450: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mg->mg_virtual
Error: CPPCHECK_WARNING (CWE-758): [#def218]
libsolv-0.7.34/redhat-linux-build/bindings/perl/solv_perl.c:24977: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-457): [#def219]
libsolv-0.7.34/redhat-linux-build/bindings/python/solv_python.c:875: warning[uninitvar]: Uninitialized variable: buff
Error: CPPCHECK_WARNING (CWE-476): [#def220]
libsolv-0.7.34/redhat-linux-build/bindings/python/solv_python.c:1904: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def221]
libsolv-0.7.34/redhat-linux-build/bindings/python/solv_python.c:1905: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-758): [#def222]
libsolv-0.7.34/redhat-linux-build/bindings/python/solv_python.c:23644: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-476): [#def223]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:1661: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: COMPILER_WARNING (CWE-477): [#def224]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_NewPointerObj’
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:1707:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core.h:27: included_from: Included from here.
/usr/include/ruby/ruby.h:29: included_from: Included from here.
/usr/include/ruby.h:38: included_from: Included from here.
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:1008: included_from: Included from here.
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: CPPCHECK_WARNING (CWE-476): [#def225]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:1719: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: klass_name
Error: COMPILER_WARNING (CWE-477): [#def226]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:1722:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def227]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_NewClassInstance’
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:1735:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def228]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:1783:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:325:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def229]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_GetModule’
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:1919:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:325:1: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def230]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_SetModule’
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:1934:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
/usr/include/ruby/internal/core/rdata.h:293:1: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def231]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:2391: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def232]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:2746: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def233]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:3107: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-758): [#def234]
libsolv-0.7.34/redhat-linux-build/bindings/ruby/solv_ruby.c:21020: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-476): [#def235]
libsolv-0.7.34/src/dirpool.c:93:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libsolv-0.7.34/src/dirpool.c:81:1: enter_function: entry to ‘dirpool_make_dirtraverse’
libsolv-0.7.34/src/dirpool.c:84:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/src/dirpool.c:86:14: branch_false: ...to here
libsolv-0.7.34/src/dirpool.c:87:17: call_function: calling ‘solv_calloc_block’ from ‘dirpool_make_dirtraverse’
libsolv-0.7.34/src/dirpool.c:87:17: return_function: returning to ‘dirpool_make_dirtraverse’ from ‘solv_calloc_block’
libsolv-0.7.34/src/dirpool.c:88:15: branch_true: following ‘true’ branch...
libsolv-0.7.34/src/dirpool.c:90:11: branch_true: ...to here
libsolv-0.7.34/src/dirpool.c:90:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/src/dirpool.c:92:7: branch_false: ...to here
libsolv-0.7.34/src/dirpool.c:93:18: release_memory: using NULL here
libsolv-0.7.34/src/dirpool.c:93:7: danger: dereference of NULL ‘solv_calloc_block((long unsigned int)*dp.ndirs, 4, 127) + (long unsigned int)i * 4’
Error: CPPCHECK_WARNING (CWE-562): [#def236]
libsolv-0.7.34/src/fileprovides.c:462: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def237]
libsolv-0.7.34/src/fileprovides.c:477: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
libsolv-0.7.34/src/pool.h:347:10: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.34/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.34/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:51:11: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:50:11: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/deltarpm.c:53:17: branch_false: ...to here
libsolv-0.7.34/examples/solv/deltarpm.c:54:7: call_function: calling ‘pool_whatprovides’ from ‘trydeltadownload’
Error: CPPCHECK_WARNING (CWE-758): [#def239]
libsolv-0.7.34/src/poolvendor.c:64: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
libsolv-0.7.34/src/queue.h:78:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_resource: opened here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:559:23: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:560:15: call_function: calling ‘queue_empty’ from ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:560:15: return_function: returning to ‘repo_add_appdata_dir’ from ‘queue_empty’
libsolv-0.7.34/ext/repo_appdata.c:561:18: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:564:31: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:565:25: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:565:24: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:566:51: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:566:23: call_function: calling ‘queue_push’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
libsolv-0.7.34/src/queue.h:78:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.34/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:551:16: acquire_memory: allocated here
libsolv-0.7.34/ext/repo_appdata.c:557:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:559:23: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:560:15: call_function: calling ‘queue_empty’ from ‘repo_add_appdata_dir’
libsolv-0.7.34/ext/repo_appdata.c:560:15: return_function: returning to ‘repo_add_appdata_dir’ from ‘queue_empty’
libsolv-0.7.34/ext/repo_appdata.c:561:18: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:564:31: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:565:25: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:565:24: branch_true: following ‘true’ branch...
libsolv-0.7.34/ext/repo_appdata.c:566:51: branch_true: ...to here
libsolv-0.7.34/ext/repo_appdata.c:566:23: call_function: calling ‘queue_push’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def242]
libsolv-0.7.34/src/repo.c:1181:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libsolv-0.7.34/src/repo.c:1507:1: enter_function: entry to ‘repo_set_deparray’
libsolv-0.7.34/src/repo.c:1512:6: branch_true: following ‘true’ branch (when ‘marker != 0’)...
libsolv-0.7.34/src/repo.c:1517:7: branch_true: ...to here
libsolv-0.7.34/src/repo.c:1518:7: call_function: calling ‘repo_lookup_deparray’ from ‘repo_set_deparray’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def243]
libsolv-0.7.34/src/repo.c:1492:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libsolv-0.7.34/src/repo.c:1473:1: enter_function: entry to ‘repo_add_deparray’
libsolv-0.7.34/src/repo.c:1478:6: branch_true: following ‘true’ branch (when ‘p >= 0’)...
libsolv-0.7.34/src/repo.c:1481:7: branch_true: ...to here
libsolv-0.7.34/src/repo.c:1481:7: branch_true: following ‘true’ branch...
libsolv-0.7.34/src/repo.c:1483:9: branch_true: ...to here
libsolv-0.7.34/src/repo.c:1491:18: call_function: calling ‘solvable_offsetptr’ from ‘repo_add_deparray’
libsolv-0.7.34/src/repo.c:1491:18: return_function: returning to ‘repo_add_deparray’ from ‘solvable_offsetptr’
libsolv-0.7.34/src/repo.c:1492:19: danger: dereference of NULL ‘solvable_offsetptr(*repo_21(D)->pool.solvables + (long unsigned int)p * 56, keyname)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
libsolv-0.7.34/src/repo.c:1556:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libsolv-0.7.34/src/repo.c:1507:1: enter_function: entry to ‘repo_set_deparray’
libsolv-0.7.34/src/repo.c:1512:6: branch_false: following ‘false’ branch (when ‘marker == 0’)...
libsolv-0.7.34/src/repo.c:1538:6: branch_false: ...to here
libsolv-0.7.34/src/repo.c:1538:6: branch_true: following ‘true’ branch (when ‘p >= 0’)...
libsolv-0.7.34/src/repo.c:1542:7: branch_true: ...to here
libsolv-0.7.34/src/repo.c:1542:7: branch_true: following ‘true’ branch...
branch_true: ...to here
libsolv-0.7.34/src/repo.c:1553:23: branch_false: following ‘false’ branch...
libsolv-0.7.34/src/repo.c:1555:37: branch_false: ...to here
libsolv-0.7.34/src/repo.c:1555:18: call_function: calling ‘solvable_offsetptr’ from ‘repo_set_deparray’
libsolv-0.7.34/src/repo.c:1555:18: return_function: returning to ‘repo_set_deparray’ from ‘solvable_offsetptr’
libsolv-0.7.34/src/repo.c:1556:11: danger: dereference of NULL ‘solvable_offsetptr(*repo_45(D)->pool.solvables + (long unsigned int)p * 56, keyname)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def245]
libsolv-0.7.34/src/repo_write.c:1549:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘spool’
libsolv-0.7.34/src/repo_write.c:2277:1: enter_function: entry to ‘repodata_write_filtered’
libsolv-0.7.34/src/repo_write.c:2285:9: call_function: calling ‘repowriter_write’ from ‘repodata_write_filtered’
Error: CPPCHECK_WARNING (CWE-758): [#def246]
libsolv-0.7.34/src/repodata.c:1544: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def247]
libsolv-0.7.34/src/repodata.c:1599: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def248]
libsolv-0.7.34/src/repodata.c:1619: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def249]
libsolv-0.7.34/src/repodata.c:1719: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def250]
libsolv-0.7.34/src/repodata.c:1835: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def251]
libsolv-0.7.34/src/repodata.c:2039: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def252]
libsolv-0.7.34/src/repodata.c:2040: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def253]
libsolv-0.7.34/src/repodata.c:2149: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def254]
libsolv-0.7.34/src/repodata.c:2201: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def255]
libsolv-0.7.34/src/repodata.c:2215: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def256]
libsolv-0.7.34/src/selection.c:1335: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-688): [#def257]
libsolv-0.7.34/src/solvable.c:367:57: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libsolv-0.7.34/src/solvable.c:340:1: enter_function: entry to ‘solvable_lookup_location’
libsolv-0.7.34/src/solvable.c:349:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/src/solvable.c:351:3: branch_false: ...to here
libsolv-0.7.34/src/solvable.c:360:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/src/solvable.c:363:14: branch_true: ...to here
libsolv-0.7.34/src/solvable.c:364:13: call_function: calling ‘evrid2vrstr’ from ‘solvable_lookup_location’
libsolv-0.7.34/src/solvable.c:364:13: return_function: returning to ‘solvable_lookup_location’ from ‘evrid2vrstr’
libsolv-0.7.34/src/solvable.c:367:57: danger: argument 1 (‘evrid2vrstr(pool, *s.evr)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def258]
libsolv-0.7.34/src/solvable.c:367:57: warning[-Wanalyzer-null-argument]: use of NULL ‘mediadir’ where non-null expected
libsolv-0.7.34/src/solvable.c:340:1: enter_function: entry to ‘solvable_lookup_location’
libsolv-0.7.34/src/solvable.c:349:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/src/solvable.c:351:3: branch_false: ...to here
libsolv-0.7.34/src/solvable.c:354:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/src/solvable.c:357:16: branch_false: ...to here
libsolv-0.7.34/src/solvable.c:357:16: call_function: calling ‘solvable_lookup_str’ from ‘solvable_lookup_location’
libsolv-0.7.34/src/solvable.c:357:16: return_function: returning to ‘solvable_lookup_location’ from ‘solvable_lookup_str’
libsolv-0.7.34/src/solvable.c:358:6: branch_false: following ‘false’ branch (when ‘mediadir’ is NULL)...
libsolv-0.7.34/src/solvable.c:359:5: branch_false: ...to here
libsolv-0.7.34/src/solvable.c:360:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/src/solvable.c:363:14: branch_true: ...to here
libsolv-0.7.34/src/solvable.c:364:13: call_function: calling ‘evrid2vrstr’ from ‘solvable_lookup_location’
libsolv-0.7.34/src/solvable.c:364:13: return_function: returning to ‘solvable_lookup_location’ from ‘evrid2vrstr’
libsolv-0.7.34/src/solvable.c:367:57: danger: argument 1 (‘evrid2vrstr(pool, *s.evr)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def259]
libsolv-0.7.34/src/util.h:53:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_resource: opened here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:166:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:168:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:174:27: call_function: calling ‘solv_extend’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def260]
libsolv-0.7.34/src/util.h:53:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/ext/testcase.c:2148:1: enter_function: entry to ‘testcase_read’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_resource: opened here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2200:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2202:7: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2221:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2223:20: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2223:20: call_function: inlined call to ‘solv_extend’ from ‘testcase_read’
branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2223:20: call_function: inlined call to ‘solv_extend’ from ‘testcase_read’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
libsolv-0.7.34/src/util.h:53:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:142:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:144:18: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:145:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:17: acquire_memory: allocated here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:148:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:154:13: branch_true: following ‘true’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:156:15: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:166:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:168:15: branch_false: ...to here
libsolv-0.7.34/examples/solv/repoinfo_config_yum.c:174:27: call_function: calling ‘solv_extend’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
libsolv-0.7.34/src/util.h:53:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/ext/testcase.c:2148:1: enter_function: entry to ‘testcase_read’
libsolv-0.7.34/ext/testcase.c:2170:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.34/ext/testcase.c:2170:21: branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2170:21: acquire_memory: allocated here
libsolv-0.7.34/ext/testcase.c:2170:7: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2175:17: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2200:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2202:7: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2221:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/ext/testcase.c:2223:20: branch_false: ...to here
libsolv-0.7.34/ext/testcase.c:2223:20: call_function: inlined call to ‘solv_extend’ from ‘testcase_read’
branch_true: ...to here
libsolv-0.7.34/ext/testcase.c:2223:20: call_function: inlined call to ‘solv_extend’ from ‘testcase_read’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def263]
libsolv-0.7.34/tools/apk2solv.c:124:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.34/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.34/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:121:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/apk2solv.c:123:14: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:123:14: call_function: inlined call to ‘solv_extend’ from ‘main’
branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:124:23: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
libsolv-0.7.34/tools/apk2solv.c:124:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.34/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.34/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:121:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/apk2solv.c:123:14: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:123:14: call_function: inlined call to ‘solv_extend’ from ‘main’
branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:124:23: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def265]
libsolv-0.7.34/tools/apk2solv.c:126:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.34/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:126:10: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
libsolv-0.7.34/tools/apk2solv.c:126:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.34/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:126:10: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def267]
libsolv-0.7.34/tools/apk2solv.c:127:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.34/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:127:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
libsolv-0.7.34/tools/apk2solv.c:127:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.34/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:127:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def269]
libsolv-0.7.34/tools/apk2solv.c:153:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.34/tools/apk2solv.c:92:6: branch_false: following ‘false’ branch (when ‘manifest’ is NULL)...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:121:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/apk2solv.c:123:14: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:123:14: call_function: inlined call to ‘solv_extend’ from ‘main’
branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.34/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:133:10: branch_false: following ‘false’ branch (when ‘npkgs != 0’)...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:143:23: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.34/tools/apk2solv.c:146:36: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:146:26: acquire_resource: opened here
libsolv-0.7.34/tools/apk2solv.c:146:18: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/apk2solv.c:153:23: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:153:23: danger: ‘fopen(*<unknown>, "r")’ leaks here; was opened at [(15)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
libsolv-0.7.34/tools/apk2solv.c:153:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.34/tools/apk2solv.c:92:6: branch_false: following ‘false’ branch (when ‘manifest’ is NULL)...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:121:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/apk2solv.c:123:14: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:123:14: call_function: inlined call to ‘solv_extend’ from ‘main’
branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.34/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:133:10: branch_false: following ‘false’ branch (when ‘npkgs != 0’)...
branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:143:23: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.34/tools/apk2solv.c:146:36: branch_true: ...to here
libsolv-0.7.34/tools/apk2solv.c:146:26: acquire_memory: allocated here
libsolv-0.7.34/tools/apk2solv.c:146:18: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/apk2solv.c:153:23: branch_false: ...to here
libsolv-0.7.34/tools/apk2solv.c:153:23: danger: ‘fopen(*<unknown>, "r")’ leaks here; was allocated at [(15)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def271]
libsolv-0.7.34/tools/archpkgs2solv.c:111:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/tools/archpkgs2solv.c:50:1: enter_function: entry to ‘main’
libsolv-0.7.34/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.34/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:108:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/archpkgs2solv.c:110:14: branch_true: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:110:14: call_function: inlined call to ‘solv_extend’ from ‘main’
branch_true: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:111:23: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
libsolv-0.7.34/tools/archpkgs2solv.c:111:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/tools/archpkgs2solv.c:50:1: enter_function: entry to ‘main’
libsolv-0.7.34/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.34/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:108:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/archpkgs2solv.c:110:14: branch_true: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:110:14: call_function: inlined call to ‘solv_extend’ from ‘main’
branch_true: ...to here
libsolv-0.7.34/tools/archpkgs2solv.c:111:23: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def273]
libsolv-0.7.34/tools/deb2solv.c:135:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/deb2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.34/tools/deb2solv.c:63:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/deb2solv.c:65:7: branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:109:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/deb2solv.c:111:14: branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:111:14: call_function: inlined call to ‘solv_extend’ from ‘main’
branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:109:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/deb2solv.c:114:10: branch_false: ...to here
libsolv-0.7.34/tools/deb2solv.c:125:15: branch_true: following ‘true’ branch (when ‘i < ndebs’)...
libsolv-0.7.34/tools/deb2solv.c:127:10: branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:127:10: branch_true: following ‘true’ branch (when ‘is_repo != 0’)...
libsolv-0.7.34/tools/deb2solv.c:129:31: branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:129:21: acquire_resource: opened here
libsolv-0.7.34/tools/deb2solv.c:129:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/deb2solv.c:135:15: branch_false: ...to here
libsolv-0.7.34/tools/deb2solv.c:135:15: danger: ‘fopen(*<unknown>, "r")’ leaks here; was opened at [(15)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
libsolv-0.7.34/tools/deb2solv.c:135:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/deb2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.34/tools/deb2solv.c:63:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/deb2solv.c:65:7: branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:109:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/deb2solv.c:111:14: branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:111:14: call_function: inlined call to ‘solv_extend’ from ‘main’
branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:109:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/deb2solv.c:114:10: branch_false: ...to here
libsolv-0.7.34/tools/deb2solv.c:125:15: branch_true: following ‘true’ branch (when ‘i < ndebs’)...
libsolv-0.7.34/tools/deb2solv.c:127:10: branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:127:10: branch_true: following ‘true’ branch (when ‘is_repo != 0’)...
libsolv-0.7.34/tools/deb2solv.c:129:31: branch_true: ...to here
libsolv-0.7.34/tools/deb2solv.c:129:21: acquire_memory: allocated here
libsolv-0.7.34/tools/deb2solv.c:129:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/deb2solv.c:135:15: branch_false: ...to here
libsolv-0.7.34/tools/deb2solv.c:135:15: danger: ‘fopen(*<unknown>, "r")’ leaks here; was allocated at [(15)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def275]
libsolv-0.7.34/tools/mergesolv.c:54:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(repodata_lookup_str(data, -1, 33), "r")’
libsolv-0.7.34/tools/mergesolv.c:45:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/mergesolv.c:47:3: branch_false: ...to here
libsolv-0.7.34/tools/mergesolv.c:48:8: acquire_resource: opened here
libsolv-0.7.34/tools/mergesolv.c:49:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/mergesolv.c:54:7: branch_false: ...to here
libsolv-0.7.34/tools/mergesolv.c:54:7: danger: ‘fopen(repodata_lookup_str(data, -1, 33), "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
libsolv-0.7.34/tools/mergesolv.c:54:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(repodata_lookup_str(data, -1, 33), "r")’
libsolv-0.7.34/tools/mergesolv.c:45:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/mergesolv.c:47:3: branch_false: ...to here
libsolv-0.7.34/tools/mergesolv.c:48:8: acquire_memory: allocated here
libsolv-0.7.34/tools/mergesolv.c:49:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/mergesolv.c:54:7: branch_false: ...to here
libsolv-0.7.34/tools/mergesolv.c:54:7: danger: ‘fopen(repodata_lookup_str(data, -1, 33), "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def277]
libsolv-0.7.34/tools/mergesolv.c:104:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/mergesolv.c:96:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/mergesolv.c:99:27: branch_true: ...to here
libsolv-0.7.34/tools/mergesolv.c:99:17: acquire_resource: opened here
libsolv-0.7.34/tools/mergesolv.c:99:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/mergesolv.c:104:11: branch_false: ...to here
libsolv-0.7.34/tools/mergesolv.c:104:11: danger: ‘fopen(*<unknown>, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
libsolv-0.7.34/tools/mergesolv.c:104:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/mergesolv.c:96:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/mergesolv.c:99:27: branch_true: ...to here
libsolv-0.7.34/tools/mergesolv.c:99:17: acquire_memory: allocated here
libsolv-0.7.34/tools/mergesolv.c:99:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/mergesolv.c:104:11: branch_false: ...to here
libsolv-0.7.34/tools/mergesolv.c:104:11: danger: ‘fopen(*<unknown>, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def279]
libsolv-0.7.34/tools/repo2solv.c:356:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(solv_dupjoin(dir, "/content", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:354:13: acquire_resource: opened here
libsolv-0.7.34/tools/repo2solv.c:354:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:356:11: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:356:11: danger: ‘fopen(solv_dupjoin(dir, "/content", 0), "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
libsolv-0.7.34/tools/repo2solv.c:356:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(dir, "/content", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:354:13: acquire_memory: allocated here
libsolv-0.7.34/tools/repo2solv.c:354:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:356:11: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:356:11: danger: ‘fopen(solv_dupjoin(dir, "/content", 0), "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
libsolv-0.7.34/tools/repo2solv.c:376:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(solv_dupjoin(dir, "/", descrdir))’
libsolv-0.7.34/tools/repo2solv.c:371:13: acquire_memory: allocated here
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:376:16: danger: ‘opendir(solv_dupjoin(dir, "/", descrdir))’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def282]
libsolv-0.7.34/tools/repo2solv.c:426:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_resource: opened here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:426:7: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was opened at [(20)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
libsolv-0.7.34/tools/repo2solv.c:426:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_memory: allocated here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:426:7: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was allocated at [(20)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
libsolv-0.7.34/tools/repo2solv.c:435:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_resource: opened here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:435:15: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was opened at [(20)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
libsolv-0.7.34/tools/repo2solv.c:435:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_memory: allocated here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:435:15: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was allocated at [(20)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def286]
libsolv-0.7.34/tools/repo2solv.c:437:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_resource: opened here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:435:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:437:11: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:437:11: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was opened at [(20)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
libsolv-0.7.34/tools/repo2solv.c:437:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_memory: allocated here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:435:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:437:11: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:437:11: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was allocated at [(20)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def288]
libsolv-0.7.34/tools/repo2solv.c:438:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_resource: opened here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:435:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:437:11: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:438:17: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was opened at [(20)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
libsolv-0.7.34/tools/repo2solv.c:438:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_memory: allocated here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:435:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:437:11: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:438:17: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was allocated at [(20)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def290]
libsolv-0.7.34/tools/repo2solv.c:439:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_resource: opened here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:439:22: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was opened at [(20)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
libsolv-0.7.34/tools/repo2solv.c:439:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_memory: allocated here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:439:22: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was allocated at [(20)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def292]
libsolv-0.7.34/tools/repo2solv.c:441:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_resource: opened here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:441:19: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was opened at [(20)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
libsolv-0.7.34/tools/repo2solv.c:441:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.34/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.34/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.34/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.34/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:422:13: acquire_memory: allocated here
libsolv-0.7.34/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.34/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.34/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.34/tools/repo2solv.c:441:19: danger: ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’ leaks here; was allocated at [(20)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def294]
libsolv-0.7.34/tools/rpmdb2solv.c:171:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_false: following ‘false’ branch (when ‘c < 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:171:5: danger: ‘reffp’ leaks here; was opened at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
libsolv-0.7.34/tools/rpmdb2solv.c:171:5: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_false: following ‘false’ branch (when ‘c < 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:171:5: danger: ‘reffp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def296]
libsolv-0.7.34/tools/rpmdb2solv.c:179:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_false: following ‘false’ branch (when ‘c < 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:179:21: danger: ‘reffp’ leaks here; was opened at [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
libsolv-0.7.34/tools/rpmdb2solv.c:179:21: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_false: following ‘false’ branch (when ‘c < 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:179:21: danger: ‘reffp’ leaks here; was allocated at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def298]
libsolv-0.7.34/tools/rpmdb2solv.c:180:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_false: following ‘false’ branch (when ‘c < 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:180:7: danger: ‘reffp’ leaks here; was opened at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
libsolv-0.7.34/tools/rpmdb2solv.c:180:7: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:92:10: branch_false: following ‘false’ branch (when ‘c < 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:180:7: danger: ‘reffp’ leaks here; was allocated at [(13)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: danger: ‘reffp’ leaks here; was opened at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: danger: ‘reffp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
libsolv-0.7.34/tools/rpmdb2solv.c:189:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:189:10: danger: ‘reffp’ leaks here; was opened at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
libsolv-0.7.34/tools/rpmdb2solv.c:189:10: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:189:10: danger: ‘reffp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def304]
libsolv-0.7.34/tools/rpmdb2solv.c:198:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:191:6: branch_true: following ‘true’ branch (when ‘nopacks == 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:194:10: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:198:11: danger: ‘reffp’ leaks here; was opened at [(7)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
libsolv-0.7.34/tools/rpmdb2solv.c:198:11: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.34/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.34/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.34/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:191:6: branch_true: following ‘true’ branch (when ‘nopacks == 0’)...
libsolv-0.7.34/tools/rpmdb2solv.c:194:10: branch_true: ...to here
libsolv-0.7.34/tools/rpmdb2solv.c:198:11: danger: ‘reffp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def306]
libsolv-0.7.34/tools/rpms2solv.c:142:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.34/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:142:10: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
libsolv-0.7.34/tools/rpms2solv.c:142:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.34/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:142:10: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def308]
libsolv-0.7.34/tools/rpms2solv.c:143:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.34/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.34/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:143:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
libsolv-0.7.34/tools/rpms2solv.c:143:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.34/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.34/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.34/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.34/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.34/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.34/tools/rpms2solv.c:143:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def310]
libsolv-0.7.34/tools/susetags2solv.c:116:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(contentfile, "r")’
libsolv-0.7.34/tools/susetags2solv.c:74:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/susetags2solv.c:76:7: branch_true: ...to here
libsolv-0.7.34/tools/susetags2solv.c:108:6: branch_true: following ‘true’ branch (when ‘contentfile’ is non-NULL)...
libsolv-0.7.34/tools/susetags2solv.c:110:18: branch_true: ...to here
libsolv-0.7.34/tools/susetags2solv.c:110:18: acquire_resource: opened here
libsolv-0.7.34/tools/susetags2solv.c:111:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/susetags2solv.c:116:11: branch_false: ...to here
libsolv-0.7.34/tools/susetags2solv.c:116:11: danger: ‘fopen(contentfile, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
libsolv-0.7.34/tools/susetags2solv.c:116:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(contentfile, "r")’
libsolv-0.7.34/tools/susetags2solv.c:74:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.34/tools/susetags2solv.c:76:7: branch_true: ...to here
libsolv-0.7.34/tools/susetags2solv.c:108:6: branch_true: following ‘true’ branch (when ‘contentfile’ is non-NULL)...
libsolv-0.7.34/tools/susetags2solv.c:110:18: branch_true: ...to here
libsolv-0.7.34/tools/susetags2solv.c:110:18: acquire_memory: allocated here
libsolv-0.7.34/tools/susetags2solv.c:111:10: branch_false: following ‘false’ branch...
libsolv-0.7.34/tools/susetags2solv.c:116:11: branch_false: ...to here
libsolv-0.7.34/tools/susetags2solv.c:116:11: danger: ‘fopen(contentfile, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def312]
libsolv-0.7.34/tools/testsolv.c:284:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/testsolv.c:267:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/testsolv.c:269:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/testsolv.c:271:14: branch_true: ...to here
libsolv-0.7.34/tools/testsolv.c:276:12: acquire_resource: opened here
libsolv-0.7.34/tools/testsolv.c:277:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/testsolv.c:282:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/testsolv.c:284:11: branch_true: ...to here
libsolv-0.7.34/tools/testsolv.c:284:11: danger: ‘fopen(*<unknown>, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
libsolv-0.7.34/tools/testsolv.c:284:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/testsolv.c:267:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/testsolv.c:269:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/testsolv.c:271:14: branch_true: ...to here
libsolv-0.7.34/tools/testsolv.c:276:12: acquire_memory: allocated here
libsolv-0.7.34/tools/testsolv.c:277:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/testsolv.c:282:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/testsolv.c:284:11: branch_true: ...to here
libsolv-0.7.34/tools/testsolv.c:284:11: danger: ‘fopen(*<unknown>, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def314]
libsolv-0.7.34/tools/testsolv.c:287:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/testsolv.c:267:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/testsolv.c:269:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/testsolv.c:271:14: branch_true: ...to here
libsolv-0.7.34/tools/testsolv.c:276:12: acquire_resource: opened here
libsolv-0.7.34/tools/testsolv.c:277:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/testsolv.c:282:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/testsolv.c:284:11: branch_true: ...to here
libsolv-0.7.34/tools/testsolv.c:287:18: danger: ‘fopen(*<unknown>, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
libsolv-0.7.34/tools/testsolv.c:287:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "r")’
libsolv-0.7.34/tools/testsolv.c:267:6: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/testsolv.c:269:10: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/testsolv.c:271:14: branch_true: ...to here
libsolv-0.7.34/tools/testsolv.c:276:12: acquire_memory: allocated here
libsolv-0.7.34/tools/testsolv.c:277:10: branch_false: following ‘false’ branch...
branch_false: ...to here
libsolv-0.7.34/tools/testsolv.c:282:14: branch_true: following ‘true’ branch...
libsolv-0.7.34/tools/testsolv.c:284:11: branch_true: ...to here
libsolv-0.7.34/tools/testsolv.c:287:18: danger: ‘fopen(*<unknown>, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-758): [#def316]
libsolv-0.7.34/tools/testsolv.c:402: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def317]
libsolv-0.7.34/tools/testsolv.c:521: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
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-118.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 | libsolv-0.7.34-5.fc44 |
| store-results-to | /tmp/tmpnvt6um17/libsolv-0.7.34-5.fc44.tar.xz |
| time-created | 2025-10-28 19:23:21 |
| time-finished | 2025-10-28 19:26:18 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpnvt6um17/libsolv-0.7.34-5.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpnvt6um17/libsolv-0.7.34-5.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |