libsolv-0.7.35-3.fc44
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
libsolv-0.7.35/examples/solv/checksig.c:62:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pool_tmpjoin(sigpool, gpgdir, "/keys", 0), "w")’
libsolv-0.7.35/examples/solv/checksig.c:53:6: branch_false: following ‘false’ branch (when ‘gpgdir’ is non-NULL)...
libsolv-0.7.35/examples/solv/checksig.c:55:14: branch_false: ...to here
libsolv-0.7.35/examples/solv/checksig.c:56:15: acquire_resource: opened here
libsolv-0.7.35/examples/solv/checksig.c:56:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/checksig.c:62:19: branch_false: ...to here
libsolv-0.7.35/examples/solv/checksig.c:62:43: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/checksig.c:64:12: branch_true: ...to here
libsolv-0.7.35/examples/solv/checksig.c:66:16: throw: if ‘solvable_lookup_str’ throws an exception...
libsolv-0.7.35/examples/solv/checksig.c:62:19: 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.35/examples/solv/checksig.c:62:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pool_tmpjoin(sigpool, gpgdir, "/keys", 0), "w")’
libsolv-0.7.35/examples/solv/checksig.c:53:6: branch_false: following ‘false’ branch (when ‘gpgdir’ is non-NULL)...
libsolv-0.7.35/examples/solv/checksig.c:55:14: branch_false: ...to here
libsolv-0.7.35/examples/solv/checksig.c:56:15: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/checksig.c:56:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/checksig.c:62:19: branch_false: ...to here
libsolv-0.7.35/examples/solv/checksig.c:62:43: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/checksig.c:64:12: branch_true: ...to here
libsolv-0.7.35/examples/solv/checksig.c:66:16: throw: if ‘solvable_lookup_str’ throws an exception...
libsolv-0.7.35/examples/solv/checksig.c:62:19: 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.35/examples/solv/deltarpm.c:20:8: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
libsolv-0.7.35/examples/solv/deltarpm.c:23:7: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
libsolv-0.7.35/examples/solv/deltarpm.c:43:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:43:3: throw: if ‘dataiterator_init’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:44:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:44:3: throw: if ‘dataiterator_prepend_keyname’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: throw: if ‘dataiterator_step’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:49:7: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: throw: if ‘dataiterator_setpos_parent’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:50:11: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:50:11: throw: if ‘pool_lookup_id’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:51:11: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:51:11: throw: if ‘pool_lookup_id’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:53:17: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:53:17: throw: if ‘pool_lookup_id’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:70:21: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:70:21: throw: if ‘pool_id2str’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:74:17: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: throw: if ‘pool_lookup_str’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:75:17: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:75:17: throw: if ‘pool_lookup_str’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:83:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:15: throw: if ‘system’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:83:22: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:22: throw: if ‘pool_tmpjoin’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:87:20: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:87:20: throw: if ‘pool_lookup_bin_checksum’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:90:18: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: throw: if ‘pool_lookup_deltalocation’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:96:37: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:94:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:96:37: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:96:37: throw: if ‘repo_lookup_str’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:97:22: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:94:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:96:37: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:97:22: throw: if ‘pool_tmpjoin’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:100:21: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:94:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:100:21: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:100:21: throw: if ‘curlfopen’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:109:11: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.35/examples/solv/deltarpm.c:109:11: throw: if ‘fcntl’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:110:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.35/examples/solv/deltarpm.c:110:15: throw: if ‘system’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:112:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.35/examples/solv/deltarpm.c:110:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:112:15: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:112:15: throw: if ‘close’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:118:20: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:83:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:86:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:88:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:90:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:91:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:94:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:100:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.35/examples/solv/deltarpm.c:110:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:116:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:118:20: throw: if ‘solvable_lookup_bin_checksum’ throws an exception...
libsolv-0.7.35/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.35/examples/solv/deltarpm.c:119:30: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.35/examples/solv/deltarpm.c:119:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:119:30: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:119:30: throw: if ‘verify_checksum’ throws an exception...
libsolv-0.7.35/examples/solv/deltarpm.c:119:30: danger: ‘matchname’ leaks here; was allocated at [(2)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
libsolv-0.7.35/examples/solv/deltarpm.c:121:15: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.35/examples/solv/deltarpm.c:119:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:121:15: throw: if ‘close’ throws an exception...
libsolv-0.7.35/examples/solv/deltarpm.c:121:15: danger: ‘matchname’ leaks here; was allocated at [(2)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
libsolv-0.7.35/examples/solv/deltarpm.c:130:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:130:3: throw: if ‘dataiterator_free’ throws an exception...
libsolv-0.7.35/examples/solv/deltarpm.c:130:3: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
libsolv-0.7.35/examples/solv/deltarpm.c:130:3: warning[-Wanalyzer-malloc-leak]: leak of ‘retfp’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.35/examples/solv/deltarpm.c:125:19: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:130:3: throw: if ‘dataiterator_free’ throws an exception...
libsolv-0.7.35/examples/solv/deltarpm.c:130:3: danger: ‘retfp’ leaks here; was allocated at [(15)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
libsolv-0.7.35/examples/solv/deltarpm.c:131:3: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:131:3: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/examples/solv/deltarpm.c:131:3: danger: ‘matchname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
libsolv-0.7.35/examples/solv/deltarpm.c:131:3: warning[-Wanalyzer-malloc-leak]: leak of ‘retfp’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:71:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:74:17: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:76:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:79:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: call_function: calling ‘opentmpfile’ from ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:103:19: return_function: returning to ‘trydeltadownload’ from ‘opentmpfile’
libsolv-0.7.35/examples/solv/deltarpm.c:125:19: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:131:3: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/examples/solv/deltarpm.c:131:3: danger: ‘retfp’ leaks here; was allocated at [(15)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def32]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(calc_cachepath(repo, repoext, forcesystemloc), "r")’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:86:1: enter_function: entry to ‘usecachedrepo’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:90:27: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:90:57: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:90:56: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:98:20: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:20: call_function: calling ‘calc_cachepath’ from ‘usecachedrepo’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:20: return_function: returning to ‘usecachedrepo’ from ‘calc_cachepath’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:14: acquire_resource: opened here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:20: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:118:7: throw: if ‘fseek’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:20: danger: ‘fopen(calc_cachepath(repo, repoext, forcesystemloc), "r")’ leaks here; was opened at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(calc_cachepath(repo, repoext, forcesystemloc), "r")’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:86:1: enter_function: entry to ‘usecachedrepo’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:90:27: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:90:57: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:90:56: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:98:20: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:20: call_function: calling ‘calc_cachepath’ from ‘usecachedrepo’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:20: return_function: returning to ‘usecachedrepo’ from ‘calc_cachepath’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:14: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:20: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:118:7: throw: if ‘fseek’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:20: danger: ‘fopen(calc_cachepath(repo, repoext, forcesystemloc), "r")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def34]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:154:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘myextcookie’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:86:1: enter_function: entry to ‘usecachedrepo’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:90:27: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:90:57: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:90:56: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:98:20: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:20: call_function: calling ‘calc_cachepath’ from ‘usecachedrepo’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:20: return_function: returning to ‘usecachedrepo’ from ‘calc_cachepath’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:107:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:109:20: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:118:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:123:6: branch_false: following ‘false’ branch (when ‘cookie’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:128:7: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:128:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:136:3: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:139:6: branch_false: following ‘false’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:145:7: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:145:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:150:7: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:150:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:154:7: danger: use of uninitialized value ‘myextcookie’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def35]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tmpl, "r")’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: acquire_resource: opened here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: throw: if ‘repo_empty’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: danger: ‘fopen(tmpl, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tmpl, "r")’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: throw: if ‘repo_empty’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: danger: ‘fopen(tmpl, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:185:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tmpl, "r")’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: acquire_resource: opened here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:185:11: throw: if ‘repo_add_solv’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:185:11: danger: ‘fopen(tmpl, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:185:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tmpl, "r")’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_true: following ‘true’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:184:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:185:11: throw: if ‘repo_add_solv’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:185:11: danger: ‘fopen(tmpl, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def39]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:197:52: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tmpl, "r")’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: acquire_resource: opened here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_false: following ‘false’ branch (when ‘repoext’ is non-NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:197:52: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:197:7: throw: if ‘repodata_extend_block’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:197:52: danger: ‘fopen(tmpl, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:197:52: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tmpl, "r")’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:170:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:172:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:175:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:178:8: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:179:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:181:6: branch_false: following ‘false’ branch (when ‘repoext’ is non-NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:197:52: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:197:7: throw: if ‘repodata_extend_block’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:197:52: danger: ‘fopen(tmpl, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:238:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:215:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:223:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:228:3: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:229:14: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:229:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:237:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:237:6: branch_true: following ‘true’ branch (when ‘repodata’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:238:5: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:238:5: throw: if ‘repo_write’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:238:5: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:240:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:215:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:223:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:228:3: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:229:14: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:229:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:237:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:237:6: branch_false: following ‘false’ branch (when ‘repodata’ is non-NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:239:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:239:11: branch_true: following ‘true’ branch (when ‘repoext’ is non-NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:240:5: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:240:5: throw: if ‘repodata_write’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:240:5: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
libsolv-0.7.35/examples/solv/repoinfo_cache.c:245:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/examples/solv/repoinfo_cache.c:215:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:223:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:228:3: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:229:14: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:229:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:237:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:237:6: branch_false: following ‘false’ branch (when ‘repodata’ is non-NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:239:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:239:11: branch_false: following ‘false’ branch (when ‘repoext’ is NULL)...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:243:11: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_cache.c:245:7: throw: if ‘repo_write’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_cache.c:245:7: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-682): [#def44]
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:105: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def45]
libsolv-0.7.35/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): [#def46]
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:105:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘basearch’
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:71:10: branch_true: following ‘true’ branch (when ‘p2’ is non-NULL)...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:73:12: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:94:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:96:15: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:96:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:99:19: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:99:18: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:104:26: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:104:26: acquire_memory: this call could return NULL
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:105:19: danger: ‘strdup(&un.machine)’ could be NULL: unchecked value from [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:140:17: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/etc/yum.repos.d")’
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:134:9: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:135:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:140:17: throw: if ‘readdir’ throws an exception...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:140:17: danger: ‘opendir("/etc/yum.repos.d")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def48]
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:159:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:135:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:148:17: acquire_resource: opened here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:166:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:168:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:174:27: call_function: calling ‘solv_extend’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:159:29: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:121:1: enter_function: entry to ‘read_repoinfos_yum’
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:135:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:135:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:140:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:142:11: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:148:17: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:159:18: branch_true: following ‘true’ branch (when ‘l != 0’)...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:159:29: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:166:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:168:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_config_yum.c:174:27: call_function: calling ‘solv_extend’ from ‘read_repoinfos_yum’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def50]
libsolv-0.7.35/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.35/examples/solv/repoinfo_system_rpm.c:89:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:94:3: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:103:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:115:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:115:9: acquire_resource: opened here
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:116:7: throw: if ‘repo_add_rpmdb_reffp’ throws an exception...
libsolv-0.7.35/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): [#def51]
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:116:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(calc_cachepath(repo, 0, 0), "r")’
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:89:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:94:3: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:103:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:115:15: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:115:9: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_system_rpm.c:116:7: throw: if ‘repo_add_rpmdb_reffp’ throws an exception...
libsolv-0.7.35/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): [#def52]
libsolv-0.7.35/examples/solv/repoinfo_type_debian.c:41:11: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘basearch’
libsolv-0.7.35/examples/solv/repoinfo_type_debian.c:32:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/repoinfo_type_debian.c:35:11: branch_true: ...to here
libsolv-0.7.35/examples/solv/repoinfo_type_debian.c:35:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_type_debian.c:40:18: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_type_debian.c:40:18: acquire_memory: this call could return NULL
libsolv-0.7.35/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): [#def53]
libsolv-0.7.35/examples/solv/repoinfo_type_plaindir.c:57:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(*cinfo.path)’
libsolv-0.7.35/examples/solv/repoinfo_type_plaindir.c:39:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_type_plaindir.c:44:53: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_type_plaindir.c:46:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_type_plaindir.c:51:3: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_type_plaindir.c:52:13: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/repoinfo_type_plaindir.c:52:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/examples/solv/repoinfo_type_plaindir.c:52:6: branch_false: ...to here
libsolv-0.7.35/examples/solv/repoinfo_type_plaindir.c:57:16: throw: if ‘readdir’ throws an exception...
libsolv-0.7.35/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: [#def54]
libsolv-0.7.35/ext/repo_apk.c:262:13: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘fd’
libsolv-0.7.35/ext/repo_apk.c:686:1: enter_function: entry to ‘repo_add_apk_repo’
libsolv-0.7.35/ext/repo_apk.c:698:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_apk.c:700:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_apk.c:702:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_apk.c:704:10: branch_true: ...to here
libsolv-0.7.35/ext/repo_apk.c:704:9: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_apk.c:706:10: branch_false: ...to here
libsolv-0.7.35/ext/repo_apk.c:706:9: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_apk.c:707:15: call_function: calling ‘add_apkv3_idx’ from ‘repo_add_apk_repo’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def55]
libsolv-0.7.35/ext/repo_apk.c:293:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cfp’ where non-null expected
libsolv-0.7.35/ext/repo_apk.c:686:1: enter_function: entry to ‘repo_add_apk_repo’
libsolv-0.7.35/ext/repo_apk.c:698:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_apk.c:700:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_apk.c:702:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_apk.c:704:10: branch_true: ...to here
libsolv-0.7.35/ext/repo_apk.c:704:9: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_apk.c:706:10: branch_false: ...to here
libsolv-0.7.35/ext/repo_apk.c:706:9: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_apk.c:707:15: call_function: calling ‘add_apkv3_idx’ from ‘repo_add_apk_repo’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def56]
libsolv-0.7.35/ext/repo_apk.c:410:34: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(<unknown>, 0)’
libsolv-0.7.35/ext/repo_apk.c:388:1: enter_function: entry to ‘repo_add_apk_pkg’
libsolv-0.7.35/ext/repo_apk.c:405:13: acquire_resource: opened here
libsolv-0.7.35/ext/repo_apk.c:405:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_apk.c:410:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_apk.c:410:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_apk.c:411:12: call_function: calling ‘add_apkv3_pkg’ from ‘repo_add_apk_pkg’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def57]
libsolv-0.7.35/ext/repo_apkv3.c:286:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘blobl’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
libsolv-0.7.35/ext/repo_appdata.c:218:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filepath, "r")’
libsolv-0.7.35/ext/repo_appdata.c:211:14: acquire_resource: opened here
libsolv-0.7.35/ext/repo_appdata.c:211:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_appdata.c:211:6: branch_false: ...to here
libsolv-0.7.35/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:257:37: throw: if ‘pool_tmpjoin’ throws an exception...
libsolv-0.7.35/ext/repo_appdata.c:218:15: danger: ‘fopen(filepath, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
libsolv-0.7.35/ext/repo_appdata.c:218:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filepath, "r")’
libsolv-0.7.35/ext/repo_appdata.c:211:14: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_appdata.c:211:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_appdata.c:211:6: branch_false: ...to here
libsolv-0.7.35/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:213:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:215:18: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:257:37: throw: if ‘pool_tmpjoin’ throws an exception...
libsolv-0.7.35/ext/repo_appdata.c:218:15: danger: ‘fopen(filepath, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
libsolv-0.7.35/ext/repo_appdata.c:540:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.35/ext/repo_appdata.c:537:14: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:537:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:540:23: throw: if ‘readdir’ throws an exception...
libsolv-0.7.35/ext/repo_appdata.c:540:23: danger: ‘opendir(dirpath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
libsolv-0.7.35/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.35/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:537:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:551:16: acquire_resource: opened here
libsolv-0.7.35/ext/repo_appdata.c:557:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:559:23: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:559:23: throw: if ‘pool_str2id’ throws an exception...
libsolv-0.7.35/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/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
libsolv-0.7.35/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.35/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:537:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:551:16: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_appdata.c:557:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:559:23: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:559:23: throw: if ‘pool_str2id’ throws an exception...
libsolv-0.7.35/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/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
libsolv-0.7.35/ext/repo_appdata.c:569:136: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.35/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:537:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:551:16: acquire_resource: opened here
libsolv-0.7.35/ext/repo_appdata.c:557:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_appdata.c:569:136: branch_false: ...to here
libsolv-0.7.35/ext/repo_appdata.c:569:11: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:569:11: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:569:11: call_function: calling ‘repo_add_appdata_fn’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
libsolv-0.7.35/ext/repo_appdata.c:569:136: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(pool_tmpjoin(*repo.pool, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_appdata.c:520:1: enter_function: entry to ‘repo_add_appdata_dir’
libsolv-0.7.35/ext/repo_appdata.c:537:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:537:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:540:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:544:28: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:551:16: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_appdata.c:557:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_appdata.c:569:136: branch_false: ...to here
libsolv-0.7.35/ext/repo_appdata.c:569:11: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_appdata.c:569:11: branch_true: ...to here
libsolv-0.7.35/ext/repo_appdata.c:569:11: call_function: calling ‘repo_add_appdata_fn’ from ‘repo_add_appdata_dir’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
libsolv-0.7.35/ext/repo_arch.c:533:20: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dir)’
libsolv-0.7.35/ext/repo_arch.c:530:8: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_arch.c:531:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_arch.c:531:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_arch.c:533:20: throw: if ‘readdir’ throws an exception...
libsolv-0.7.35/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): [#def66]
libsolv-0.7.35/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.35/ext/repo_arch.c:531:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_arch.c:531:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_arch.c:533:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_arch.c:535:16: branch_true: ...to here
libsolv-0.7.35/ext/repo_arch.c:540:21: acquire_resource: opened here
libsolv-0.7.35/ext/repo_arch.c:543:15: throw: if ‘tarhead_init’ throws an exception...
libsolv-0.7.35/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): [#def67]
libsolv-0.7.35/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.35/ext/repo_arch.c:531:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_arch.c:531:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_arch.c:533:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_arch.c:535:16: branch_true: ...to here
libsolv-0.7.35/ext/repo_arch.c:540:21: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_arch.c:543:15: throw: if ‘tarhead_init’ throws an exception...
libsolv-0.7.35/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): [#def68]
libsolv-0.7.35/ext/repo_conda.c:405:30: warning[-Wanalyzer-malloc-leak]: leak of ‘pd.subdir’
libsolv-0.7.35/ext/repo_conda.c:465:1: enter_function: entry to ‘repo_add_conda’
libsolv-0.7.35/ext/repo_conda.c:485:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_conda.c:487:20: branch_false: ...to here
libsolv-0.7.35/ext/repo_conda.c:487:20: call_function: calling ‘parse_main’ from ‘repo_add_conda’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def69]
libsolv-0.7.35/ext/repo_deb.c:675:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.35/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.35/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_deb.c:673:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_deb.c:675:50: branch_true: ...to here
libsolv-0.7.35/ext/repo_deb.c:675:7: throw: if ‘pool_error’ throws an exception...
libsolv-0.7.35/ext/repo_deb.c:675:7: 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): [#def70]
libsolv-0.7.35/ext/repo_deb.c:675:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.35/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_deb.c:673:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_deb.c:675:50: branch_true: ...to here
libsolv-0.7.35/ext/repo_deb.c:675:7: throw: if ‘pool_error’ throws an exception...
libsolv-0.7.35/ext/repo_deb.c:675:7: 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): [#def71]
libsolv-0.7.35/ext/repo_deb.c:682:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.35/ext/repo_deb.c:668:13: acquire_resource: opened here
libsolv-0.7.35/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_deb.c:682:7: throw: if ‘pool_error’ throws an exception...
libsolv-0.7.35/ext/repo_deb.c:682: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): [#def72]
libsolv-0.7.35/ext/repo_deb.c:682:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.35/ext/repo_deb.c:668:13: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_deb.c:668:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_deb.c:673:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_deb.c:673:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_deb.c:679:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_deb.c:682:7: throw: if ‘pool_error’ throws an exception...
libsolv-0.7.35/ext/repo_deb.c:682: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): [#def73]
libsolv-0.7.35/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.35/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:320:16: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.35/ext/repo_products.c:325:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:327:28: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:331:22: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:331:22: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.35/ext/repo_products.c:332:16: acquire_resource: opened here
libsolv-0.7.35/ext/repo_products.c:340:15: throw: if ‘pool_error’ throws an exception...
libsolv-0.7.35/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/3/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
libsolv-0.7.35/ext/repo_products.c:340:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:320:16: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.35/ext/repo_products.c:325:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:327:28: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:331:22: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:331:22: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.35/ext/repo_products.c:332:16: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_products.c:340:15: throw: if ‘pool_error’ throws an exception...
libsolv-0.7.35/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/4/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def75]
libsolv-0.7.35/ext/repo_products.c:344:31: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:320:16: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.35/ext/repo_products.c:325:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:327:28: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:331:22: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:331:22: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.35/ext/repo_products.c:332:16: acquire_resource: opened here
libsolv-0.7.35/ext/repo_products.c:348:15: throw: if ‘solv_xmlparser_parse’ throws an exception...
libsolv-0.7.35/ext/repo_products.c:344:31: danger: ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was opened at [(28)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
libsolv-0.7.35/ext/repo_products.c:344:31: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:320:16: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.35/ext/repo_products.c:325:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:327:28: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:331:22: call_function: calling ‘join2’ from ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:331:22: return_function: returning to ‘repo_add_code11_products’ from ‘join2’
libsolv-0.7.35/ext/repo_products.c:332:16: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_products.c:348:15: throw: if ‘solv_xmlparser_parse’ throws an exception...
libsolv-0.7.35/ext/repo_products.c:344:31: danger: ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’ leaks here; was allocated at [(28)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
libsolv-0.7.35/ext/repo_products.c:394:11: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(<unknown>)’
libsolv-0.7.35/ext/repo_products.c:388:6: branch_true: following ‘true’ branch (when ‘proddir’ is non-NULL)...
libsolv-0.7.35/ext/repo_products.c:390:21: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:390:13: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_products.c:391:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:394:11: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:394:11: danger: ‘opendir(<unknown>)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
libsolv-0.7.35/ext/repo_products.c:406:7: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(fullpath)’
libsolv-0.7.35/ext/repo_products.c:403:9: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_products.c:404:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:406:7: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:406:7: danger: ‘opendir(fullpath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
libsolv-0.7.35/ext/repo_products.c:418:7: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(fullpath)’
libsolv-0.7.35/ext/repo_products.c:404:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_products.c:413:6: branch_false: ...to here
libsolv-0.7.35/ext/repo_products.c:415:9: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_products.c:416:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:418:7: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:418:7: danger: ‘opendir(fullpath)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
libsolv-0.7.35/ext/repo_products.c:429:7: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(pool_get_rootdir(*repo.pool))’
libsolv-0.7.35/ext/repo_products.c:404:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_products.c:413:6: branch_false: ...to here
libsolv-0.7.35/ext/repo_products.c:416:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_products.c:423:14: branch_false: ...to here
libsolv-0.7.35/ext/repo_products.c:424:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:426:13: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_products.c:427:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_products.c:429:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_products.c:429:7: danger: ‘opendir(pool_get_rootdir(*repo.pool))’ leaks here; was allocated at [(7)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def81]
libsolv-0.7.35/ext/repo_releasefile_products.c:55:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.35/ext/repo_releasefile_products.c:152:21: acquire_resource: opened here
libsolv-0.7.35/ext/repo_releasefile_products.c:152:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
libsolv-0.7.35/ext/repo_releasefile_products.c:55:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.35/ext/repo_releasefile_products.c:152:21: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_releasefile_products.c:152:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
libsolv-0.7.35/ext/repo_releasefile_products.c:69:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.35/ext/repo_releasefile_products.c:152:21: acquire_resource: opened here
libsolv-0.7.35/ext/repo_releasefile_products.c:152:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
libsolv-0.7.35/ext/repo_releasefile_products.c:69:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.35/ext/repo_releasefile_products.c:152:21: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_releasefile_products.c:152:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def85]
libsolv-0.7.35/ext/repo_releasefile_products.c:73:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.35/ext/repo_releasefile_products.c:152:21: acquire_resource: opened here
libsolv-0.7.35/ext/repo_releasefile_products.c:152:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
libsolv-0.7.35/ext/repo_releasefile_products.c:73:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: return_function: returning to ‘repo_add_releasefile_products’ from ‘join2’
libsolv-0.7.35/ext/repo_releasefile_products.c:152:21: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_releasefile_products.c:152:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:157:11: call_function: calling ‘add_releasefile_product’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
libsolv-0.7.35/ext/repo_releasefile_products.c:143:19: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.35/ext/repo_releasefile_products.c:133:9: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:143:19: throw: if ‘readdir’ throws an exception...
libsolv-0.7.35/ext/repo_releasefile_products.c:143:19: danger: ‘opendir(dirpath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
libsolv-0.7.35/ext/repo_rpmdb.c:686:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ignq’
libsolv-0.7.35/ext/repo_rpmdb.c:1136:1: enter_function: entry to ‘rpmhead2solv’
libsolv-0.7.35/ext/repo_rpmdb.c:1144:10: call_function: calling ‘headstring’ from ‘rpmhead2solv’
libsolv-0.7.35/ext/repo_rpmdb.c:1144:10: return_function: returning to ‘rpmhead2solv’ from ‘headstring’
libsolv-0.7.35/ext/repo_rpmdb.c:1145:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1150:8: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1153:15: call_function: calling ‘headstring’ from ‘rpmhead2solv’
libsolv-0.7.35/ext/repo_rpmdb.c:1153:15: return_function: returning to ‘rpmhead2solv’ from ‘headstring’
libsolv-0.7.35/ext/repo_rpmdb.c:1163:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1165:9: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1165:9: call_function: calling ‘headtoevr’ from ‘rpmhead2solv’
libsolv-0.7.35/ext/repo_rpmdb.c:1165:9: return_function: returning to ‘rpmhead2solv’ from ‘headtoevr’
libsolv-0.7.35/ext/repo_rpmdb.c:1172:17: call_function: calling ‘makedeps’ from ‘rpmhead2solv’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def89]
libsolv-0.7.35/ext/repo_rpmdb.c:1971:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.35/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.35/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1969:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1971:50: branch_true: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1971:7: throw: if ‘pool_error’ throws an exception...
libsolv-0.7.35/ext/repo_rpmdb.c:1971:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/72/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
libsolv-0.7.35/ext/repo_rpmdb.c:1971:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.35/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1969:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1971:50: branch_true: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1971:7: throw: if ‘pool_error’ throws an exception...
libsolv-0.7.35/ext/repo_rpmdb.c:1971:7: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/73/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def91]
libsolv-0.7.35/ext/repo_rpmdb.c:1982:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(<unknown>, "r")’
libsolv-0.7.35/ext/repo_rpmdb.c:1964:13: acquire_resource: opened here
libsolv-0.7.35/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.35/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1982:15: throw: if ‘solv_chksum_create’ throws an exception...
libsolv-0.7.35/ext/repo_rpmdb.c:1982:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/74/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
libsolv-0.7.35/ext/repo_rpmdb.c:1982:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(<unknown>, "r")’
libsolv-0.7.35/ext/repo_rpmdb.c:1964:13: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_rpmdb.c:1964:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1969:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1969:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:1977:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1981:6: branch_true: following ‘true’ branch (when ‘chksumtype != 0’)...
libsolv-0.7.35/ext/repo_rpmdb.c:1982:15: branch_true: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:1982:15: throw: if ‘solv_chksum_create’ throws an exception...
libsolv-0.7.35/ext/repo_rpmdb.c:1982:15: danger: ‘fopen(<unknown>, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/75/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def93]
libsolv-0.7.35/ext/repo_rpmdb.c:2346:11: warning[-Wanalyzer-null-argument]: use of NULL ‘space’ where non-null expected
libsolv-0.7.35/ext/repo_rpmdb.c:2232:1: enter_function: entry to ‘rpm_iterate_filelist’
libsolv-0.7.35/ext/repo_rpmdb.c:2252:8: call_function: inlined call to ‘headstringarray’ from ‘rpm_iterate_filelist’
libsolv-0.7.35/ext/repo_rpmdb.c:2252:8: call_function: inlined call to ‘headstringarray’ from ‘rpm_iterate_filelist’
libsolv-0.7.35/ext/repo_rpmdb.c:2253:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:2255:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:2255:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:2262:8: call_function: inlined call to ‘headstringarray’ from ‘rpm_iterate_filelist’
libsolv-0.7.35/ext/repo_rpmdb.c:2262:8: call_function: inlined call to ‘headstringarray’ from ‘rpm_iterate_filelist’
libsolv-0.7.35/ext/repo_rpmdb.c:2263:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:2268:8: call_function: inlined call to ‘headint32array’ from ‘rpm_iterate_filelist’
libsolv-0.7.35/ext/repo_rpmdb.c:2268:8: call_function: inlined call to ‘headint32array’ from ‘rpm_iterate_filelist’
libsolv-0.7.35/ext/repo_rpmdb.c:2269:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:2276:8: call_function: inlined call to ‘headint16array’ from ‘rpm_iterate_filelist’
libsolv-0.7.35/ext/repo_rpmdb.c:2277:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:2285:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:2298:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:2312:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:2327:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:2330:15: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_rpmdb.c:2332:10: branch_true: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:2332:10: branch_false: following ‘false’ branch (when ‘ff’ is NULL)...
libsolv-0.7.35/ext/repo_rpmdb.c:2334:17: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:2335:10: branch_false: following ‘false’ branch (when ‘lastdir > diidx’)...
libsolv-0.7.35/ext/repo_rpmdb.c:2337:7: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:2337:7: branch_true: following ‘true’ branch (when ‘lastdir != diidx’)...
libsolv-0.7.35/ext/repo_rpmdb.c:2337:51: branch_true: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:2339:10: branch_false: following ‘false’ branch (when ‘spacen >= l’)...
libsolv-0.7.35/ext/repo_rpmdb.c:2344:10: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:2344:10: branch_true: following ‘true’ branch (when ‘lastdir != diidx’)...
libsolv-0.7.35/ext/repo_rpmdb.c:2346:27: branch_true: ...to here
libsolv-0.7.35/ext/repo_rpmdb.c:2346:11: danger: argument 1 (‘space’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def94]
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:206:10: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:168:1: enter_function: entry to ‘getinstalledrpmdbids’
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:183:5: release_memory: ‘*namedatap’ is NULL
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:185:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:188:6: branch_false: ...to here
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:192:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:195:10: branch_true: ...to here
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:205:21: call_function: calling ‘solv_extend’ from ‘getinstalledrpmdbids’
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:205:21: return_function: returning to ‘getinstalledrpmdbids’ from ‘solv_extend’
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:206:17: release_memory: using NULL here
libsolv-0.7.35/ext/repo_rpmdb_librpm.h:206:10: danger: argument 1 (‘solv_extend(namedata, (long unsigned int)namedatal, keylen + 1, 1, 1023) + <unknown>’) NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-786): [#def95]
libsolv-0.7.35/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): [#def96]
libsolv-0.7.35/ext/repo_zyppdb.c:170:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.35/ext/repo_zyppdb.c:167:9: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_zyppdb.c:168:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_zyppdb.c:168:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_zyppdb.c:170:23: throw: if ‘readdir’ throws an exception...
libsolv-0.7.35/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): [#def97]
libsolv-0.7.35/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.35/ext/repo_zyppdb.c:149:1: enter_function: entry to ‘repo_add_zyppdb_products’
libsolv-0.7.35/ext/repo_zyppdb.c:168:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_zyppdb.c:168:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_zyppdb.c:170:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_zyppdb.c:172:15: branch_true: ...to here
libsolv-0.7.35/ext/repo_zyppdb.c:174:22: call_function: calling ‘join2’ from ‘repo_add_zyppdb_products’
libsolv-0.7.35/ext/repo_zyppdb.c:174:22: return_function: returning to ‘repo_add_zyppdb_products’ from ‘join2’
libsolv-0.7.35/ext/repo_zyppdb.c:175:21: acquire_resource: opened here
libsolv-0.7.35/ext/repo_zyppdb.c:181:15: throw: if ‘solv_xmlparser_parse’ throws an exception...
libsolv-0.7.35/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): [#def98]
libsolv-0.7.35/ext/repo_zyppdb.c:181:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(join2(&pd.jd, dirpath, "/", &*<unknown>.d_name), "r")’
libsolv-0.7.35/ext/repo_zyppdb.c:149:1: enter_function: entry to ‘repo_add_zyppdb_products’
libsolv-0.7.35/ext/repo_zyppdb.c:168:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_zyppdb.c:168:6: branch_true: ...to here
libsolv-0.7.35/ext/repo_zyppdb.c:170:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_zyppdb.c:172:15: branch_true: ...to here
libsolv-0.7.35/ext/repo_zyppdb.c:174:22: call_function: calling ‘join2’ from ‘repo_add_zyppdb_products’
libsolv-0.7.35/ext/repo_zyppdb.c:174:22: return_function: returning to ‘repo_add_zyppdb_products’ from ‘join2’
libsolv-0.7.35/ext/repo_zyppdb.c:175:21: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_zyppdb.c:181:15: throw: if ‘solv_xmlparser_parse’ throws an exception...
libsolv-0.7.35/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): [#def99]
libsolv-0.7.35/ext/repo_zyppdb.c:189:3: warning[-Wanalyzer-null-argument]: use of NULL ‘opendir(dirpath)’ where non-null expected
libsolv-0.7.35/ext/repo_zyppdb.c:167:9: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_zyppdb.c:168:6: release_memory: assuming ‘opendir(dirpath)’ is NULL
libsolv-0.7.35/ext/repo_zyppdb.c:168:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_zyppdb.c:189:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_zyppdb.c:189:3: danger: argument 1 (‘opendir(dirpath)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def100]
libsolv-0.7.35/ext/solv_xfopen.c:563:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libsolv-0.7.35/ext/solv_xfopen.c:552:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:554:6: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:554:6: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.35/ext/solv_xfopen.c:556:11: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:556:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:557:14: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:557:14: acquire_resource: opened here
libsolv-0.7.35/ext/solv_xfopen.c:560:10: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libsolv-0.7.35/ext/solv_xfopen.c:563:7: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:563:7: throw: if ‘zck_create’ throws an exception...
libsolv-0.7.35/ext/solv_xfopen.c:563:7: 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): [#def101]
libsolv-0.7.35/ext/solv_xfopen.c:567:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libsolv-0.7.35/ext/solv_xfopen.c:552:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:554:6: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:554:6: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.35/ext/solv_xfopen.c:556:11: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:556:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:557:14: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:557:14: acquire_resource: opened here
libsolv-0.7.35/ext/solv_xfopen.c:560:10: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libsolv-0.7.35/ext/solv_xfopen.c:563:7: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:564:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:566:10: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:566:10: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.35/ext/solv_xfopen.c:567:9: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:567:9: throw: if ‘close’ throws an exception...
libsolv-0.7.35/ext/solv_xfopen.c:567:9: danger: ‘fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def102]
libsolv-0.7.35/ext/solv_xfopen.c:572:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libsolv-0.7.35/ext/solv_xfopen.c:552:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:554:6: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:554:6: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.35/ext/solv_xfopen.c:556:11: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:556:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:557:14: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:557:14: acquire_resource: opened here
libsolv-0.7.35/ext/solv_xfopen.c:560:10: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libsolv-0.7.35/ext/solv_xfopen.c:563:7: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:564:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:570:7: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:570:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:572:11: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:572:11: throw: if ‘zck_init_read’ throws an exception...
libsolv-0.7.35/ext/solv_xfopen.c:572:11: danger: ‘fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def103]
libsolv-0.7.35/ext/solv_xfopen.c:582:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
libsolv-0.7.35/ext/solv_xfopen.c:552:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:554:6: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:554:6: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
libsolv-0.7.35/ext/solv_xfopen.c:556:11: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:556:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:557:14: branch_true: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:557:14: acquire_resource: opened here
libsolv-0.7.35/ext/solv_xfopen.c:560:10: branch_false: following ‘false’ branch (when ‘fd != -1’)...
libsolv-0.7.35/ext/solv_xfopen.c:563:7: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:564:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:570:7: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:570:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/solv_xfopen.c:582:11: branch_false: ...to here
libsolv-0.7.35/ext/solv_xfopen.c:582:11: throw: if ‘zck_init_write’ throws an exception...
libsolv-0.7.35/ext/solv_xfopen.c:582:11: danger: ‘fd’ leaks here; was opened at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: COMPILER_WARNING (CWE-704): [#def104]
libsolv-0.7.35/ext/solv_xfopen.c: scope_hint: In function ‘solv_xfopen’
libsolv-0.7.35/ext/solv_xfopen.c:670:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def105]
libsolv-0.7.35/ext/solv_xfopen.c:670:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def106]
libsolv-0.7.35/ext/solv_xfopen.c: scope_hint: In function ‘solv_xfopen_fd’
libsolv-0.7.35/ext/solv_xfopen.c:737:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def107]
libsolv-0.7.35/ext/solv_xfopen.c:737:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def108]
libsolv-0.7.35/ext/solv_xmlparser.c: scope_hint: In function ‘parse_block’
libsolv-0.7.35/ext/solv_xmlparser.c:282:25: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def109]
libsolv-0.7.35/ext/solv_xmlparser.c:282:25: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def110]
libsolv-0.7.35/ext/testcase.c:1060:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2149:1: enter_function: entry to ‘testcase_read’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2626:6: branch_true: following ‘true’ branch (when ‘prepared == 0’)...
libsolv-0.7.35/ext/testcase.c:2628:7: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2631:6: branch_true: following ‘true’ branch (when ‘solv’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2633:14: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2634:7: call_function: calling ‘testcase_resetsolverflags’ from ‘testcase_read’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
libsolv-0.7.35/ext/testcase.c:1060:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2149:1: enter_function: entry to ‘testcase_read’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2626:6: branch_true: following ‘true’ branch (when ‘prepared == 0’)...
libsolv-0.7.35/ext/testcase.c:2628:7: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2631:6: branch_true: following ‘true’ branch (when ‘solv’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2633:14: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2634:7: call_function: calling ‘testcase_resetsolverflags’ from ‘testcase_read’
Error: CPPCHECK_WARNING (CWE-758): [#def112]
libsolv-0.7.35/ext/testcase.c:1906: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-775): [#def113]
libsolv-0.7.35/ext/testcase.c:2176:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2176:17: throw: if ‘solv_strdup’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2176:17: 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): [#def114]
libsolv-0.7.35/ext/testcase.c:2176:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2176:17: throw: if ‘solv_strdup’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2176:17: 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): [#def115]
libsolv-0.7.35/ext/testcase.c:2188:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2188:9: throw: if ‘solv_malloc’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2188:9: 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): [#def116]
libsolv-0.7.35/ext/testcase.c:2188:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2188:9: throw: if ‘solv_malloc’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2188:9: 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): [#def117]
libsolv-0.7.35/ext/testcase.c:2191:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2191:3: throw: if ‘queue_init’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2191:3: 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): [#def118]
libsolv-0.7.35/ext/testcase.c:2191:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2191:3: throw: if ‘queue_init’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2191:3: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def119]
libsolv-0.7.35/ext/testcase.c:2197:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2194:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/testcase.c:2196:11: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2197:17: throw: if ‘solv_realloc’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2197:17: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
libsolv-0.7.35/ext/testcase.c:2197:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2194:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/testcase.c:2196:11: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2197:17: throw: if ‘solv_realloc’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2197:17: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-758): [#def121]
libsolv-0.7.35/ext/testcase.c:2504: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-775): [#def122]
libsolv-0.7.35/ext/testcase.c:2620:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2619:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/testcase.c:2620:5: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2620:5: throw: if ‘pool_add_userinstalled_jobs’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2620:5: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
libsolv-0.7.35/ext/testcase.c:2620:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2619:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/testcase.c:2620:5: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2620:5: throw: if ‘pool_add_userinstalled_jobs’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2620:5: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def124]
libsolv-0.7.35/ext/testcase.c:2621:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2621:3: throw: if ‘queue_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2621:3: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
libsolv-0.7.35/ext/testcase.c:2621:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2621:3: throw: if ‘queue_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2621:3: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def126]
libsolv-0.7.35/ext/testcase.c:2622:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2622:11: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2622:11: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
libsolv-0.7.35/ext/testcase.c:2622:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2622:11: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2622:11: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def128]
libsolv-0.7.35/ext/testcase.c:2623:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2623:9: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2623:9: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
libsolv-0.7.35/ext/testcase.c:2623:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2623:9: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2623:9: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def130]
libsolv-0.7.35/ext/testcase.c:2624:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2624:12: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2624:12: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
libsolv-0.7.35/ext/testcase.c:2624:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2624:12: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2624:12: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def132]
libsolv-0.7.35/ext/testcase.c:2625:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2625:3: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2625:3: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
libsolv-0.7.35/ext/testcase.c:2625:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2625:3: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2625:3: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def134]
libsolv-0.7.35/ext/testcase.c:2628:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2626:6: branch_true: following ‘true’ branch (when ‘prepared == 0’)...
libsolv-0.7.35/ext/testcase.c:2628:7: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2628:7: throw: if ‘pool_addfileprovides’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2628:7: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
libsolv-0.7.35/ext/testcase.c:2628:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2626:6: branch_true: following ‘true’ branch (when ‘prepared == 0’)...
libsolv-0.7.35/ext/testcase.c:2628:7: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2628:7: throw: if ‘pool_addfileprovides’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2628:7: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
libsolv-0.7.35/ext/testcase.c:2629:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2626:6: branch_true: following ‘true’ branch (when ‘prepared == 0’)...
libsolv-0.7.35/ext/testcase.c:2628:7: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2629:7: throw: if ‘pool_createwhatprovides’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2629:7: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
libsolv-0.7.35/ext/testcase.c:2629:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2626:6: branch_true: following ‘true’ branch (when ‘prepared == 0’)...
libsolv-0.7.35/ext/testcase.c:2628:7: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2629:7: throw: if ‘pool_createwhatprovides’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2629:7: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def138]
libsolv-0.7.35/ext/testcase.c:2633:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2626:6: branch_true: following ‘true’ branch (when ‘prepared == 0’)...
libsolv-0.7.35/ext/testcase.c:2628:7: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2631:6: branch_true: following ‘true’ branch (when ‘solv’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2633:14: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2633:14: throw: if ‘solver_create’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2633:14: danger: ‘fp’ leaks here; was opened at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
libsolv-0.7.35/ext/testcase.c:2633:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2617:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2619:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2626:6: branch_true: following ‘true’ branch (when ‘prepared == 0’)...
libsolv-0.7.35/ext/testcase.c:2628:7: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2631:6: branch_true: following ‘true’ branch (when ‘solv’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2633:14: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2633:14: throw: if ‘solver_create’ throws an exception...
libsolv-0.7.35/ext/testcase.c:2633:14: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
libsolv-0.7.35/ext/tools_util.h:64:7: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.35/ext/repo_products.c:383:1: enter_function: entry to ‘repo_add_products’
libsolv-0.7.35/ext/repo_products.c:388:6: branch_true: following ‘true’ branch (when ‘proddir’ is non-NULL)...
libsolv-0.7.35/ext/repo_products.c:390:21: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:391:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:394:11: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:395:18: call_function: calling ‘repo_add_code11_products’ from ‘repo_add_products’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
libsolv-0.7.35/ext/tools_util.h:66:7: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
libsolv-0.7.35/ext/repo_products.c:295:1: enter_function: entry to ‘repo_add_code11_products’
libsolv-0.7.35/ext/repo_products.c:312:9: acquire_memory: allocated here
libsolv-0.7.35/ext/repo_products.c:313:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_products.c:320:16: branch_true: ...to here
libsolv-0.7.35/ext/repo_products.c:320:16: call_function: calling ‘join2’ from ‘repo_add_code11_products’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def142]
libsolv-0.7.35/ext/tools_util.h:77:7: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
libsolv-0.7.35/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def143]
libsolv-0.7.35/ext/tools_util.h:82:7: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
libsolv-0.7.35/ext/repo_releasefile_products.c:121:1: enter_function: entry to ‘repo_add_releasefile_products’
libsolv-0.7.35/ext/repo_releasefile_products.c:134:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:141:3: branch_false: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:143:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/ext/repo_releasefile_products.c:145:24: branch_true: ...to here
libsolv-0.7.35/ext/repo_releasefile_products.c:151:22: call_function: calling ‘join2’ from ‘repo_add_releasefile_products’
Error: CPPCHECK_WARNING (CWE-476): [#def144]
libsolv-0.7.35/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): [#def145]
libsolv-0.7.35/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): [#def146]
libsolv-0.7.35/redhat-linux-build/bindings/python/solv_python.c:875: warning[uninitvar]: Uninitialized variable: buff
Error: CPPCHECK_WARNING (CWE-476): [#def147]
libsolv-0.7.35/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): [#def148]
libsolv-0.7.35/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): [#def149]
libsolv-0.7.35/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): [#def150]
libsolv-0.7.35/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): [#def151]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_NewPointerObj’
libsolv-0.7.35/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.35/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: COMPILER_WARNING (CWE-477): [#def152]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:1707:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: CPPCHECK_WARNING (CWE-476): [#def153]
libsolv-0.7.35/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): [#def154]
libsolv-0.7.35/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): [#def155]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:1722:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def156]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_NewClassInstance’
libsolv-0.7.35/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): [#def157]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:1735:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def158]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/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): [#def159]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:1783:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def160]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_GetModule’
libsolv-0.7.35/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): [#def161]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:1919:5: warning[-Wdeprecated-declarations]: ‘rb_data_object_get_warning’ is deprecated: by TypedData
Error: COMPILER_WARNING (CWE-477): [#def162]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c: scope_hint: In function ‘SWIG_Ruby_SetModule’
libsolv-0.7.35/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: COMPILER_WARNING (CWE-477): [#def163]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:1934:3: warning[-Wdeprecated-declarations]: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData
Error: CPPCHECK_WARNING (CWE-457): [#def164]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:2391: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def165]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:2746: error[uninitvar]: Uninitialized variable: v
Error: CPPCHECK_WARNING (CWE-457): [#def166]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:3107: error[uninitvar]: Uninitialized variable: v
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4468:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17849:1: enter_function: entry to ‘_wrap_SolvFp_fileno’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17851:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17856:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17859:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17859:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_SolvFp_fileno’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17859:10: return_function: returning to ‘_wrap_SolvFp_fileno’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17860:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17863:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17863:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17864:12: call_function: inlined call to ‘SolvFp_fileno’ from ‘_wrap_SolvFp_fileno’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4471:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17881:1: enter_function: entry to ‘_wrap_SolvFp_dup’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17883:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17888:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17891:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17891:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_SolvFp_dup’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17891:10: return_function: returning to ‘_wrap_SolvFp_dup’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17892:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17895:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17895:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17896:12: call_function: calling ‘SolvFp_dup’ from ‘_wrap_SolvFp_dup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4477:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17947:1: enter_function: entry to ‘_wrap_SolvFp_flush’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17949:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17954:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17957:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17957:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_SolvFp_flush’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17957:10: return_function: returning to ‘_wrap_SolvFp_flush’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17958:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17961:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17961:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17962:12: call_function: calling ‘SolvFp_flush’ from ‘_wrap_SolvFp_flush’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4483:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17971:1: enter_function: entry to ‘_wrap_SolvFp_close’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17973:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17978:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17981:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17981:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_SolvFp_close’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17981:10: return_function: returning to ‘_wrap_SolvFp_close’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17982:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17985:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17985:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17986:12: call_function: calling ‘SolvFp_close’ from ‘_wrap_SolvFp_close’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4490:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17995:1: enter_function: entry to ‘_wrap_SolvFp_cloexec’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:17998:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18003:6: branch_false: following ‘false’ branch (when ‘argc == 1’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18006:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18006:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_SolvFp_cloexec’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18006:10: return_function: returning to ‘_wrap_SolvFp_cloexec’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18007:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18010:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18010:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18011:12: call_function: calling ‘SWIG_AsVal_bool’ from ‘_wrap_SolvFp_cloexec’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18011:12: return_function: returning to ‘_wrap_SolvFp_cloexec’ from ‘SWIG_AsVal_bool’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18012:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18015:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18016:3: call_function: calling ‘SolvFp_cloexec’ from ‘_wrap_SolvFp_cloexec’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4532:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18208:1: enter_function: entry to ‘_wrap_Problem_findproblemrule’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18210:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18215:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18218:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18218:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_findproblemrule’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18218:10: return_function: returning to ‘_wrap_Problem_findproblemrule’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18219:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18222:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18222:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18223:12: call_function: calling ‘Problem_findproblemrule’ from ‘_wrap_Problem_findproblemrule’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4536:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18232:1: enter_function: entry to ‘_wrap_Problem_findallproblemrules’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18235:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18242:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18245:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18245:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_findallproblemrules’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18245:10: return_function: returning to ‘_wrap_Problem_findallproblemrules’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18246:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18249:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18249:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18257:12: call_function: calling ‘Problem_findallproblemrules’ from ‘_wrap_Problem_findallproblemrules’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4559:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18283:1: enter_function: entry to ‘_wrap_Problem_solution_count’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18285:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18290:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18293:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18293:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_solution_count’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18293:10: return_function: returning to ‘_wrap_Problem_solution_count’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18294:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18297:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18297:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18298:12: call_function: inlined call to ‘Problem_solution_count’ from ‘_wrap_Problem_solution_count’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def175]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4565:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18307:1: enter_function: entry to ‘_wrap_Problem_solutions’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18309:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18314:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18317:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18317:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_solutions’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18317:10: return_function: returning to ‘_wrap_Problem_solutions’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18318:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18321:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18321:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18322:12: call_function: calling ‘Problem_solutions’ from ‘_wrap_Problem_solutions’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def176]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4573:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18348:1: enter_function: entry to ‘_wrap_Problem_get_learnt’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18350:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18355:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18358:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18358:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_get_learnt’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18358:10: return_function: returning to ‘_wrap_Problem_get_learnt’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18359:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18362:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18362:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18363:12: call_function: calling ‘Problem_get_learnt’ from ‘_wrap_Problem_get_learnt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def177]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4579:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18389:1: enter_function: entry to ‘_wrap_Problem_get_decisionlist’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18391:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18396:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18399:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18399:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_get_decisionlist’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18399:10: return_function: returning to ‘_wrap_Problem_get_decisionlist’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18400:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18403:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18403:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18404:12: call_function: calling ‘Problem_get_decisionlist’ from ‘_wrap_Problem_get_decisionlist’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4585:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18430:1: enter_function: entry to ‘_wrap_Problem_get_decisionsetlist’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18432:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18437:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18440:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18440:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_get_decisionsetlist’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18440:10: return_function: returning to ‘_wrap_Problem_get_decisionsetlist’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18441:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18444:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18444:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18445:12: call_function: calling ‘Problem_get_decisionsetlist’ from ‘_wrap_Problem_get_decisionsetlist’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4590:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18471:1: enter_function: entry to ‘_wrap_Problem_to_s’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18473:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18478:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18481:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18481:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_to_s’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18481:10: return_function: returning to ‘_wrap_Problem_to_s’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18482:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18485:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18485:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18486:20: call_function: inlined call to ‘Problem___str__’ from ‘_wrap_Problem_to_s’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def180]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4601:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18621:1: enter_function: entry to ‘_wrap_Solution_element_count’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18623:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18628:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18631:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18631:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solution_element_count’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18631:10: return_function: returning to ‘_wrap_Solution_element_count’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18632:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18635:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18635:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18636:12: call_function: calling ‘Solution_element_count’ from ‘_wrap_Solution_element_count’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def181]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4606:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18645:1: enter_function: entry to ‘_wrap_Solution_elements’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18648:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18655:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18658:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18658:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solution_elements’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18658:10: return_function: returning to ‘_wrap_Solution_elements’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18659:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18662:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18662:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18670:12: call_function: calling ‘Solution_elements’ from ‘_wrap_Solution_elements’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4621:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18878:1: enter_function: entry to ‘_wrap_Solutionelement_str’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18880:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18885:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18888:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18888:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_str’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18888:10: return_function: returning to ‘_wrap_Solutionelement_str’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18889:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18892:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18892:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18893:20: call_function: calling ‘Solutionelement_str’ from ‘_wrap_Solutionelement_str’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def183]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4624:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18902:1: enter_function: entry to ‘_wrap_Solutionelement_to_s’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18904:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18909:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18912:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18912:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_to_s’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18912:10: return_function: returning to ‘_wrap_Solutionelement_to_s’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18913:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18916:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18916:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18917:20: call_function: calling ‘Solutionelement___str__’ from ‘_wrap_Solutionelement_to_s’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4631:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18926:1: enter_function: entry to ‘_wrap_Solutionelement_replaceelements’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18928:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18933:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18936:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18936:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_replaceelements’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18936:10: return_function: returning to ‘_wrap_Solutionelement_replaceelements’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18937:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18940:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18940:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18941:12: call_function: calling ‘Solutionelement_replaceelements’ from ‘_wrap_Solutionelement_replaceelements’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def185]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4648:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18967:1: enter_function: entry to ‘_wrap_Solutionelement_illegalreplace’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18969:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18974:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18977:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18977:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_illegalreplace’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18977:10: return_function: returning to ‘_wrap_Solutionelement_illegalreplace’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18978:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18981:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18981:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18982:12: call_function: calling ‘Solutionelement_illegalreplace’ from ‘_wrap_Solutionelement_illegalreplace’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4654:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18991:1: enter_function: entry to ‘_wrap_Solutionelement_solvable_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18993:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18998:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19001:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19001:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_solvable_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19001:10: return_function: returning to ‘_wrap_Solutionelement_solvable_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19002:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19005:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19005:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19006:12: call_function: inlined call to ‘Solutionelement_solvable_get’ from ‘_wrap_Solutionelement_solvable_get’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4657:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19015:1: enter_function: entry to ‘_wrap_Solutionelement_replacement_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19017:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19022:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19025:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19025:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_replacement_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19025:10: return_function: returning to ‘_wrap_Solutionelement_replacement_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19026:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19029:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19029:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19030:12: call_function: inlined call to ‘Solutionelement_replacement_get’ from ‘_wrap_Solutionelement_replacement_get’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4660:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19039:1: enter_function: entry to ‘_wrap_Solutionelement_jobidx_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19041:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19046:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19049:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19049:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_jobidx_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19049:10: return_function: returning to ‘_wrap_Solutionelement_jobidx_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19050:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19053:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19053:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19054:12: call_function: inlined call to ‘Solutionelement_jobidx_get’ from ‘_wrap_Solutionelement_jobidx_get’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4666:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19063:1: enter_function: entry to ‘_wrap_Solutionelement_Job’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19065:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19070:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19073:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19073:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_Job’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19073:10: return_function: returning to ‘_wrap_Solutionelement_Job’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19074:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19077:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19077:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19078:12: call_function: calling ‘Solutionelement_Job’ from ‘_wrap_Solutionelement_Job’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4679:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19225:1: enter_function: entry to ‘_wrap_Alternative_chosen_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19227:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19232:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19235:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19235:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_chosen_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19235:10: return_function: returning to ‘_wrap_Alternative_chosen_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19236:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19239:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19239:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19240:12: call_function: inlined call to ‘Alternative_chosen_get’ from ‘_wrap_Alternative_chosen_get’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4682:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19249:1: enter_function: entry to ‘_wrap_Alternative_rule_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19251:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19256:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19259:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19259:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_rule_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19259:10: return_function: returning to ‘_wrap_Alternative_rule_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19260:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19263:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19263:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19264:12: call_function: inlined call to ‘Alternative_rule_get’ from ‘_wrap_Alternative_rule_get’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4685:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19273:1: enter_function: entry to ‘_wrap_Alternative_depsolvable_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19275:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19280:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19283:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19283:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_depsolvable_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19283:10: return_function: returning to ‘_wrap_Alternative_depsolvable_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19284:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19287:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19287:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19288:12: call_function: inlined call to ‘Alternative_depsolvable_get’ from ‘_wrap_Alternative_depsolvable_get’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4688:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19297:1: enter_function: entry to ‘_wrap_Alternative_dep_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19299:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19304:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19307:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19307:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_dep_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19307:10: return_function: returning to ‘_wrap_Alternative_dep_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19308:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19311:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19311:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19312:12: call_function: inlined call to ‘Alternative_dep_get’ from ‘_wrap_Alternative_dep_get’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4706:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19393:1: enter_function: entry to ‘_wrap_Alternative_to_s’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19395:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19400:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19403:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19403:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_to_s’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19403:10: return_function: returning to ‘_wrap_Alternative_to_s’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19404:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19407:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19407:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19408:20: call_function: calling ‘Alternative___str__’ from ‘_wrap_Alternative_to_s’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def195]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4712:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19476:1: enter_function: entry to ‘_wrap_Transaction_othersolvable’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19479:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19481:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19486:6: branch_false: following ‘false’ branch (when ‘argc == 1’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19489:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19489:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_othersolvable’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19489:10: return_function: returning to ‘_wrap_Transaction_othersolvable’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19490:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19493:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19493:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19494:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_othersolvable’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19494:10: return_function: returning to ‘_wrap_Transaction_othersolvable’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19495:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19498:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19498:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19499:12: call_function: calling ‘Transaction_othersolvable’ from ‘_wrap_Transaction_othersolvable’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def196]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4718:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19508:1: enter_function: entry to ‘_wrap_Transaction_allothersolvables’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19511:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19513:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19518:6: branch_false: following ‘false’ branch (when ‘argc == 1’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19521:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19521:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_allothersolvables’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19521:10: return_function: returning to ‘_wrap_Transaction_allothersolvables’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19522:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19525:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19525:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19526:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_allothersolvables’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19526:10: return_function: returning to ‘_wrap_Transaction_allothersolvables’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19527:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19530:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19530:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19531:12: call_function: calling ‘Transaction_allothersolvables’ from ‘_wrap_Transaction_allothersolvables’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4797:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20108:1: enter_function: entry to ‘_wrap_TransactionClass_solvables’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20110:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20115:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20118:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20118:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_TransactionClass_solvables’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20118:10: return_function: returning to ‘_wrap_TransactionClass_solvables’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20119:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20122:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20122:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20123:12: call_function: calling ‘TransactionClass_solvables’ from ‘_wrap_TransactionClass_solvables’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4802:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20149:1: enter_function: entry to ‘_wrap_TransactionClass_fromstr_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20151:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20156:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20159:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20159:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_TransactionClass_fromstr_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20159:10: return_function: returning to ‘_wrap_TransactionClass_fromstr_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20160:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20163:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20163:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20164:20: call_function: inlined call to ‘TransactionClass_fromstr_get’ from ‘_wrap_TransactionClass_fromstr_get’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:4805:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20173:1: enter_function: entry to ‘_wrap_TransactionClass_tostr_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20175:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20180:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20183:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20183:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_TransactionClass_tostr_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20183:10: return_function: returning to ‘_wrap_TransactionClass_tostr_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20184:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20187:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20187:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20188:20: call_function: inlined call to ‘TransactionClass_tostr_get’ from ‘_wrap_TransactionClass_tostr_get’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def200]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18129:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18114:1: enter_function: entry to ‘_wrap_Problem_solv_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18116:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18121:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18124:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18124:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_solv_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18124:10: return_function: returning to ‘_wrap_Problem_solv_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18125:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18128:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18128:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18129:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def201]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18153:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18138:1: enter_function: entry to ‘_wrap_Problem_id_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18140:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18145:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18148:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18148:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Problem_id_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18148:10: return_function: returning to ‘_wrap_Problem_id_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18149:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18152:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18152:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18153:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def202]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18518:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18503:1: enter_function: entry to ‘_wrap_Solution_solv_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18505:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18510:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18513:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18513:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solution_solv_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18513:10: return_function: returning to ‘_wrap_Solution_solv_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18514:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18517:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18517:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18518:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def203]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18542:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18527:1: enter_function: entry to ‘_wrap_Solution_problemid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18529:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18534:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18537:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18537:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solution_problemid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18537:10: return_function: returning to ‘_wrap_Solution_problemid_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18538:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18541:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18541:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18542:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def204]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18566:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18551:1: enter_function: entry to ‘_wrap_Solution_id_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18553:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18558:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18561:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18561:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solution_id_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18561:10: return_function: returning to ‘_wrap_Solution_id_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18562:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18565:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18565:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18566:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def205]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18719:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18704:1: enter_function: entry to ‘_wrap_Solutionelement_solv_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18706:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18711:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18714:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18714:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_solv_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18714:10: return_function: returning to ‘_wrap_Solutionelement_solv_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18715:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18718:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18718:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18719:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def206]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18743:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18728:1: enter_function: entry to ‘_wrap_Solutionelement_problemid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18730:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18735:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18738:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18738:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_problemid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18738:10: return_function: returning to ‘_wrap_Solutionelement_problemid_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18739:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18742:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18742:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18743:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18767:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18752:1: enter_function: entry to ‘_wrap_Solutionelement_solutionid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18754:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18759:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18762:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18762:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_solutionid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18762:10: return_function: returning to ‘_wrap_Solutionelement_solutionid_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18763:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18766:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18766:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18767:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18791:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18776:1: enter_function: entry to ‘_wrap_Solutionelement_type_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18778:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18783:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18786:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18786:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Solutionelement_type_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18786:10: return_function: returning to ‘_wrap_Solutionelement_type_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18787:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18790:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18790:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:18791:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19110:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19095:1: enter_function: entry to ‘_wrap_Alternative_solv_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19097:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19102:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19105:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19105:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_solv_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19105:10: return_function: returning to ‘_wrap_Alternative_solv_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19106:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19109:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19109:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19110:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def210]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19134:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19119:1: enter_function: entry to ‘_wrap_Alternative_type_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19121:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19126:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19129:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19129:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_type_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19129:10: return_function: returning to ‘_wrap_Alternative_type_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19130:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19133:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19133:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19134:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def211]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19158:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19143:1: enter_function: entry to ‘_wrap_Alternative_dep_id_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19145:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19150:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19153:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19153:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_dep_id_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19153:10: return_function: returning to ‘_wrap_Alternative_dep_id_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19154:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19157:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19157:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19158:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def212]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19182:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19167:1: enter_function: entry to ‘_wrap_Alternative_chosen_id_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19169:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19174:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19177:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19177:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_chosen_id_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19177:10: return_function: returning to ‘_wrap_Alternative_chosen_id_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19178:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19181:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19181:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19182:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def213]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19206:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19191:1: enter_function: entry to ‘_wrap_Alternative_level_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19193:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19198:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19201:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19201:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_level_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19201:10: return_function: returning to ‘_wrap_Alternative_level_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19202:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19205:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19205:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19206:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def214]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19377:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19352:1: enter_function: entry to ‘_wrap_Alternative_choices’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19354:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19359:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19362:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19362:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Alternative_choices’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19362:10: return_function: returning to ‘_wrap_Alternative_choices’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19363:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19366:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19366:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19373:17: branch_true: following ‘true’ branch (when ‘i < cnt’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19375:10: branch_true: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19377:42: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19434:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19419:1: enter_function: entry to ‘_wrap_Transaction_pool_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19421:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19426:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19429:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19429:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_pool_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19429:10: return_function: returning to ‘_wrap_Transaction_pool_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19430:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19433:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19433:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19434:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19633:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19608:1: enter_function: entry to ‘_wrap_Transaction_newpackages’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19610:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19615:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19618:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19618:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_newpackages’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19618:10: return_function: returning to ‘_wrap_Transaction_newpackages’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19619:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19622:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19622:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19629:17: branch_true: following ‘true’ branch (when ‘i < cnt’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19631:10: branch_true: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19633:28: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19674:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19649:1: enter_function: entry to ‘_wrap_Transaction_keptpackages’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19651:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19656:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19659:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19659:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_keptpackages’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19659:10: return_function: returning to ‘_wrap_Transaction_keptpackages’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19660:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19663:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19663:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19670:17: branch_true: following ‘true’ branch (when ‘i < cnt’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19672:10: branch_true: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19674:28: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19715:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19690:1: enter_function: entry to ‘_wrap_Transaction_newsolvables’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19692:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19697:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19700:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19700:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_newsolvables’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19700:10: return_function: returning to ‘_wrap_Transaction_newsolvables’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19701:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19704:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19704:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19711:17: branch_true: following ‘true’ branch (when ‘i < cnt’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19713:10: branch_true: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19715:28: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19756:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19731:1: enter_function: entry to ‘_wrap_Transaction_keptsolvables’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19733:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19738:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19741:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19741:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_keptsolvables’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19741:10: return_function: returning to ‘_wrap_Transaction_keptsolvables’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19742:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19745:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19745:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19752:17: branch_true: following ‘true’ branch (when ‘i < cnt’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19754:10: branch_true: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19756:28: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19797:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19772:1: enter_function: entry to ‘_wrap_Transaction_steps’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19774:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19779:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19782:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19782:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_Transaction_steps’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19782:10: return_function: returning to ‘_wrap_Transaction_steps’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19783:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19786:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19786:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19793:17: branch_true: following ‘true’ branch (when ‘i < <unknown>’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19795:10: branch_true: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19797:28: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19925:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19910:1: enter_function: entry to ‘_wrap_TransactionClass_transaction_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19912:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19917:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19920:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19920:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_TransactionClass_transaction_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19920:10: return_function: returning to ‘_wrap_TransactionClass_transaction_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19921:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19924:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19924:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19925:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def222]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19949:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19934:1: enter_function: entry to ‘_wrap_TransactionClass_type_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19936:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19941:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19944:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19944:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_TransactionClass_type_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19944:10: return_function: returning to ‘_wrap_TransactionClass_type_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19945:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19948:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19948:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19949:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19973:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19958:1: enter_function: entry to ‘_wrap_TransactionClass_fromid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19960:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19965:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19968:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19968:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_TransactionClass_fromid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19968:10: return_function: returning to ‘_wrap_TransactionClass_fromid_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19969:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19972:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19972:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19973:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def224]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19997:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19982:1: enter_function: entry to ‘_wrap_TransactionClass_toid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19984:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19989:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19992:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19992:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_TransactionClass_toid_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19992:10: return_function: returning to ‘_wrap_TransactionClass_toid_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19993:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19996:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19996:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:19997:3: danger: dereference of NULL ‘arg1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def225]
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20021:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg1’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20006:1: enter_function: entry to ‘_wrap_TransactionClass_count_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20008:9: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20013:6: branch_false: following ‘false’ branch (when ‘argc == 0’)...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20016:10: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20016:10: call_function: calling ‘SWIG_Ruby_ConvertPtrAndOwn’ from ‘_wrap_TransactionClass_count_get’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20016:10: return_function: returning to ‘_wrap_TransactionClass_count_get’ from ‘SWIG_Ruby_ConvertPtrAndOwn’
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20017:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20020:3: branch_false: ...to here
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20020:3: release_memory: ‘argp1’ is NULL
libsolv-0.7.35/redhat-linux-build/bindings/ruby/solv_ruby.c:20021:3: danger: dereference of NULL ‘arg1’
Error: CPPCHECK_WARNING (CWE-758): [#def226]
libsolv-0.7.35/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): [#def227]
libsolv-0.7.35/src/dirpool.c:93:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libsolv-0.7.35/src/dirpool.c:100:1: enter_function: entry to ‘dirpool_add_dir’
libsolv-0.7.35/src/dirpool.c:113:6: branch_false: following ‘false’ branch (when ‘comp > 0’)...
libsolv-0.7.35/src/dirpool.c:115:7: branch_false: ...to here
libsolv-0.7.35/src/dirpool.c:115:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/src/dirpool.c:117:8: branch_false: ...to here
libsolv-0.7.35/src/dirpool.c:117:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/src/dirpool.c:118:5: branch_true: ...to here
libsolv-0.7.35/src/dirpool.c:118:5: call_function: calling ‘dirpool_make_dirtraverse’ from ‘dirpool_add_dir’
Error: CPPCHECK_WARNING (CWE-562): [#def228]
libsolv-0.7.35/src/fileprovides.c:462: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def229]
libsolv-0.7.35/src/fileprovides.c:477: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-404): [#def230]
libsolv-0.7.35/src/pool.c:337:22: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
libsolv-0.7.35/src/pool.c:331:6: branch_false: following ‘false’ branch (when ‘pool’ is non-NULL)...
libsolv-0.7.35/src/pool.c:333:3: branch_false: ...to here
libsolv-0.7.35/src/pool.c:333:3: acquire_resource: ‘va_start’ called here
libsolv-0.7.35/src/pool.c:334:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/src/pool.c:336:7: branch_true: ...to here
libsolv-0.7.35/src/pool.c:337:22: throw: if ‘solv_malloc’ throws an exception...
libsolv-0.7.35/src/pool.c:337:22: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def231]
libsolv-0.7.35/src/pool.c:531:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libsolv-0.7.35/src/pool.c:521:1: enter_function: entry to ‘pool_tmpjoin’
libsolv-0.7.35/src/pool.c:525:3: branch_true: following ‘true’ branch (when ‘str1’ is non-NULL)...
libsolv-0.7.35/src/pool.c:525:15: branch_true: ...to here
libsolv-0.7.35/src/pool.c:526:3: branch_false: following ‘false’ branch (when ‘str2’ is NULL)...
libsolv-0.7.35/src/pool.c:527:3: branch_false: ...to here
libsolv-0.7.35/src/pool.c:527:3: branch_false: following ‘false’ branch (when ‘str3’ is NULL)...
libsolv-0.7.35/src/pool.c:528:38: branch_false: ...to here
libsolv-0.7.35/src/pool.c:528:13: call_function: calling ‘pool_alloctmpspace’ from ‘pool_tmpjoin’
libsolv-0.7.35/src/pool.c:528:13: return_function: returning to ‘pool_tmpjoin’ from ‘pool_alloctmpspace’
libsolv-0.7.35/src/pool.c:529:6: branch_true: following ‘true’ branch (when ‘l1 != 0’)...
libsolv-0.7.35/src/pool.c:531:7: branch_true: ...to here
libsolv-0.7.35/src/pool.c:531:7: danger: argument 1 (‘pool_alloctmpspace(pool, l1 + l2 + l3 + 1)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def232]
libsolv-0.7.35/src/pool.c:536:7: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
libsolv-0.7.35/src/pool.c:521:1: enter_function: entry to ‘pool_tmpjoin’
libsolv-0.7.35/src/pool.c:525:3: branch_false: following ‘false’ branch (when ‘str1’ is NULL)...
libsolv-0.7.35/src/pool.c:526:3: branch_false: ...to here
libsolv-0.7.35/src/pool.c:526:3: branch_true: following ‘true’ branch (when ‘str2’ is non-NULL)...
libsolv-0.7.35/src/pool.c:526:15: branch_true: ...to here
libsolv-0.7.35/src/pool.c:527:3: branch_false: following ‘false’ branch (when ‘str3’ is NULL)...
libsolv-0.7.35/src/pool.c:528:38: branch_false: ...to here
libsolv-0.7.35/src/pool.c:528:13: call_function: calling ‘pool_alloctmpspace’ from ‘pool_tmpjoin’
libsolv-0.7.35/src/pool.c:528:13: return_function: returning to ‘pool_tmpjoin’ from ‘pool_alloctmpspace’
libsolv-0.7.35/src/pool.c:529:6: branch_false: following ‘false’ branch (when ‘l1 == 0’)...
libsolv-0.7.35/src/pool.c:534:6: branch_false: ...to here
libsolv-0.7.35/src/pool.c:534:6: branch_true: following ‘true’ branch (when ‘l2 != 0’)...
libsolv-0.7.35/src/pool.c:536:7: branch_true: ...to here
libsolv-0.7.35/src/pool.c:536:7: danger: argument 1 (‘s’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def233]
libsolv-0.7.35/src/pool.c:566:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
libsolv-0.7.35/src/pool.c:549:1: enter_function: entry to ‘pool_tmpappend’
libsolv-0.7.35/src/pool.c:554:3: branch_true: following ‘true’ branch (when ‘str1’ is non-NULL)...
libsolv-0.7.35/src/pool.c:554:15: branch_true: ...to here
libsolv-0.7.35/src/pool.c:555:3: branch_false: following ‘false’ branch (when ‘str2’ is NULL)...
libsolv-0.7.35/src/pool.c:556:3: branch_false: ...to here
libsolv-0.7.35/src/pool.c:556:3: branch_false: following ‘false’ branch (when ‘str3’ is NULL)...
libsolv-0.7.35/src/pool.c:557:45: branch_false: ...to here
libsolv-0.7.35/src/pool.c:557:9: call_function: calling ‘pool_alloctmpspace_free’ from ‘pool_tmpappend’
libsolv-0.7.35/src/pool.c:557:9: return_function: returning to ‘pool_tmpappend’ from ‘pool_alloctmpspace_free’
libsolv-0.7.35/src/pool.c:558:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/src/pool.c:561:11: branch_false: ...to here
libsolv-0.7.35/src/pool.c:561:11: call_function: calling ‘pool_alloctmpspace’ from ‘pool_tmpappend’
libsolv-0.7.35/src/pool.c:561:11: return_function: returning to ‘pool_tmpappend’ from ‘pool_alloctmpspace’
libsolv-0.7.35/src/pool.c:563:6: branch_true: following ‘true’ branch (when ‘l1 != 0’)...
libsolv-0.7.35/src/pool.c:565:10: branch_true: ...to here
libsolv-0.7.35/src/pool.c:565:10: branch_true: following ‘true’ branch (when ‘str1 != str’)...
libsolv-0.7.35/src/pool.c:566:9: branch_true: ...to here
libsolv-0.7.35/src/pool.c:566:9: danger: argument 1 (‘str’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def234]
libsolv-0.7.35/src/pool.c:571:7: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
libsolv-0.7.35/src/pool.c:549:1: enter_function: entry to ‘pool_tmpappend’
libsolv-0.7.35/src/pool.c:554:3: branch_false: following ‘false’ branch (when ‘str1’ is NULL)...
libsolv-0.7.35/src/pool.c:555:3: branch_false: ...to here
libsolv-0.7.35/src/pool.c:555:3: branch_true: following ‘true’ branch (when ‘str2’ is non-NULL)...
libsolv-0.7.35/src/pool.c:555:15: branch_true: ...to here
libsolv-0.7.35/src/pool.c:556:3: branch_false: following ‘false’ branch (when ‘str3’ is NULL)...
libsolv-0.7.35/src/pool.c:557:45: branch_false: ...to here
libsolv-0.7.35/src/pool.c:557:9: call_function: calling ‘pool_alloctmpspace_free’ from ‘pool_tmpappend’
libsolv-0.7.35/src/pool.c:557:9: return_function: returning to ‘pool_tmpappend’ from ‘pool_alloctmpspace_free’
libsolv-0.7.35/src/pool.c:558:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/src/pool.c:561:11: branch_false: ...to here
libsolv-0.7.35/src/pool.c:561:11: call_function: calling ‘pool_alloctmpspace’ from ‘pool_tmpappend’
libsolv-0.7.35/src/pool.c:561:11: return_function: returning to ‘pool_tmpappend’ from ‘pool_alloctmpspace’
libsolv-0.7.35/src/pool.c:563:6: branch_false: following ‘false’ branch (when ‘l1 == 0’)...
libsolv-0.7.35/src/pool.c:569:6: branch_false: ...to here
libsolv-0.7.35/src/pool.c:569:6: branch_true: following ‘true’ branch (when ‘l2 != 0’)...
libsolv-0.7.35/src/pool.c:571:7: branch_true: ...to here
libsolv-0.7.35/src/pool.c:571:7: danger: argument 1 (‘s’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
libsolv-0.7.35/src/pool.h:349:10: warning[-Wanalyzer-malloc-leak]: leak of ‘matchname’
libsolv-0.7.35/examples/solv/deltarpm.c:31:1: enter_function: entry to ‘trydeltadownload’
libsolv-0.7.35/examples/solv/deltarpm.c:41:21: acquire_memory: allocated here
libsolv-0.7.35/examples/solv/deltarpm.c:45:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/examples/solv/deltarpm.c:49:7: branch_true: ...to here
libsolv-0.7.35/examples/solv/deltarpm.c:54:7: call_function: calling ‘pool_whatprovides’ from ‘trydeltadownload’
Error: CPPCHECK_WARNING (CWE-758): [#def236]
libsolv-0.7.35/src/poolvendor.c:64: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-476): [#def237]
libsolv-0.7.35/src/repo.c:1181:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libsolv-0.7.35/src/repo.c:1507:1: enter_function: entry to ‘repo_set_deparray’
libsolv-0.7.35/src/repo.c:1512:6: branch_true: following ‘true’ branch (when ‘marker != 0’)...
libsolv-0.7.35/src/repo.c:1517:7: branch_true: ...to here
libsolv-0.7.35/src/repo.c:1518:7: call_function: calling ‘repo_lookup_deparray’ from ‘repo_set_deparray’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def238]
libsolv-0.7.35/src/repo.c:1492:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libsolv-0.7.35/src/repo.c:1473:1: enter_function: entry to ‘repo_add_deparray’
libsolv-0.7.35/src/repo.c:1478:6: branch_true: following ‘true’ branch (when ‘p >= 0’)...
libsolv-0.7.35/src/repo.c:1478:6: branch_true: ...to here
libsolv-0.7.35/src/repo.c:1481:7: branch_true: following ‘true’ branch...
libsolv-0.7.35/src/repo.c:1483:9: branch_true: ...to here
libsolv-0.7.35/src/repo.c:1491:18: call_function: calling ‘solvable_offsetptr’ from ‘repo_add_deparray’
libsolv-0.7.35/src/repo.c:1491:18: return_function: returning to ‘repo_add_deparray’ from ‘solvable_offsetptr’
libsolv-0.7.35/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): [#def239]
libsolv-0.7.35/src/repo.c:1556:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libsolv-0.7.35/src/repo.c:1507:1: enter_function: entry to ‘repo_set_deparray’
libsolv-0.7.35/src/repo.c:1512:6: branch_false: following ‘false’ branch (when ‘marker == 0’)...
libsolv-0.7.35/src/repo.c:1538:6: branch_false: ...to here
libsolv-0.7.35/src/repo.c:1538:6: branch_true: following ‘true’ branch (when ‘p >= 0’)...
libsolv-0.7.35/src/repo.c:1538:6: branch_true: ...to here
libsolv-0.7.35/src/repo.c:1542:7: branch_true: following ‘true’ branch...
libsolv-0.7.35/src/repo.c:1542:7: branch_true: ...to here
libsolv-0.7.35/src/repo.c:1553:23: branch_false: following ‘false’ branch...
libsolv-0.7.35/src/repo.c:1555:37: branch_false: ...to here
libsolv-0.7.35/src/repo.c:1555:18: call_function: calling ‘solvable_offsetptr’ from ‘repo_set_deparray’
libsolv-0.7.35/src/repo.c:1555:18: return_function: returning to ‘repo_set_deparray’ from ‘solvable_offsetptr’
libsolv-0.7.35/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): [#def240]
libsolv-0.7.35/src/repo_write.c:1549:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘spool’
libsolv-0.7.35/src/repo_write.c:2241:1: enter_function: entry to ‘repo_write’
libsolv-0.7.35/src/repo_write.c:2245:9: call_function: calling ‘repowriter_write’ from ‘repo_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
libsolv-0.7.35/src/repo_write.c:1630:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sp’
libsolv-0.7.35/src/repo_write.c:2264:1: enter_function: entry to ‘repo_write_filtered’
libsolv-0.7.35/src/repo_write.c:2271:9: call_function: calling ‘repowriter_write’ from ‘repo_write_filtered’
Error: CPPCHECK_WARNING (CWE-758): [#def242]
libsolv-0.7.35/src/repodata.c:1544: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def243]
libsolv-0.7.35/src/repodata.c:1599: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def244]
libsolv-0.7.35/src/repodata.c:1619: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def245]
libsolv-0.7.35/src/repodata.c:1719: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def246]
libsolv-0.7.35/src/repodata.c:1835: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def247]
libsolv-0.7.35/src/repodata.c:2039: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def248]
libsolv-0.7.35/src/repodata.c:2040: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def249]
libsolv-0.7.35/src/repodata.c:2149: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def250]
libsolv-0.7.35/src/repodata.c:2201: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def251]
libsolv-0.7.35/src/repodata.c:2215: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-704): [#def252]
libsolv-0.7.35/src/selection.c: scope_hint: In function ‘selection_name_arch_rel’
libsolv-0.7.35/src/selection.c:907:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def253]
libsolv-0.7.35/src/selection.c:907:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def254]
libsolv-0.7.35/src/selection.c: scope_hint: In function ‘selection_canon’
libsolv-0.7.35/src/selection.c:1175:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def255]
libsolv-0.7.35/src/selection.c:1175:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def256]
libsolv-0.7.35/src/selection.c:1198:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def257]
libsolv-0.7.35/src/selection.c:1198:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def258]
libsolv-0.7.35/src/selection.c:1219:10: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def259]
libsolv-0.7.35/src/selection.c:1219:10: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-758): [#def260]
libsolv-0.7.35/src/selection.c:1335: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-688): [#def261]
libsolv-0.7.35/src/solvable.c:367:57: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libsolv-0.7.35/src/solvable.c:340:1: enter_function: entry to ‘solvable_lookup_location’
libsolv-0.7.35/src/solvable.c:349:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/src/solvable.c:351:3: branch_false: ...to here
libsolv-0.7.35/src/solvable.c:360:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/src/solvable.c:363:14: branch_true: ...to here
libsolv-0.7.35/src/solvable.c:364:13: call_function: calling ‘evrid2vrstr’ from ‘solvable_lookup_location’
libsolv-0.7.35/src/solvable.c:364:13: return_function: returning to ‘solvable_lookup_location’ from ‘evrid2vrstr’
libsolv-0.7.35/src/solvable.c:367:57: danger: argument 1 (‘evrid2vrstr(pool, *s.evr)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def262]
libsolv-0.7.35/src/util.h:53:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/ext/testcase.c:2149:1: enter_function: entry to ‘testcase_read’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_resource: opened here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2201:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2203:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2222:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2224:20: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2224:20: call_function: inlined call to ‘solv_extend’ from ‘testcase_read’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
libsolv-0.7.35/src/util.h:53:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/ext/testcase.c:2149:1: enter_function: entry to ‘testcase_read’
libsolv-0.7.35/ext/testcase.c:2171:6: branch_true: following ‘true’ branch (when ‘fp’ is NULL)...
libsolv-0.7.35/ext/testcase.c:2171:21: branch_true: ...to here
libsolv-0.7.35/ext/testcase.c:2171:21: acquire_memory: allocated here
libsolv-0.7.35/ext/testcase.c:2171:7: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2176:17: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2201:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2203:7: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2222:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/ext/testcase.c:2224:20: branch_false: ...to here
libsolv-0.7.35/ext/testcase.c:2224:20: call_function: inlined call to ‘solv_extend’ from ‘testcase_read’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def264]
libsolv-0.7.35/tools/apk2solv.c:124:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:123:14: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:123:14: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:124:23: throw: if ‘solv_strdup’ throws an exception...
libsolv-0.7.35/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): [#def265]
libsolv-0.7.35/tools/apk2solv.c:124:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:123:14: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:123:14: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:124:23: throw: if ‘solv_strdup’ throws an exception...
libsolv-0.7.35/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): [#def266]
libsolv-0.7.35/tools/apk2solv.c:126:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:126:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/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): [#def267]
libsolv-0.7.35/tools/apk2solv.c:126:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:126:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/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): [#def268]
libsolv-0.7.35/tools/apk2solv.c:127:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:127:3: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/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): [#def269]
libsolv-0.7.35/tools/apk2solv.c:127:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:127:3: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/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): [#def270]
libsolv-0.7.35/tools/apk2solv.c:135:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_true: following ‘true’ branch (when ‘npkgs == 0’)...
libsolv-0.7.35/tools/apk2solv.c:135:15: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:135:15: throw: if ‘repo_add_apk_repo’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:135:15: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
libsolv-0.7.35/tools/apk2solv.c:135:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_true: following ‘true’ branch (when ‘npkgs == 0’)...
libsolv-0.7.35/tools/apk2solv.c:135:15: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:135:15: throw: if ‘repo_add_apk_repo’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:135:15: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def272]
libsolv-0.7.35/tools/apk2solv.c:137:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_true: following ‘true’ branch (when ‘npkgs == 0’)...
libsolv-0.7.35/tools/apk2solv.c:135:15: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:135:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:137:15: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:137:15: throw: if ‘pool_errstr’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:137:15: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
libsolv-0.7.35/tools/apk2solv.c:137:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:110:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:11: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_true: following ‘true’ branch (when ‘npkgs == 0’)...
libsolv-0.7.35/tools/apk2solv.c:135:15: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:135:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:137:15: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:137:15: throw: if ‘pool_errstr’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:137:15: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def274]
libsolv-0.7.35/tools/apk2solv.c:148:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:112:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:115:18: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:115:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:103:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/apk2solv.c:110:20: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: following ‘false’ branch (when ‘npkgs != 0’)...
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:143:23: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:146:36: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:146:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:148:19: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:148:19: throw: if ‘perror’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:148:19: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
libsolv-0.7.35/tools/apk2solv.c:148:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:112:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:115:18: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:115:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:103:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/apk2solv.c:110:20: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: following ‘false’ branch (when ‘npkgs != 0’)...
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:143:23: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:146:36: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:146:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:148:19: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:148:19: throw: if ‘perror’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:148:19: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def276]
libsolv-0.7.35/tools/apk2solv.c:153:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "r")’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_false: following ‘false’ branch (when ‘manifest’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:123:14: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:123:14: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: following ‘false’ branch (when ‘npkgs != 0’)...
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:143:23: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:146:36: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:146:26: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:146:18: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:153:23: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:153:23: throw: if ‘repo_add_apk_repo’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:153:23: danger: ‘fopen(*<unknown>, "r")’ leaks here; was opened at [(17)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def277]
libsolv-0.7.35/tools/apk2solv.c:153:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:112:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:115:18: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:115:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:103:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/apk2solv.c:110:20: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: following ‘false’ branch (when ‘npkgs != 0’)...
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:143:23: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:146:36: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:146:18: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:153:23: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:153:23: throw: if ‘repo_add_apk_repo’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:153:23: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
libsolv-0.7.35/tools/apk2solv.c:153:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "r")’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_false: following ‘false’ branch (when ‘manifest’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:123:14: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:123:14: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:121:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:126:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: following ‘false’ branch (when ‘npkgs != 0’)...
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:143:23: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:146:36: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:146:26: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:146:18: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:153:23: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:153:23: throw: if ‘repo_add_apk_repo’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:153:23: danger: ‘fopen(*<unknown>, "r")’ leaks here; was allocated at [(17)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
libsolv-0.7.35/tools/apk2solv.c:153:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:112:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:115:18: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:115:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:103:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/apk2solv.c:110:20: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_true: following ‘true’ branch (when ‘isrepo != 0’)...
libsolv-0.7.35/tools/apk2solv.c:131:10: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: following ‘false’ branch (when ‘npkgs != 0’)...
libsolv-0.7.35/tools/apk2solv.c:133:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:143:23: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:146:36: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:146:18: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:153:23: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:153:23: throw: if ‘repo_add_apk_repo’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:153:23: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def280]
libsolv-0.7.35/tools/apk2solv.c:166:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:112:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:115:18: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:115:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:103:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/apk2solv.c:110:20: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_false: following ‘false’ branch (when ‘isrepo == 0’)...
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:165:19: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:166:13: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:166:13: throw: if ‘repo_add_apk_pkg’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:166:13: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
libsolv-0.7.35/tools/apk2solv.c:166:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:112:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:115:18: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:115:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:103:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/apk2solv.c:110:20: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_false: following ‘false’ branch (when ‘isrepo == 0’)...
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:165:19: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:166:13: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:166:13: throw: if ‘repo_add_apk_pkg’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:166:13: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def282]
libsolv-0.7.35/tools/apk2solv.c:168:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_resource: opened here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:112:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:115:18: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:115:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:103:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/apk2solv.c:110:20: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_false: following ‘false’ branch (when ‘isrepo == 0’)...
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:165:19: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:166:13: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:166:12: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:168:13: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:168:13: throw: if ‘pool_errstr’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:168:13: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
libsolv-0.7.35/tools/apk2solv.c:168:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/apk2solv.c:51:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/apk2solv.c:65:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/apk2solv.c:67:7: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:92:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/apk2solv.c:94:12: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:94:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/apk2solv.c:96:22: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:96:22: acquire_memory: allocated here
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:96:15: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:112:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/apk2solv.c:115:18: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:115:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/apk2solv.c:103:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/apk2solv.c:110:20: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/apk2solv.c:118:10: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_false: following ‘false’ branch (when ‘isrepo == 0’)...
libsolv-0.7.35/tools/apk2solv.c:129:6: branch_false: ...to here
libsolv-0.7.35/tools/apk2solv.c:165:19: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/apk2solv.c:166:13: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:166:12: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/apk2solv.c:168:13: branch_true: ...to here
libsolv-0.7.35/tools/apk2solv.c:168:13: throw: if ‘pool_errstr’ throws an exception...
libsolv-0.7.35/tools/apk2solv.c:168:13: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
libsolv-0.7.35/tools/archpkgs2solv.c:111:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:50:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:110:14: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:110:14: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:111:23: throw: if ‘solv_strdup’ throws an exception...
libsolv-0.7.35/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): [#def285]
libsolv-0.7.35/tools/archpkgs2solv.c:111:23: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:50:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:110:14: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:110:14: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:111:23: throw: if ‘solv_strdup’ throws an exception...
libsolv-0.7.35/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): [#def286]
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:113: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): [#def287]
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:113: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): [#def288]
libsolv-0.7.35/tools/archpkgs2solv.c:114:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:114:3: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:114: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): [#def289]
libsolv-0.7.35/tools/archpkgs2solv.c:114:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:114:3: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:114: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): [#def290]
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:50:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:99:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:102:18: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:102:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:90:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:97:20: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: throw: if ‘repo_add_arch_pkg’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:50:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:99:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:102:18: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:102:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:90:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:97:20: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: throw: if ‘repo_add_arch_pkg’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def292]
libsolv-0.7.35/tools/archpkgs2solv.c:119:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:50:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:99:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:102:18: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:102:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:90:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:97:20: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:117:8: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:119:9: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:119:9: throw: if ‘pool_errstr’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:119:9: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
libsolv-0.7.35/tools/archpkgs2solv.c:119:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:50:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:99:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:102:18: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:102:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/archpkgs2solv.c:90:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:97:20: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_true: following ‘true’ branch (when ‘i < npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:117:9: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:117:8: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:119:9: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:119:9: throw: if ‘pool_errstr’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:119:9: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def294]
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_false: following ‘false’ branch (when ‘i >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: throw: if ‘repo_internalize’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_false: following ‘false’ branch (when ‘i >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: throw: if ‘repo_internalize’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def296]
libsolv-0.7.35/tools/archpkgs2solv.c:123:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_false: following ‘false’ branch (when ‘i >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:123:3: throw: if ‘tool_write’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:123:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
libsolv-0.7.35/tools/archpkgs2solv.c:123:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_false: following ‘false’ branch (when ‘i >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:123:3: throw: if ‘tool_write’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:123:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def298]
libsolv-0.7.35/tools/archpkgs2solv.c:124:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_false: following ‘false’ branch (when ‘i >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:124:3: throw: if ‘pool_free’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:124:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
libsolv-0.7.35/tools/archpkgs2solv.c:124:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_false: following ‘false’ branch (when ‘i >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:124:3: throw: if ‘pool_free’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:124:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
libsolv-0.7.35/tools/archpkgs2solv.c:127:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_resource: opened here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_false: following ‘false’ branch (when ‘i >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:125:15: branch_false: following ‘false’ branch (when ‘c >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:127:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:127:3: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:127:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
libsolv-0.7.35/tools/archpkgs2solv.c:127:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/archpkgs2solv.c:62:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/archpkgs2solv.c:64:7: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:79:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/archpkgs2solv.c:81:12: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:81:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:83:22: acquire_memory: allocated here
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:83:15: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:97:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:11: branch_true: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:105:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:108:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/archpkgs2solv.c:113:10: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:116:15: branch_false: following ‘false’ branch (when ‘i >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:122:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:125:15: branch_false: following ‘false’ branch (when ‘c >= npkgs’)...
libsolv-0.7.35/tools/archpkgs2solv.c:127:3: branch_false: ...to here
libsolv-0.7.35/tools/archpkgs2solv.c:127:3: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/tools/archpkgs2solv.c:127:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
libsolv-0.7.35/tools/deb2solv.c:114:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/deb2solv.c:63:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/deb2solv.c:65:7: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:80:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/deb2solv.c:82:12: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:82:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/deb2solv.c:84:22: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:84:22: acquire_resource: opened here
libsolv-0.7.35/tools/deb2solv.c:84:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:84:15: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:98:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/deb2solv.c:106:11: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:106:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:106:10: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:109:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:114:10: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:114:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/tools/deb2solv.c:114: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): [#def303]
libsolv-0.7.35/tools/deb2solv.c:114:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/deb2solv.c:63:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/deb2solv.c:65:7: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:80:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/deb2solv.c:82:12: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:82:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/deb2solv.c:84:22: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:84:22: acquire_memory: allocated here
libsolv-0.7.35/tools/deb2solv.c:84:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:84:15: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:98:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/deb2solv.c:106:11: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:106:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:106:10: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:109:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:114:10: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:114:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/tools/deb2solv.c:114: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): [#def304]
libsolv-0.7.35/tools/deb2solv.c:115:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/deb2solv.c:63:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/deb2solv.c:65:7: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:80:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/deb2solv.c:82:12: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:82:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/deb2solv.c:84:22: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:84:22: acquire_resource: opened here
libsolv-0.7.35/tools/deb2solv.c:84:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:84:15: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:98:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/deb2solv.c:106:11: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:106:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:106:10: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:109:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:114:10: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:115:3: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/tools/deb2solv.c:115: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): [#def305]
libsolv-0.7.35/tools/deb2solv.c:115:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/deb2solv.c:63:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/deb2solv.c:65:7: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:80:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/deb2solv.c:82:12: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:82:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/deb2solv.c:84:22: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:84:22: acquire_memory: allocated here
libsolv-0.7.35/tools/deb2solv.c:84:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:84:15: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:98:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/deb2solv.c:106:11: branch_true: ...to here
libsolv-0.7.35/tools/deb2solv.c:106:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:106:10: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:109:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/deb2solv.c:114:10: branch_false: ...to here
libsolv-0.7.35/tools/deb2solv.c:115:3: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/tools/deb2solv.c:115: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): [#def306]
libsolv-0.7.35/tools/mergesolv.c:54:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(repodata_lookup_str(data, -1, 33), "r")’
libsolv-0.7.35/tools/mergesolv.c:45:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/mergesolv.c:47:3: branch_false: ...to here
libsolv-0.7.35/tools/mergesolv.c:48:8: acquire_resource: opened here
libsolv-0.7.35/tools/mergesolv.c:49:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/mergesolv.c:54:7: branch_false: ...to here
libsolv-0.7.35/tools/mergesolv.c:54:7: throw: if ‘repo_add_solv’ throws an exception...
libsolv-0.7.35/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): [#def307]
libsolv-0.7.35/tools/mergesolv.c:54:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(repodata_lookup_str(data, -1, 33), "r")’
libsolv-0.7.35/tools/mergesolv.c:45:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/mergesolv.c:47:3: branch_false: ...to here
libsolv-0.7.35/tools/mergesolv.c:48:8: acquire_memory: allocated here
libsolv-0.7.35/tools/mergesolv.c:49:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/mergesolv.c:54:7: branch_false: ...to here
libsolv-0.7.35/tools/mergesolv.c:54:7: throw: if ‘repo_add_solv’ throws an exception...
libsolv-0.7.35/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): [#def308]
libsolv-0.7.35/tools/mergesolv.c:104:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "r")’
libsolv-0.7.35/tools/mergesolv.c:96:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/mergesolv.c:99:27: branch_true: ...to here
libsolv-0.7.35/tools/mergesolv.c:99:17: acquire_resource: opened here
libsolv-0.7.35/tools/mergesolv.c:99:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/mergesolv.c:104:11: branch_false: ...to here
libsolv-0.7.35/tools/mergesolv.c:104:11: throw: if ‘repo_add_solv’ throws an exception...
libsolv-0.7.35/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): [#def309]
libsolv-0.7.35/tools/mergesolv.c:104:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "r")’
libsolv-0.7.35/tools/mergesolv.c:96:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/mergesolv.c:99:27: branch_true: ...to here
libsolv-0.7.35/tools/mergesolv.c:99:17: acquire_memory: allocated here
libsolv-0.7.35/tools/mergesolv.c:99:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/mergesolv.c:104:11: branch_false: ...to here
libsolv-0.7.35/tools/mergesolv.c:104:11: throw: if ‘repo_add_solv’ throws an exception...
libsolv-0.7.35/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): [#def310]
libsolv-0.7.35/tools/repo2solv.c:356:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(solv_dupjoin(dir, "/content", 0), "r")’
libsolv-0.7.35/tools/repo2solv.c:354:13: acquire_resource: opened here
libsolv-0.7.35/tools/repo2solv.c:354:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/repo2solv.c:356:11: branch_true: ...to here
libsolv-0.7.35/tools/repo2solv.c:356:11: throw: if ‘repo_add_content’ throws an exception...
libsolv-0.7.35/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): [#def311]
libsolv-0.7.35/tools/repo2solv.c:356:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(dir, "/content", 0), "r")’
libsolv-0.7.35/tools/repo2solv.c:354:13: acquire_memory: allocated here
libsolv-0.7.35/tools/repo2solv.c:354:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/repo2solv.c:356:11: branch_true: ...to here
libsolv-0.7.35/tools/repo2solv.c:356:11: throw: if ‘repo_add_content’ throws an exception...
libsolv-0.7.35/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): [#def312]
libsolv-0.7.35/tools/repo2solv.c:376:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(solv_dupjoin(dir, "/", descrdir))’
libsolv-0.7.35/tools/repo2solv.c:371:13: acquire_memory: allocated here
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:376:16: throw: if ‘readdir’ throws an exception...
libsolv-0.7.35/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): [#def313]
libsolv-0.7.35/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.35/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.35/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.35/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.35/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:422:13: acquire_resource: opened here
libsolv-0.7.35/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.35/tools/repo2solv.c:426:7: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/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): [#def314]
libsolv-0.7.35/tools/repo2solv.c:426:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.35/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.35/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.35/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.35/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:422:13: acquire_memory: allocated here
libsolv-0.7.35/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.35/tools/repo2solv.c:426:7: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/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): [#def315]
libsolv-0.7.35/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.35/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.35/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.35/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.35/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:422:13: acquire_resource: opened here
libsolv-0.7.35/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.35/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.35/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:435:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:437:11: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:437:11: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/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): [#def316]
libsolv-0.7.35/tools/repo2solv.c:435:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(solv_dupjoin(solv_dupjoin(dir, "/", descrdir), "/patterns", 0), "r")’
libsolv-0.7.35/tools/repo2solv.c:337:1: enter_function: entry to ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:371:6: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:384:6: branch_false: following ‘false’ branch (when ‘nfiles <= 1’)...
libsolv-0.7.35/tools/repo2solv.c:388:14: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:388:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:388:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.35/tools/repo2solv.c:389:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:408:14: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:408:14: call_function: calling ‘susetags_find’ from ‘read_susetags_repo’
libsolv-0.7.35/tools/repo2solv.c:408:14: return_function: returning to ‘read_susetags_repo’ from ‘susetags_find’
libsolv-0.7.35/tools/repo2solv.c:409:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:421:9: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:422:13: acquire_memory: allocated here
libsolv-0.7.35/tools/repo2solv.c:422:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/repo2solv.c:426:7: branch_true: ...to here
libsolv-0.7.35/tools/repo2solv.c:427:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/repo2solv.c:431:15: branch_true: ...to here
libsolv-0.7.35/tools/repo2solv.c:431:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:433:20: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:433:14: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/repo2solv.c:435:15: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:435:14: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/repo2solv.c:437:11: branch_false: ...to here
libsolv-0.7.35/tools/repo2solv.c:437:11: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/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): [#def317]
libsolv-0.7.35/tools/rpmdb2solv.c:171:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:171:5: throw: if ‘pool_set_rootdir’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:171:5: danger: ‘reffp’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
libsolv-0.7.35/tools/rpmdb2solv.c:171:5: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:171:5: throw: if ‘pool_set_rootdir’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:171:5: danger: ‘reffp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def319]
libsolv-0.7.35/tools/rpmdb2solv.c:179:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:179:21: throw: if ‘solv_dupjoin’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:179:21: danger: ‘reffp’ leaks here; was opened at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
libsolv-0.7.35/tools/rpmdb2solv.c:179:21: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:179:21: throw: if ‘solv_dupjoin’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:179:21: danger: ‘reffp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def321]
libsolv-0.7.35/tools/rpmdb2solv.c:180:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:180:7: throw: if ‘rpmDefineMacro’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:180:7: danger: ‘reffp’ leaks here; was opened at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
libsolv-0.7.35/tools/rpmdb2solv.c:180:7: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:180:7: throw: if ‘rpmDefineMacro’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:180:7: danger: ‘reffp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def323]
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: danger: ‘reffp’ leaks here; was opened at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: danger: ‘reffp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def325]
libsolv-0.7.35/tools/rpmdb2solv.c:189:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:189:10: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:189:10: danger: ‘reffp’ leaks here; was opened at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
libsolv-0.7.35/tools/rpmdb2solv.c:189:10: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:189:10: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:189:10: danger: ‘reffp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def327]
libsolv-0.7.35/tools/rpmdb2solv.c:198:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_resource: opened here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:191:6: branch_true: following ‘true’ branch (when ‘nopacks == 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:194:10: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:198:11: throw: if ‘repo_add_rpmdb_reffp’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:198:11: danger: ‘reffp’ leaks here; was opened at [(9)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
libsolv-0.7.35/tools/rpmdb2solv.c:198:11: warning[-Wanalyzer-malloc-leak]: leak of ‘reffp’
libsolv-0.7.35/tools/rpmdb2solv.c:92:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:93:5: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:143:6: branch_false: following ‘false’ branch (when ‘outfile’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:154:7: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:154:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:155:19: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:157:6: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:159:20: acquire_memory: allocated here
libsolv-0.7.35/tools/rpmdb2solv.c:159:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:170:6: branch_false: following ‘false’ branch (when ‘root’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:175:6: branch_false: following ‘false’ branch (when ‘dbpath’ is NULL)...
libsolv-0.7.35/tools/rpmdb2solv.c:188:10: branch_false: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:191:6: branch_true: following ‘true’ branch (when ‘nopacks == 0’)...
libsolv-0.7.35/tools/rpmdb2solv.c:194:10: branch_true: ...to here
libsolv-0.7.35/tools/rpmdb2solv.c:198:11: throw: if ‘repo_add_rpmdb_reffp’ throws an exception...
libsolv-0.7.35/tools/rpmdb2solv.c:198:11: danger: ‘reffp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def329]
libsolv-0.7.35/tools/rpms2solv.c:142:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:142:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/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): [#def330]
libsolv-0.7.35/tools/rpms2solv.c:142:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:142:10: throw: if ‘repo_create’ throws an exception...
libsolv-0.7.35/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): [#def331]
libsolv-0.7.35/tools/rpms2solv.c:143:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:143:3: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/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): [#def332]
libsolv-0.7.35/tools/rpms2solv.c:143:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:143:3: throw: if ‘repo_add_repodata’ throws an exception...
libsolv-0.7.35/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): [#def333]
libsolv-0.7.35/tools/rpms2solv.c:175:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:57:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:128:24: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:128:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/rpms2solv.c:131:18: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:131:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/rpms2solv.c:119:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/rpms2solv.c:126:20: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_true: following ‘true’ branch (when ‘i < nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:175:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:175:11: throw: if ‘repo_add_rpm’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:175:11: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
libsolv-0.7.35/tools/rpms2solv.c:175:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:57:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:128:24: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:128:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/rpms2solv.c:131:18: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:131:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/rpms2solv.c:119:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/rpms2solv.c:126:20: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_true: following ‘true’ branch (when ‘i < nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:175:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:175:11: throw: if ‘repo_add_rpm’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:175:11: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def335]
libsolv-0.7.35/tools/rpms2solv.c:177:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:57:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:128:24: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:128:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/rpms2solv.c:131:18: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:131:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/rpms2solv.c:119:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/rpms2solv.c:126:20: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_true: following ‘true’ branch (when ‘i < nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:175:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:175:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:177:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:177:11: throw: if ‘pool_errstr’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:177:11: danger: ‘fp’ leaks here; was opened at [(8)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
libsolv-0.7.35/tools/rpms2solv.c:177:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:57:1: enter_function: entry to ‘main’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:128:24: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:128:18: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
libsolv-0.7.35/tools/rpms2solv.c:131:18: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:131:18: call_function: inlined call to ‘solv_extend’ from ‘main’
libsolv-0.7.35/tools/rpms2solv.c:119:14: branch_false: following ‘false’ branch (when ‘manifest0 == 0’)...
libsolv-0.7.35/tools/rpms2solv.c:126:20: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_true: following ‘true’ branch (when ‘i < nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:175:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:175:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:177:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:177:11: throw: if ‘pool_errstr’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:177:11: danger: ‘fp’ leaks here; was allocated at [(8)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def337]
libsolv-0.7.35/tools/rpms2solv.c:181:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_false: following ‘false’ branch (when ‘i >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:181:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:181:3: throw: if ‘repo_internalize’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:181:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
libsolv-0.7.35/tools/rpms2solv.c:181:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_false: following ‘false’ branch (when ‘i >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:181:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:181:3: throw: if ‘repo_internalize’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:181:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def339]
libsolv-0.7.35/tools/rpms2solv.c:186:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_false: following ‘false’ branch (when ‘i >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:181:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:186:3: throw: if ‘tool_write’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:186:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
libsolv-0.7.35/tools/rpms2solv.c:186:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_false: following ‘false’ branch (when ‘i >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:181:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:186:3: throw: if ‘tool_write’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:186:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def341]
libsolv-0.7.35/tools/rpms2solv.c:187:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_false: following ‘false’ branch (when ‘i >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:181:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:187:3: throw: if ‘pool_free’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:187:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
libsolv-0.7.35/tools/rpms2solv.c:187:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_false: following ‘false’ branch (when ‘i >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:181:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:187:3: throw: if ‘pool_free’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:187:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def343]
libsolv-0.7.35/tools/rpms2solv.c:190:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_resource: opened here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_false: following ‘false’ branch (when ‘i >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:181:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:188:15: branch_false: following ‘false’ branch (when ‘c >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:190:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:190:3: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:190:3: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def344]
libsolv-0.7.35/tools/rpms2solv.c:190:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
libsolv-0.7.35/tools/rpms2solv.c:75:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/rpms2solv.c:77:7: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:108:6: branch_true: following ‘true’ branch (when ‘manifest’ is non-NULL)...
libsolv-0.7.35/tools/rpms2solv.c:110:12: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:110:10: branch_false: following ‘false’ branch (when the strings are non-equal)...
libsolv-0.7.35/tools/rpms2solv.c:112:22: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:112:22: acquire_memory: allocated here
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:112:15: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:126:18: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:11: branch_true: ...to here
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:134:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:137:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/rpms2solv.c:142:10: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:145:15: branch_false: following ‘false’ branch (when ‘i >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:181:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:188:15: branch_false: following ‘false’ branch (when ‘c >= nrpms’)...
libsolv-0.7.35/tools/rpms2solv.c:190:3: branch_false: ...to here
libsolv-0.7.35/tools/rpms2solv.c:190:3: throw: if ‘solv_free’ throws an exception...
libsolv-0.7.35/tools/rpms2solv.c:190:3: danger: ‘fp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def345]
libsolv-0.7.35/tools/susetags2solv.c:116:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(contentfile, "r")’
libsolv-0.7.35/tools/susetags2solv.c:74:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/susetags2solv.c:76:7: branch_true: ...to here
libsolv-0.7.35/tools/susetags2solv.c:74:10: branch_false: following ‘false’ branch (when ‘c < 0’)...
libsolv-0.7.35/tools/susetags2solv.c:103:10: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:108:6: branch_true: following ‘true’ branch (when ‘contentfile’ is non-NULL)...
libsolv-0.7.35/tools/susetags2solv.c:110:18: branch_true: ...to here
libsolv-0.7.35/tools/susetags2solv.c:110:18: acquire_resource: opened here
libsolv-0.7.35/tools/susetags2solv.c:111:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/susetags2solv.c:116:11: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:116:11: throw: if ‘repo_add_content’ throws an exception...
libsolv-0.7.35/tools/susetags2solv.c:116:11: danger: ‘fopen(contentfile, "r")’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
libsolv-0.7.35/tools/susetags2solv.c:116:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(contentfile, "r")’
libsolv-0.7.35/tools/susetags2solv.c:74:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/susetags2solv.c:76:7: branch_true: ...to here
libsolv-0.7.35/tools/susetags2solv.c:74:10: branch_false: following ‘false’ branch (when ‘c < 0’)...
libsolv-0.7.35/tools/susetags2solv.c:103:10: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:108:6: branch_true: following ‘true’ branch (when ‘contentfile’ is non-NULL)...
libsolv-0.7.35/tools/susetags2solv.c:110:18: branch_true: ...to here
libsolv-0.7.35/tools/susetags2solv.c:110:18: acquire_memory: allocated here
libsolv-0.7.35/tools/susetags2solv.c:111:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/susetags2solv.c:116:11: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:116:11: throw: if ‘repo_add_content’ throws an exception...
libsolv-0.7.35/tools/susetags2solv.c:116:11: danger: ‘fopen(contentfile, "r")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def347]
libsolv-0.7.35/tools/susetags2solv.c:275:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(mergefile, "r")’
libsolv-0.7.35/tools/susetags2solv.c:74:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/susetags2solv.c:76:7: branch_true: ...to here
libsolv-0.7.35/tools/susetags2solv.c:108:6: branch_false: following ‘false’ branch (when ‘contentfile’ is NULL)...
libsolv-0.7.35/tools/susetags2solv.c:129:6: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:129:6: branch_false: following ‘false’ branch (when ‘descrdir’ is NULL)...
libsolv-0.7.35/tools/susetags2solv.c:260:11: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:260:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/susetags2solv.c:266:3: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:267:6: branch_true: following ‘true’ branch (when ‘mergefile’ is non-NULL)...
libsolv-0.7.35/tools/susetags2solv.c:269:18: branch_true: ...to here
libsolv-0.7.35/tools/susetags2solv.c:269:18: acquire_resource: opened here
libsolv-0.7.35/tools/susetags2solv.c:270:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/susetags2solv.c:275:11: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:275:11: throw: if ‘repo_add_solv’ throws an exception...
libsolv-0.7.35/tools/susetags2solv.c:275:11: danger: ‘fopen(mergefile, "r")’ leaks here; was opened at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
libsolv-0.7.35/tools/susetags2solv.c:275:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(mergefile, "r")’
libsolv-0.7.35/tools/susetags2solv.c:74:10: branch_true: following ‘true’ branch (when ‘c >= 0’)...
libsolv-0.7.35/tools/susetags2solv.c:76:7: branch_true: ...to here
libsolv-0.7.35/tools/susetags2solv.c:108:6: branch_false: following ‘false’ branch (when ‘contentfile’ is NULL)...
libsolv-0.7.35/tools/susetags2solv.c:129:6: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:129:6: branch_false: following ‘false’ branch (when ‘descrdir’ is NULL)...
libsolv-0.7.35/tools/susetags2solv.c:260:11: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:260:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/susetags2solv.c:266:3: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:267:6: branch_true: following ‘true’ branch (when ‘mergefile’ is non-NULL)...
libsolv-0.7.35/tools/susetags2solv.c:269:18: branch_true: ...to here
libsolv-0.7.35/tools/susetags2solv.c:269:18: acquire_memory: allocated here
libsolv-0.7.35/tools/susetags2solv.c:270:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/susetags2solv.c:275:11: branch_false: ...to here
libsolv-0.7.35/tools/susetags2solv.c:275:11: throw: if ‘repo_add_solv’ throws an exception...
libsolv-0.7.35/tools/susetags2solv.c:275:11: danger: ‘fopen(mergefile, "r")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def349]
libsolv-0.7.35/tools/testsolv.c:284:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "r")’
libsolv-0.7.35/tools/testsolv.c:267:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/testsolv.c:267:6: branch_false: ...to here
libsolv-0.7.35/tools/testsolv.c:269:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/testsolv.c:271:14: branch_true: ...to here
libsolv-0.7.35/tools/testsolv.c:276:12: acquire_resource: opened here
libsolv-0.7.35/tools/testsolv.c:277:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/testsolv.c:277:10: branch_false: ...to here
libsolv-0.7.35/tools/testsolv.c:282:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/testsolv.c:284:11: branch_true: ...to here
libsolv-0.7.35/tools/testsolv.c:284:11: throw: if ‘queue_init’ throws an exception...
libsolv-0.7.35/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): [#def350]
libsolv-0.7.35/tools/testsolv.c:284:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "r")’
libsolv-0.7.35/tools/testsolv.c:267:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/testsolv.c:267:6: branch_false: ...to here
libsolv-0.7.35/tools/testsolv.c:269:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/testsolv.c:271:14: branch_true: ...to here
libsolv-0.7.35/tools/testsolv.c:276:12: acquire_memory: allocated here
libsolv-0.7.35/tools/testsolv.c:277:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/testsolv.c:277:10: branch_false: ...to here
libsolv-0.7.35/tools/testsolv.c:282:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/testsolv.c:284:11: branch_true: ...to here
libsolv-0.7.35/tools/testsolv.c:284:11: throw: if ‘queue_init’ throws an exception...
libsolv-0.7.35/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): [#def351]
libsolv-0.7.35/tools/testsolv.c:287:46: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "r")’
libsolv-0.7.35/tools/testsolv.c:267:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/testsolv.c:267:6: branch_false: ...to here
libsolv-0.7.35/tools/testsolv.c:269:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/testsolv.c:271:14: branch_true: ...to here
libsolv-0.7.35/tools/testsolv.c:276:12: acquire_resource: opened here
libsolv-0.7.35/tools/testsolv.c:277:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/testsolv.c:277:10: branch_false: ...to here
libsolv-0.7.35/tools/testsolv.c:282:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/testsolv.c:284:11: branch_true: ...to here
libsolv-0.7.35/tools/testsolv.c:287:18: throw: if ‘testcase_read’ throws an exception...
libsolv-0.7.35/tools/testsolv.c:287:46: 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): [#def352]
libsolv-0.7.35/tools/testsolv.c:287:46: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "r")’
libsolv-0.7.35/tools/testsolv.c:267:6: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/testsolv.c:267:6: branch_false: ...to here
libsolv-0.7.35/tools/testsolv.c:269:10: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/testsolv.c:271:14: branch_true: ...to here
libsolv-0.7.35/tools/testsolv.c:276:12: acquire_memory: allocated here
libsolv-0.7.35/tools/testsolv.c:277:10: branch_false: following ‘false’ branch...
libsolv-0.7.35/tools/testsolv.c:277:10: branch_false: ...to here
libsolv-0.7.35/tools/testsolv.c:282:14: branch_true: following ‘true’ branch...
libsolv-0.7.35/tools/testsolv.c:284:11: branch_true: ...to here
libsolv-0.7.35/tools/testsolv.c:287:18: throw: if ‘testcase_read’ throws an exception...
libsolv-0.7.35/tools/testsolv.c:287:46: 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): [#def353]
libsolv-0.7.35/tools/testsolv.c:402: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def354]
libsolv-0.7.35/tools/testsolv.c:521: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-38.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | libsolv-0.7.35-3.fc44 |
| store-results-to | /tmp/tmptbwn0dht/libsolv-0.7.35-3.fc44.tar.xz |
| time-created | 2026-01-08 19:11:58 |
| time-finished | 2026-01-08 19:14:32 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmptbwn0dht/libsolv-0.7.35-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmptbwn0dht/libsolv-0.7.35-3.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |