librepo-1.20.0-4.fc44
List of Findings
Error: COMPILER_WARNING (CWE-252): [#def1]
librepo-1.20.0/examples/c/download_repos_parallel.c: scope_hint: In function ‘main’
librepo-1.20.0/examples/c/download_repos_parallel.c:74:5: warning[-Wunused-result]: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def2]
librepo-1.20.0/librepo/cleanup.h:39:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(baseurl, "repodata/repomd.xml", 0), 0)’
librepo-1.20.0/librepo/yum.c:1207:1: enter_function: entry to ‘lr_yum_use_local_load_base’
librepo-1.20.0/librepo/yum.c:1246:10: acquire_resource: opened here
librepo-1.20.0/librepo/yum.c:1247:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/yum.c:1255:5: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1218:28: call_function: inlined call to ‘lr_local_fd_close’ from ‘lr_yum_use_local_load_base’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def3]
librepo-1.20.0/librepo/cleanup.h:65:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp_err’
librepo-1.20.0/tests/test_repoconf.c:184:34: call_function: inlined call to ‘lr_local_free_error’ from ‘repoconf_assert_set_boolean’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def4]
librepo-1.20.0/librepo/cleanup.h:65:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/tests/test_repoconf.c:209:1: enter_function: entry to ‘repoconf_assert_set_strv’
librepo-1.20.0/tests/test_repoconf.c:219:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/tests/test_repoconf.c:220:41: branch_true: following ‘true’ branch (when ‘s’ is non-NULL)...
librepo-1.20.0/tests/test_repoconf.c:221:9: branch_true: ...to here
librepo-1.20.0/tests/test_repoconf.c:215:34: call_function: inlined call to ‘lr_local_free_error’ from ‘repoconf_assert_set_strv’
branch_false: ...to here
librepo-1.20.0/tests/test_repoconf.c:215:34: call_function: inlined call to ‘lr_local_free_error’ from ‘repoconf_assert_set_strv’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def5]
librepo-1.20.0/librepo/cleanup.h:77:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘strv’
librepo-1.20.0/tests/test_repoconf.c:153:32: call_function: inlined call to ‘lr_local_strfreev’ from ‘repoconf_assert_strv_eq’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def6]
librepo-1.20.0/librepo/cleanup.h:89:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(localpath, "metalink.xml", 0), 0)’
librepo-1.20.0/librepo/handle.c:1126:1: enter_function: entry to ‘lr_handle_prepare_metalink’
librepo-1.20.0/librepo/handle.c:1128:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1129:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1129:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1135:8: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1138:15: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1141:15: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1141:15: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1145:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1146:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:1147:18: acquire_resource: opened here
librepo-1.20.0/librepo/handle.c:1148:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1143:31: call_function: inlined call to ‘lr_local_free’ from ‘lr_handle_prepare_metalink’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def7]
librepo-1.20.0/librepo/cleanup.h:89:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(localpath, "mirrorlist", 0), 0)’
librepo-1.20.0/librepo/handle.c:1010:1: enter_function: entry to ‘lr_handle_prepare_mirrorlist’
librepo-1.20.0/librepo/handle.c:1012:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1018:8: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1021:15: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1024:15: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1024:15: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1028:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1029:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:1030:18: acquire_resource: opened here
librepo-1.20.0/librepo/handle.c:1031:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1026:31: call_function: inlined call to ‘lr_local_free’ from ‘lr_handle_prepare_mirrorlist’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def8]
librepo-1.20.0/librepo/cleanup.h:89:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:716:17: call_function: calling ‘lr_key_file_get_string_list’ from ‘lr_yum_repoconf_getinfo’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
librepo-1.20.0/librepo/downloader.c:1086:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(cf, 0)’
librepo-1.20.0/librepo/downloader.c:1058:7: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/downloader.c:1059:9: branch_true: ...to here
librepo-1.20.0/librepo/downloader.c:1074:38: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
librepo-1.20.0/librepo/downloader.c:1075:19: branch_true: ...to here
librepo-1.20.0/librepo/downloader.c:1078:16: branch_false: following ‘false’ branch (when the strings are non-equal)...
librepo-1.20.0/librepo/downloader.c:1081:26: branch_false: ...to here
librepo-1.20.0/librepo/downloader.c:1081:26: acquire_resource: opened here
librepo-1.20.0/librepo/downloader.c:1082:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/downloader.c:1086:60: branch_false: ...to here
librepo-1.20.0/librepo/downloader.c:1086:16: danger: ‘open(cf, 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def10]
librepo-1.20.0/librepo/downloader.c:1231:31: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(cf, 0)’
librepo-1.20.0/librepo/downloader.c:1191:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/downloader.c:1202:7: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/downloader.c:1203:9: branch_true: ...to here
librepo-1.20.0/librepo/downloader.c:1218:38: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
librepo-1.20.0/librepo/downloader.c:1219:19: branch_true: ...to here
librepo-1.20.0/librepo/downloader.c:1222:16: branch_false: following ‘false’ branch (when the strings are non-equal)...
librepo-1.20.0/librepo/downloader.c:1225:26: branch_false: ...to here
librepo-1.20.0/librepo/downloader.c:1225:26: acquire_resource: opened here
librepo-1.20.0/librepo/downloader.c:1226:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/downloader.c:1231:31: branch_false: ...to here
librepo-1.20.0/librepo/downloader.c:1231:31: danger: ‘open(cf, 0)’ leaks here; was opened at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def11]
librepo-1.20.0/librepo/downloader.c:1232:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(cf, 0)’
librepo-1.20.0/librepo/downloader.c:1191:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/downloader.c:1202:7: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/downloader.c:1203:9: branch_true: ...to here
librepo-1.20.0/librepo/downloader.c:1218:38: branch_true: following ‘true’ branch (when ‘file’ is non-NULL)...
librepo-1.20.0/librepo/downloader.c:1219:19: branch_true: ...to here
librepo-1.20.0/librepo/downloader.c:1222:16: branch_false: following ‘false’ branch (when the strings are non-equal)...
librepo-1.20.0/librepo/downloader.c:1225:26: branch_false: ...to here
librepo-1.20.0/librepo/downloader.c:1225:26: acquire_resource: opened here
librepo-1.20.0/librepo/downloader.c:1226:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/downloader.c:1231:31: branch_false: ...to here
librepo-1.20.0/librepo/downloader.c:1232:17: danger: ‘open(cf, 0)’ leaks here; was opened at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING (CWE-477): [#def12]
librepo-1.20.0/librepo/downloader.c: scope_hint: In function ‘prepare_next_transfer’
librepo-1.20.0/librepo/downloader.c:1634:9: warning[-Wdeprecated-declarations]: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION
librepo-1.20.0/librepo/downloader.c:37: included_from: Included from here.
/usr/include/curl/curl.h:1333:3: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def13]
librepo-1.20.0/librepo/downloader.c:1634:9: warning[-Wdeprecated-declarations]: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION
Error: COMPILER_WARNING (CWE-9001): [#def14]
librepo-1.20.0/librepo/downloader.c: scope_hint: In function ‘prepare_next_transfer’
librepo-1.20.0/librepo/downloader.c:1635:16: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: GCC_ANALYZER_WARNING (CWE-404): [#def15]
librepo-1.20.0/librepo/downloadtarget.c:178:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/downloadtarget.c:169:5: branch_false: following ‘false’ branch (when ‘target’ is non-NULL)...
librepo-1.20.0/librepo/downloadtarget.c:170:5: branch_false: ...to here
librepo-1.20.0/librepo/downloadtarget.c:170:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/downloadtarget.c:172:8: branch_false: ...to here
librepo-1.20.0/librepo/downloadtarget.c:172:8: branch_true: following ‘true’ branch (when ‘format’ is non-NULL)...
librepo-1.20.0/librepo/downloadtarget.c:175:16: branch_true: ...to here
librepo-1.20.0/librepo/downloadtarget.c:177:9: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/downloadtarget.c:178:15: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: COMPILER_WARNING (CWE-9001): [#def16]
librepo-1.20.0/librepo/fastestmirror.c:360:20: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def17]
librepo-1.20.0/librepo/fastestmirror.c:360:20: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: GCC_ANALYZER_WARNING (CWE-775): [#def18]
librepo-1.20.0/librepo/gpg_rpm.c:130:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘creat(path, 420)’
librepo-1.20.0/librepo/gpg_rpm.c:146:1: enter_function: entry to ‘write_memory_to_file’
librepo-1.20.0/librepo/gpg_rpm.c:147:20: acquire_resource: opened here
librepo-1.20.0/librepo/gpg_rpm.c:148:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/gpg_rpm.c:154:25: branch_false: ...to here
librepo-1.20.0/librepo/gpg_rpm.c:154:25: call_function: calling ‘write_memory_to_file_fd’ from ‘write_memory_to_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
librepo-1.20.0/librepo/gpg_rpm.c:133:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘creat(path, 420)’
librepo-1.20.0/librepo/gpg_rpm.c:146:1: enter_function: entry to ‘write_memory_to_file’
librepo-1.20.0/librepo/gpg_rpm.c:147:20: acquire_resource: opened here
librepo-1.20.0/librepo/gpg_rpm.c:148:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/gpg_rpm.c:154:25: branch_false: ...to here
librepo-1.20.0/librepo/gpg_rpm.c:154:25: call_function: calling ‘write_memory_to_file_fd’ from ‘write_memory_to_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def20]
librepo-1.20.0/librepo/gpg_rpm.c:138:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘creat(path, 420)’
librepo-1.20.0/librepo/gpg_rpm.c:146:1: enter_function: entry to ‘write_memory_to_file’
librepo-1.20.0/librepo/gpg_rpm.c:147:20: acquire_resource: opened here
librepo-1.20.0/librepo/gpg_rpm.c:148:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/gpg_rpm.c:154:25: branch_false: ...to here
librepo-1.20.0/librepo/gpg_rpm.c:154:25: call_function: calling ‘write_memory_to_file_fd’ from ‘write_memory_to_file’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def21]
librepo-1.20.0/librepo/gpg_rpm.c:139:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘creat(path, 420)’
librepo-1.20.0/librepo/gpg_rpm.c:146:1: enter_function: entry to ‘write_memory_to_file’
librepo-1.20.0/librepo/gpg_rpm.c:147:20: acquire_resource: opened here
librepo-1.20.0/librepo/gpg_rpm.c:148:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/gpg_rpm.c:154:25: branch_false: ...to here
librepo-1.20.0/librepo/gpg_rpm.c:154:25: call_function: calling ‘write_memory_to_file_fd’ from ‘write_memory_to_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
librepo-1.20.0/librepo/gpg_rpm.c:169:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pkts’
librepo-1.20.0/librepo/gpg_rpm.c:522:1: enter_function: entry to ‘check_signature’
librepo-1.20.0/librepo/gpg_rpm.c:526:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/gpg_rpm.c:553:9: branch_false: ...to here
librepo-1.20.0/librepo/gpg_rpm.c:554:16: acquire_memory: allocated here
librepo-1.20.0/librepo/gpg_rpm.c:559:9: call_function: calling ‘lr_pgpPrtParams2_with_gerror’ from ‘check_signature’
Error: CPPCHECK_WARNING (CWE-476): [#def23]
librepo-1.20.0/librepo/gpg_rpm.c:555: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: pkts
Error: COMPILER_WARNING (CWE-9001): [#def24]
librepo-1.20.0/librepo/handle.c: scope_hint: In function ‘lr_get_curl_handle’
librepo-1.20.0/librepo/handle.c:65:9: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def25]
librepo-1.20.0/librepo/handle.c:67:9: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def26]
librepo-1.20.0/librepo/handle.c:75:9: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def27]
librepo-1.20.0/librepo/handle.c:77:9: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def28]
librepo-1.20.0/librepo/handle.c:79:9: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: COMPILER_WARNING (CWE-9001): [#def29]
librepo-1.20.0/librepo/handle.c:83:9: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
Error: GCC_ANALYZER_WARNING (CWE-404): [#def30]
librepo-1.20.0/librepo/handle.c:99:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:575:9: call_function: calling ‘lr_handle_free_list’ from ‘lr_handle_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def31]
librepo-1.20.0/librepo/handle.c:100:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:575:9: call_function: calling ‘lr_handle_free_list’ from ‘lr_handle_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def32]
librepo-1.20.0/librepo/handle.c:239:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:392:9: call_function: calling ‘lr_handle_remote_sources_changed’ from ‘lr_handle_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def33]
librepo-1.20.0/librepo/handle.c:243:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:392:9: call_function: calling ‘lr_handle_remote_sources_changed’ from ‘lr_handle_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def34]
librepo-1.20.0/librepo/handle.c:247:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:544:12: branch_true: following ‘true’ branch (when ‘option == 1’)...
librepo-1.20.0/librepo/handle.c:545:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:546:13: call_function: calling ‘lr_handle_remote_sources_changed’ from ‘lr_handle_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def35]
librepo-1.20.0/librepo/handle.c:252:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:375:9: call_function: calling ‘lr_handle_remote_sources_changed’ from ‘lr_handle_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def36]
librepo-1.20.0/librepo/handle.c:255:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:375:9: call_function: calling ‘lr_handle_remote_sources_changed’ from ‘lr_handle_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def37]
librepo-1.20.0/librepo/handle.c:260:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:382:9: call_function: calling ‘lr_handle_remote_sources_changed’ from ‘lr_handle_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def38]
librepo-1.20.0/librepo/handle.c:349:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:349:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def39]
librepo-1.20.0/librepo/handle.c:350:33: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:350:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:350:33: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:350:33: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def40]
librepo-1.20.0/librepo/handle.c:354:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:353:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:354:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:354:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(4)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def41]
librepo-1.20.0/librepo/handle.c:357:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:353:12: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:355:9: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:356:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:357:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:357:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(4)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def42]
librepo-1.20.0/librepo/handle.c:373:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:372:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:373:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:373:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def43]
librepo-1.20.0/librepo/handle.c:380:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:379:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:380:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:380:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def44]
librepo-1.20.0/librepo/handle.c:387:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:386:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:387:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:387:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def45]
librepo-1.20.0/librepo/handle.c:439:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:439:13: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:439:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def46]
librepo-1.20.0/librepo/handle.c:473:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:472:12: branch_true: following ‘true’ branch (when ‘val_gint64 < 0’)...
librepo-1.20.0/librepo/handle.c:473:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:473:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def47]
librepo-1.20.0/librepo/handle.c:478:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:472:12: branch_false: following ‘false’ branch (when ‘val_gint64 >= 0’)...
librepo-1.20.0/librepo/handle.c:477:19: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:477:19: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:478:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def48]
librepo-1.20.0/librepo/handle.c:489:30: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:489:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:489:30: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:489:30: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def49]
librepo-1.20.0/librepo/handle.c:496:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:495:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:496:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:496:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def50]
librepo-1.20.0/librepo/handle.c:516:32: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:516:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:516:32: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:516:32: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def51]
librepo-1.20.0/librepo/handle.c:568:24: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:544:12: branch_true: following ‘true’ branch (when ‘option == 1’)...
librepo-1.20.0/librepo/handle.c:545:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:546:13: call_function: calling ‘lr_handle_remote_sources_changed’ from ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:546:13: return_function: returning to ‘lr_handle_setopt’ from ‘lr_handle_remote_sources_changed’
librepo-1.20.0/librepo/handle.c:553:9: call_function: calling ‘lr_handle_free_list’ from ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:553:9: return_function: returning to ‘lr_handle_setopt’ from ‘lr_handle_free_list’
librepo-1.20.0/librepo/handle.c:554:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
branch_false: ...to here
librepo-1.20.0/librepo/handle.c:562:12: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:568:24: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:568:24: danger: missing call to ‘va_end’ to match ‘va_start’ at [(4)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def52]
librepo-1.20.0/librepo/handle.c:576:30: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:316:1: enter_function: entry to ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:575:9: call_function: calling ‘lr_handle_free_list’ from ‘lr_handle_setopt’
librepo-1.20.0/librepo/handle.c:575:9: return_function: returning to ‘lr_handle_setopt’ from ‘lr_handle_free_list’
librepo-1.20.0/librepo/handle.c:576:30: danger: missing call to ‘va_end’ to match ‘va_start’ at [(4)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def53]
librepo-1.20.0/librepo/handle.c:588:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:587:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:588:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:588:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def54]
librepo-1.20.0/librepo/handle.c:603:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:601:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:603:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:603:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def55]
librepo-1.20.0/librepo/handle.c:616:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:615:12: branch_true: following ‘true’ branch (when ‘val_long <= 0’)...
librepo-1.20.0/librepo/handle.c:616:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:616:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def56]
librepo-1.20.0/librepo/handle.c:627:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:627:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/66/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def57]
librepo-1.20.0/librepo/handle.c:634:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:634:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/67/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def58]
librepo-1.20.0/librepo/handle.c:653:41: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:653:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:653:41: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:653:41: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def59]
librepo-1.20.0/librepo/handle.c:662:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:661:12: branch_true: following ‘true’ branch (when ‘val_long < 0’)...
librepo-1.20.0/librepo/handle.c:662:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:662:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def60]
librepo-1.20.0/librepo/handle.c:683:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:682:12: branch_true: following ‘true’ branch (when ‘val_long < 0’)...
librepo-1.20.0/librepo/handle.c:683:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:683:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/71/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def61]
librepo-1.20.0/librepo/handle.c:697:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:696:12: branch_true: following ‘true’ branch (when ‘val_long < 0’)...
librepo-1.20.0/librepo/handle.c:697:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:697:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/73/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def62]
librepo-1.20.0/librepo/handle.c:701:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:696:12: branch_false: following ‘false’ branch (when ‘val_long >= 0’)...
librepo-1.20.0/librepo/handle.c:700:20: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:700:19: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:701:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/75/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def63]
librepo-1.20.0/librepo/handle.c:734:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:733:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:734:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:734:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/77/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def64]
librepo-1.20.0/librepo/handle.c:744:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:743:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:744:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:744:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/78/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def65]
librepo-1.20.0/librepo/handle.c:754:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:753:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:754:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:754:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/79/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def66]
librepo-1.20.0/librepo/handle.c:771:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:770:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:771:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:771:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/80/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def67]
librepo-1.20.0/librepo/handle.c:781:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:780:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:781:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:781:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/81/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def68]
librepo-1.20.0/librepo/handle.c:791:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:790:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:791:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:791:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/82/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def69]
librepo-1.20.0/librepo/handle.c:806:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:806:13: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:806:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/83/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def70]
librepo-1.20.0/librepo/handle.c:826:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:826:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/85/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def71]
librepo-1.20.0/librepo/handle.c:862:31: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:862:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:862:31: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:862:31: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/86/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def72]
librepo-1.20.0/librepo/handle.c:872:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:872:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/87/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def73]
librepo-1.20.0/librepo/handle.c:884:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:880:8: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:882:9: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:882:9: branch_true: following ‘true’ branch (when ‘c_rc == 2’)...
librepo-1.20.0/librepo/handle.c:883:9: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:884:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/89/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def74]
librepo-1.20.0/librepo/handle.c:889:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:332:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:338:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:340:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:880:8: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:882:9: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:882:9: branch_false: following ‘false’ branch (when ‘c_rc != 2’)...
librepo-1.20.0/librepo/handle.c:888:9: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:889:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/92/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def75]
librepo-1.20.0/librepo/handle.c:1087:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
librepo-1.20.0/librepo/handle.c:1010:1: enter_function: entry to ‘lr_handle_prepare_mirrorlist’
librepo-1.20.0/librepo/handle.c:1012:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1018:8: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1021:15: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1024:15: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1024:15: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1028:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1029:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:1030:18: acquire_resource: opened here
librepo-1.20.0/librepo/handle.c:1031:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1026:31: call_function: inlined call to ‘lr_local_free’ from ‘lr_handle_prepare_mirrorlist’
librepo-1.20.0/librepo/handle.c:1087:5: danger: ‘fd’ leaks here; was opened at [(10)](sarif:/runs/0/results/95/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
librepo-1.20.0/librepo/handle.c:1089:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
librepo-1.20.0/librepo/handle.c:1010:1: enter_function: entry to ‘lr_handle_prepare_mirrorlist’
librepo-1.20.0/librepo/handle.c:1012:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1018:8: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1021:15: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1024:15: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1024:15: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1028:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1029:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:1030:18: acquire_resource: opened here
librepo-1.20.0/librepo/handle.c:1031:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1026:31: call_function: inlined call to ‘lr_local_free’ from ‘lr_handle_prepare_mirrorlist’
librepo-1.20.0/librepo/handle.c:1089:24: danger: ‘fd’ leaks here; was opened at [(10)](sarif:/runs/0/results/96/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def77]
librepo-1.20.0/librepo/handle.c:1090:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
librepo-1.20.0/librepo/handle.c:1010:1: enter_function: entry to ‘lr_handle_prepare_mirrorlist’
librepo-1.20.0/librepo/handle.c:1012:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1018:8: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1021:15: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1024:15: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1024:15: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1028:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1029:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:1030:18: acquire_resource: opened here
librepo-1.20.0/librepo/handle.c:1031:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1026:31: call_function: inlined call to ‘lr_local_free’ from ‘lr_handle_prepare_mirrorlist’
librepo-1.20.0/librepo/handle.c:1090:20: danger: ‘fd’ leaks here; was opened at [(10)](sarif:/runs/0/results/97/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def78]
librepo-1.20.0/librepo/handle.c:1204:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
librepo-1.20.0/librepo/handle.c:1126:1: enter_function: entry to ‘lr_handle_prepare_metalink’
librepo-1.20.0/librepo/handle.c:1128:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1129:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1129:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1135:8: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1138:15: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1141:15: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1141:15: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1145:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1146:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:1147:18: acquire_resource: opened here
librepo-1.20.0/librepo/handle.c:1148:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1143:31: call_function: inlined call to ‘lr_local_free’ from ‘lr_handle_prepare_metalink’
librepo-1.20.0/librepo/handle.c:1204:5: danger: ‘fd’ leaks here; was opened at [(12)](sarif:/runs/0/results/98/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def79]
librepo-1.20.0/librepo/handle.c:1213:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
librepo-1.20.0/librepo/handle.c:1126:1: enter_function: entry to ‘lr_handle_prepare_metalink’
librepo-1.20.0/librepo/handle.c:1128:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1129:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1129:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1135:8: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1138:15: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1141:15: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1141:15: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1145:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1146:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:1147:18: acquire_resource: opened here
librepo-1.20.0/librepo/handle.c:1148:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1143:31: call_function: inlined call to ‘lr_local_free’ from ‘lr_handle_prepare_metalink’
librepo-1.20.0/librepo/handle.c:1208:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1213:22: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1213:22: danger: ‘fd’ leaks here; was opened at [(12)](sarif:/runs/0/results/99/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def80]
librepo-1.20.0/librepo/handle.c:1214:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
librepo-1.20.0/librepo/handle.c:1126:1: enter_function: entry to ‘lr_handle_prepare_metalink’
librepo-1.20.0/librepo/handle.c:1128:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1129:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1129:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1135:8: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1138:15: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1141:15: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1141:15: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1145:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/handle.c:1146:13: branch_true: ...to here
librepo-1.20.0/librepo/handle.c:1147:18: acquire_resource: opened here
librepo-1.20.0/librepo/handle.c:1148:16: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1143:31: call_function: inlined call to ‘lr_local_free’ from ‘lr_handle_prepare_metalink’
librepo-1.20.0/librepo/handle.c:1208:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/handle.c:1213:22: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1214:20: danger: ‘fd’ leaks here; was opened at [(12)](sarif:/runs/0/results/100/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def81]
librepo-1.20.0/librepo/handle.c:1597:20: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:1514:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:1520:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1520:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:1592:12: branch_false: following ‘false’ branch (when ‘source_list’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:1597:20: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1597:20: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/101/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def82]
librepo-1.20.0/librepo/handle.c:1793:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/handle.c:1514:8: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
librepo-1.20.0/librepo/handle.c:1520:5: branch_false: ...to here
librepo-1.20.0/librepo/handle.c:1520:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/handle.c:1793:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/102/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def83]
librepo-1.20.0/librepo/metadata_downloader.c:106:28: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/metadata_downloader.c:466:1: enter_function: entry to ‘append_url_target’
librepo-1.20.0/librepo/metadata_downloader.c:468:8: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/metadata_downloader.c:469:9: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:469:9: call_function: calling ‘lr_metadatatarget_append_error’ from ‘append_url_target’
Error: CPPCHECK_WARNING (CWE-476): [#def84]
librepo-1.20.0/librepo/metadata_downloader.c:159: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: fd_allocated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
librepo-1.20.0/librepo/metadata_downloader.c:159:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘fd_allocated’
librepo-1.20.0/librepo/metadata_downloader.c:190:1: enter_function: entry to ‘create_repomd_xml_download_targets’
librepo-1.20.0/librepo/metadata_downloader.c:195:34: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/metadata_downloader.c:196:27: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:204:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/metadata_downloader.c:206:13: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:206:13: call_function: calling ‘fillInvalidationValues’ from ‘create_repomd_xml_download_targets’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
librepo-1.20.0/librepo/metadata_downloader.c:160:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fd_allocated’
librepo-1.20.0/librepo/metadata_downloader.c:190:1: enter_function: entry to ‘create_repomd_xml_download_targets’
librepo-1.20.0/librepo/metadata_downloader.c:195:34: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/metadata_downloader.c:196:27: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:204:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/metadata_downloader.c:206:13: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:206:13: call_function: calling ‘fillInvalidationValues’ from ‘create_repomd_xml_download_targets’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
librepo-1.20.0/librepo/metadata_downloader.c:333:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fd’
librepo-1.20.0/librepo/metadata_downloader.c:316:64: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/metadata_downloader.c:319:27: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:317:42: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/metadata_downloader.c:316:64: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/metadata_downloader.c:319:27: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:323:12: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/metadata_downloader.c:328:13: branch_false: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:328:12: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/metadata_downloader.c:333:34: branch_false: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:333:34: danger: dereference of NULL ‘fd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
librepo-1.20.0/librepo/metadata_downloader.c:371:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘path’
librepo-1.20.0/librepo/metadata_downloader.c:316:64: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/metadata_downloader.c:319:27: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:317:42: branch_true: following ‘true’ branch (when ‘fd’ is non-NULL)...
librepo-1.20.0/librepo/metadata_downloader.c:317:37: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:317:67: branch_false: following ‘false’ branch (when ‘path’ is NULL)...
branch_false: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:316:64: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/metadata_downloader.c:319:27: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:323:12: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/metadata_downloader.c:328:13: branch_false: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:328:12: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/metadata_downloader.c:333:34: branch_false: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:335:13: branch_true: following ‘true’ branch (when ‘fd_value == -1’)...
librepo-1.20.0/librepo/metadata_downloader.c:336:13: branch_true: ...to here
librepo-1.20.0/librepo/metadata_downloader.c:371:17: danger: dereference of NULL ‘path’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
librepo-1.20.0/librepo/mirrorlist.c:99:32: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
librepo-1.20.0/librepo/mirrorlist.c:52:1: enter_function: entry to ‘lr_mirrorlist_parse_file’
librepo-1.20.0/librepo/mirrorlist.c:58:5: branch_false: following ‘false’ branch (when ‘mirrorlist’ is non-NULL)...
librepo-1.20.0/librepo/mirrorlist.c:59:5: branch_false: ...to here
librepo-1.20.0/librepo/mirrorlist.c:59:5: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
librepo-1.20.0/librepo/mirrorlist.c:60:5: branch_false: ...to here
librepo-1.20.0/librepo/mirrorlist.c:64:8: branch_false: following ‘false’ branch (when ‘fd_dup != -1’)...
librepo-1.20.0/librepo/mirrorlist.c:70:9: branch_false: ...to here
librepo-1.20.0/librepo/mirrorlist.c:70:9: acquire_memory: allocated here
librepo-1.20.0/librepo/mirrorlist.c:71:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
librepo-1.20.0/librepo/mirrorlist.c:78:12: branch_true: following ‘true’ branch...
branch_true: ...to here
librepo-1.20.0/librepo/mirrorlist.c:98:13: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/mirrorlist.c:99:65: call_function: inlined call to ‘g_strdup_inline’ from ‘lr_mirrorlist_parse_file’
librepo-1.20.0/librepo/mirrorlist.c:99:32: danger: ‘f’ leaks here; was allocated at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def90]
librepo-1.20.0/librepo/package_downloader.c:315:42: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*packagetarget.local_path, 0)’
librepo-1.20.0/librepo/package_downloader.c:192:8: branch_false: following ‘false’ branch (when ‘targets’ is non-NULL)...
branch_false: ...to here
librepo-1.20.0/librepo/package_downloader.c:196:34: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/package_downloader.c:197:26: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:244:34: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/package_downloader.c:246:26: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:301:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/package_downloader.c:302:16: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:301:13: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/package_downloader.c:303:16: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:301:13: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/package_downloader.c:310:29: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:310:24: acquire_resource: opened here
librepo-1.20.0/librepo/package_downloader.c:311:16: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/package_downloader.c:315:42: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:315:42: danger: ‘open(*packagetarget.local_path, 0)’ leaks here; was opened at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def91]
librepo-1.20.0/librepo/package_downloader.c:579:42: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(*packagetarget.local_path, 0)’
librepo-1.20.0/librepo/package_downloader.c:512:8: branch_false: following ‘false’ branch (when ‘targets’ is non-NULL)...
branch_false: ...to here
librepo-1.20.0/librepo/package_downloader.c:516:34: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/package_downloader.c:517:26: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:522:12: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/package_downloader.c:523:20: branch_false: ...to here
librepo-1.20.0/librepo/package_downloader.c:522:13: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/package_downloader.c:516:40: branch_false: ...to here
librepo-1.20.0/librepo/package_downloader.c:547:34: branch_true: following ‘true’ branch (when ‘elem’ is non-NULL)...
librepo-1.20.0/librepo/package_downloader.c:549:26: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:571:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/package_downloader.c:573:29: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:573:24: acquire_resource: opened here
librepo-1.20.0/librepo/package_downloader.c:574:16: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/package_downloader.c:579:42: branch_true: ...to here
librepo-1.20.0/librepo/package_downloader.c:579:42: danger: ‘open(*packagetarget.local_path, 0)’ leaks here; was opened at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def92]
librepo-1.20.0/librepo/python/exception-py.c:54:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/python/exception-py.c:48:5: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/python/exception-py.c:49:5: branch_false: ...to here
librepo-1.20.0/librepo/python/exception-py.c:51:8: branch_true: following ‘true’ branch (when ‘format’ is non-NULL)...
librepo-1.20.0/librepo/python/exception-py.c:53:9: branch_true: ...to here
librepo-1.20.0/librepo/python/exception-py.c:53:9: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/python/exception-py.c:54:15: danger: missing call to ‘va_end’ to match ‘va_start’ at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-1164): [#def93]
librepo-1.20.0/librepo/python/globalstate-py.h:60:1: warning[-Wunused-function]: ‘gil_logger_hack_begin’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def94]
librepo-1.20.0/librepo/python/librepomodule.c:35: included_from: Included from here.
librepo-1.20.0/librepo/python/globalstate-py.h:84:1: warning[-Wunused-function]: ‘gil_logger_hack_end’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def95]
librepo-1.20.0/librepo/python/logging.c:107:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fn, "a")’
librepo-1.20.0/librepo/python/logging.c:96:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/python/logging.c:100:15: branch_false: ...to here
librepo-1.20.0/librepo/python/logging.c:100:15: acquire_resource: opened here
librepo-1.20.0/librepo/python/logging.c:101:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/python/logging.c:107:25: branch_false: ...to here
librepo-1.20.0/librepo/python/logging.c:107:25: danger: ‘fopen(fn, "a")’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
librepo-1.20.0/librepo/python/logging.c:107:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fn, "a")’
librepo-1.20.0/librepo/python/logging.c:96:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/python/logging.c:100:15: branch_false: ...to here
librepo-1.20.0/librepo/python/logging.c:100:15: acquire_memory: allocated here
librepo-1.20.0/librepo/python/logging.c:101:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/python/logging.c:107:25: branch_false: ...to here
librepo-1.20.0/librepo/python/logging.c:107:25: danger: ‘fopen(fn, "a")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def97]
librepo-1.20.0/librepo/python/logging.c:112:24: warning[-Wanalyzer-file-leak]: leak of FILE
librepo-1.20.0/librepo/python/logging.c:90:1: enter_function: entry to ‘py_log_set_file’
librepo-1.20.0/librepo/python/logging.c:96:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/python/logging.c:100:15: branch_false: ...to here
librepo-1.20.0/librepo/python/logging.c:100:15: acquire_resource: opened here
librepo-1.20.0/librepo/python/logging.c:101:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/python/logging.c:107:25: branch_false: ...to here
librepo-1.20.0/librepo/python/logging.c:112:24: danger: leaks here; was opened at [(4)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
librepo-1.20.0/librepo/python/logging.c:112:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
librepo-1.20.0/librepo/python/logging.c:90:1: enter_function: entry to ‘py_log_set_file’
librepo-1.20.0/librepo/python/logging.c:96:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/python/logging.c:100:15: branch_false: ...to here
librepo-1.20.0/librepo/python/logging.c:100:15: acquire_memory: allocated here
librepo-1.20.0/librepo/python/logging.c:101:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/python/logging.c:107:25: branch_false: ...to here
librepo-1.20.0/librepo/python/logging.c:112:24: danger: ‘<unknown>’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def99]
librepo-1.20.0/librepo/repoconf.c:320:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1052:9: call_function: calling ‘lr_key_file_set_ip_resolve’ from ‘lr_yum_repoconf_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def100]
librepo-1.20.0/librepo/repoconf.c:322:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1052:9: call_function: calling ‘lr_key_file_set_ip_resolve’ from ‘lr_yum_repoconf_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def101]
librepo-1.20.0/librepo/repoconf.c:324:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1052:9: call_function: calling ‘lr_key_file_set_ip_resolve’ from ‘lr_yum_repoconf_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def102]
librepo-1.20.0/librepo/repoconf.c:501:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:944:9: call_function: calling ‘lr_key_file_set_string’ from ‘lr_yum_repoconf_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def103]
librepo-1.20.0/librepo/repoconf.c:505:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:944:9: call_function: calling ‘lr_key_file_set_string’ from ‘lr_yum_repoconf_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def104]
librepo-1.20.0/librepo/repoconf.c:517:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:954:9: call_function: calling ‘lr_key_file_set_string_list’ from ‘lr_yum_repoconf_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def105]
librepo-1.20.0/librepo/repoconf.c:520:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:954:9: call_function: calling ‘lr_key_file_set_string_list’ from ‘lr_yum_repoconf_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def106]
librepo-1.20.0/librepo/repoconf.c:524:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:954:9: call_function: calling ‘lr_key_file_set_string_list’ from ‘lr_yum_repoconf_setopt’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def107]
librepo-1.20.0/librepo/repoconf.c:706:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:706:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def108]
librepo-1.20.0/librepo/repoconf.c:721:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:721:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def109]
librepo-1.20.0/librepo/repoconf.c:726:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:726:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def110]
librepo-1.20.0/librepo/repoconf.c:731:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:731:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def111]
librepo-1.20.0/librepo/repoconf.c:761:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:761:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def112]
librepo-1.20.0/librepo/repoconf.c:766:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:766:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def113]
librepo-1.20.0/librepo/repoconf.c:771:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:771:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def114]
librepo-1.20.0/librepo/repoconf.c:776:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:776:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def115]
librepo-1.20.0/librepo/repoconf.c:781:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:781:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def116]
librepo-1.20.0/librepo/repoconf.c:808:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:808:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def117]
librepo-1.20.0/librepo/repoconf.c:832:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:832:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def118]
librepo-1.20.0/librepo/repoconf.c:839:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:839:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def119]
librepo-1.20.0/librepo/repoconf.c:845:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:845:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def120]
librepo-1.20.0/librepo/repoconf.c:855:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:855:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def121]
librepo-1.20.0/librepo/repoconf.c:860:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:860:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def122]
librepo-1.20.0/librepo/repoconf.c:870:16: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:664:1: enter_function: entry to ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:678:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:685:25: call_function: inlined call to ‘repoconf_keyfile’ from ‘lr_yum_repoconf_getinfo’
librepo-1.20.0/librepo/repoconf.c:689:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:695:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:695:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:870:16: danger: missing call to ‘va_end’ to match ‘va_start’ at [(8)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def123]
librepo-1.20.0/librepo/repoconf.c:938:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:938:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def124]
librepo-1.20.0/librepo/repoconf.c:949:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:949:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def125]
librepo-1.20.0/librepo/repoconf.c:994:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:994:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def126]
librepo-1.20.0/librepo/repoconf.c:1024:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1024:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def127]
librepo-1.20.0/librepo/repoconf.c:1029:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1029:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def128]
librepo-1.20.0/librepo/repoconf.c:1034:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1034:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def129]
librepo-1.20.0/librepo/repoconf.c:1040:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1040:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def130]
librepo-1.20.0/librepo/repoconf.c:1060:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1060:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def131]
librepo-1.20.0/librepo/repoconf.c:1067:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1067:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def132]
librepo-1.20.0/librepo/repoconf.c:1074:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1074:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def133]
librepo-1.20.0/librepo/repoconf.c:1085:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1085:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def134]
librepo-1.20.0/librepo/repoconf.c:1110:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/repoconf.c:901:1: enter_function: entry to ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:915:8: branch_false: following ‘false’ branch (when ‘repoconf’ is non-NULL)...
librepo-1.20.0/librepo/repoconf.c:922:31: call_function: inlined call to ‘repoconf_repofile’ from ‘lr_yum_repoconf_setopt’
librepo-1.20.0/librepo/repoconf.c:927:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoconf.c:933:5: branch_false: ...to here
librepo-1.20.0/librepo/repoconf.c:933:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/repoconf.c:1110:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def135]
librepo-1.20.0/librepo/repoutil_yum.c:112:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
librepo-1.20.0/librepo/repoutil_yum.c:90:5: branch_false: following ‘false’ branch (when ‘in_path’ is non-NULL)...
librepo-1.20.0/librepo/repoutil_yum.c:91:5: branch_false: ...to here
librepo-1.20.0/librepo/repoutil_yum.c:93:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoutil_yum.c:99:9: branch_false: ...to here
librepo-1.20.0/librepo/repoutil_yum.c:104:10: acquire_resource: opened here
librepo-1.20.0/librepo/repoutil_yum.c:105:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoutil_yum.c:112:5: branch_false: ...to here
librepo-1.20.0/librepo/repoutil_yum.c:112:5: danger: ‘open(path, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
librepo-1.20.0/librepo/repoutil_yum.c:114:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
librepo-1.20.0/librepo/repoutil_yum.c:90:5: branch_false: following ‘false’ branch (when ‘in_path’ is non-NULL)...
librepo-1.20.0/librepo/repoutil_yum.c:91:5: branch_false: ...to here
librepo-1.20.0/librepo/repoutil_yum.c:93:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoutil_yum.c:99:9: branch_false: ...to here
librepo-1.20.0/librepo/repoutil_yum.c:104:10: acquire_resource: opened here
librepo-1.20.0/librepo/repoutil_yum.c:105:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/repoutil_yum.c:112:5: branch_false: ...to here
librepo-1.20.0/librepo/repoutil_yum.c:114:11: danger: ‘open(path, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def137]
librepo-1.20.0/librepo/result.c:100:19: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/result.c:72:8: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
librepo-1.20.0/librepo/result.c:78:5: branch_false: ...to here
librepo-1.20.0/librepo/result.c:78:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/result.c:99:12: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/result.c:100:19: branch_true: ...to here
librepo-1.20.0/librepo/result.c:100:19: 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-404): [#def138]
librepo-1.20.0/librepo/result.c:116:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/result.c:72:8: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
librepo-1.20.0/librepo/result.c:78:5: branch_false: ...to here
librepo-1.20.0/librepo/result.c:78:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/result.c:116:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def139]
librepo-1.20.0/librepo/xmlparser.c:98:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
librepo-1.20.0/librepo/xmlparser.c:91:5: branch_false: following ‘false’ branch (when ‘pd’ is non-NULL)...
librepo-1.20.0/librepo/xmlparser.c:92:5: branch_false: ...to here
librepo-1.20.0/librepo/xmlparser.c:92:5: branch_false: following ‘false’ branch (when ‘msg’ is non-NULL)...
librepo-1.20.0/librepo/xmlparser.c:94:10: branch_false: ...to here
librepo-1.20.0/librepo/xmlparser.c:94:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/xmlparser.c:97:5: branch_false: ...to here
librepo-1.20.0/librepo/xmlparser.c:97:5: acquire_resource: ‘va_start’ called here
librepo-1.20.0/librepo/xmlparser.c:98:5: danger: missing call to ‘va_end’ to match ‘va_start’ at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-476): [#def140]
librepo-1.20.0/librepo/yum.c:275: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
librepo-1.20.0/librepo/yum.c:275:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
librepo-1.20.0/librepo/yum.c:595:1: enter_function: entry to ‘lr_yum_download_repomd’
librepo-1.20.0/librepo/yum.c:612:22: call_function: calling ‘cbdata_new’ from ‘lr_yum_download_repomd’
Error: CPPCHECK_WARNING (CWE-476): [#def142]
librepo-1.20.0/librepo/yum.c:276: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def143]
librepo-1.20.0/librepo/yum.c:277: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def144]
librepo-1.20.0/librepo/yum.c:278: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-476): [#def145]
librepo-1.20.0/librepo/yum.c:279: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
librepo-1.20.0/librepo/yum.c:618:32: warning[-Wanalyzer-malloc-leak]: leak of ‘cbdata_new(*handle.user_data, 0, *handle.user_cb, *handle.hmfcb, "repomd.xml")’
librepo-1.20.0/librepo/yum.c:595:1: enter_function: entry to ‘lr_yum_download_repomd’
librepo-1.20.0/librepo/yum.c:612:22: call_function: calling ‘cbdata_new’ from ‘lr_yum_download_repomd’
librepo-1.20.0/librepo/yum.c:612:22: return_function: returning to ‘lr_yum_download_repomd’ from ‘cbdata_new’
librepo-1.20.0/librepo/yum.c:618:32: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/yum.c:626:54: branch_true: ...to here
librepo-1.20.0/librepo/yum.c:618:32: branch_true: following ‘true’ branch...
librepo-1.20.0/librepo/yum.c:618:32: branch_true: ...to here
librepo-1.20.0/librepo/yum.c:618:32: danger: ‘cbdata_new(*handle.user_data, 0, *handle.user_cb, *handle.hmfcb, "repomd.xml")’ leaks here; was allocated at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def147]
librepo-1.20.0/librepo/yum.c:1137:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
librepo-1.20.0/librepo/yum.c:1093:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/yum.c:1097:8: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1112:8: branch_false: following ‘false’ branch (when ‘expected_checksum’ is non-NULL)...
librepo-1.20.0/librepo/yum.c:1118:8: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1118:8: branch_false: following ‘false’ branch (when ‘checksum_type != 0’)...
librepo-1.20.0/librepo/yum.c:1125:10: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1125:10: acquire_resource: opened here
librepo-1.20.0/librepo/yum.c:1126:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/yum.c:1133:8: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1133:8: branch_true: following ‘true’ branch (when ‘is_zchunk != 0’)...
librepo-1.20.0/librepo/yum.c:1136:9: branch_true: ...to here
librepo-1.20.0/librepo/yum.c:1137:23: danger: ‘open(path, 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def148]
librepo-1.20.0/librepo/yum.c:1152:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
librepo-1.20.0/librepo/yum.c:1093:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/yum.c:1097:8: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1112:8: branch_false: following ‘false’ branch (when ‘expected_checksum’ is non-NULL)...
librepo-1.20.0/librepo/yum.c:1118:8: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1118:8: branch_false: following ‘false’ branch (when ‘checksum_type != 0’)...
librepo-1.20.0/librepo/yum.c:1125:10: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1125:10: acquire_resource: opened here
librepo-1.20.0/librepo/yum.c:1126:8: branch_false: following ‘false’ branch...
librepo-1.20.0/librepo/yum.c:1133:8: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1133:8: branch_false: following ‘false’ branch (when ‘is_zchunk == 0’)...
librepo-1.20.0/librepo/yum.c:1152:15: branch_false: ...to here
librepo-1.20.0/librepo/yum.c:1152:15: danger: ‘open(path, 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def149]
librepo-1.20.0/tests/test_checksum.c:56:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
librepo-1.20.0/tests/test_checksum.c:54:10: acquire_resource: opened here
librepo-1.20.0/tests/test_checksum.c:55:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_checksum.c:55:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:56:16: danger: ‘open(filename, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def150]
librepo-1.20.0/tests/test_checksum.c:123:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.tmpdir, "/test_checksum_matches", 0), 0)’
librepo-1.20.0/tests/test_checksum.c:110:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_checksum.c:110:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:116:5: branch_true: following ‘true’ branch (when ‘attr_ret == -1’)...
librepo-1.20.0/tests/test_checksum.c:116:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:118:5: branch_true: following ‘true’ branch (when ‘attr_ret == -1’)...
librepo-1.20.0/tests/test_checksum.c:118:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:121:10: acquire_resource: opened here
librepo-1.20.0/tests/test_checksum.c:122:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_checksum.c:122:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:123:20: danger: ‘open(lr_pathconcat(test_globals.tmpdir, "/test_checksum_matches", 0), 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def151]
librepo-1.20.0/tests/test_checksum.c:165:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.tmpdir, "/test_checksum_matches", 0), 0)’
librepo-1.20.0/tests/test_checksum.c:110:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_checksum.c:110:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:116:5: branch_true: following ‘true’ branch (when ‘attr_ret == -1’)...
librepo-1.20.0/tests/test_checksum.c:116:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:118:5: branch_true: following ‘true’ branch (when ‘attr_ret == -1’)...
librepo-1.20.0/tests/test_checksum.c:118:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:122:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_checksum.c:122:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:129:5: branch_true: following ‘true’ branch (when ‘_ck_x’ is NULL)...
librepo-1.20.0/tests/test_checksum.c:129:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:130:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_checksum.c:130:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:131:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_checksum.c:131:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:137:8: branch_false: following ‘false’ branch (when ‘attr_ret != -1’)...
librepo-1.20.0/tests/test_checksum.c:146:9: branch_false: ...to here
librepo-1.20.0/tests/test_checksum.c:147:9: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_checksum.c:152:5: branch_true: following ‘true’ branch (when ‘_ck_x == 0’)...
librepo-1.20.0/tests/test_checksum.c:152:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:158:5: branch_true: following ‘true’ branch (when ‘attr_ret != -1’)...
librepo-1.20.0/tests/test_checksum.c:158:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:160:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_checksum.c:163:10: acquire_resource: opened here
librepo-1.20.0/tests/test_checksum.c:164:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_checksum.c:164:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:165:20: danger: ‘open(lr_pathconcat(test_globals.tmpdir, "/test_checksum_matches", 0), 0)’ leaks here; was opened at [(25)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
librepo-1.20.0/tests/test_checksum.c:212:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.tmpdir, "/test_checksum_value", 0), 0)’
librepo-1.20.0/tests/test_checksum.c:199:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_checksum.c:199:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:205:5: branch_true: following ‘true’ branch (when ‘attr_ret == -1’)...
librepo-1.20.0/tests/test_checksum.c:205:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:207:5: branch_true: following ‘true’ branch (when ‘attr_ret == -1’)...
librepo-1.20.0/tests/test_checksum.c:207:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:210:10: acquire_resource: opened here
librepo-1.20.0/tests/test_checksum.c:211:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_checksum.c:211:5: branch_true: ...to here
librepo-1.20.0/tests/test_checksum.c:212:20: danger: ‘open(lr_pathconcat(test_globals.tmpdir, "/test_checksum_value", 0), 0)’ leaks here; was opened at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def153]
librepo-1.20.0/tests/test_gpg.c:139:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(key_path, 0)’
librepo-1.20.0/tests/test_gpg.c:137:18: acquire_resource: opened here
librepo-1.20.0/tests/test_gpg.c:138:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_gpg.c:138:5: branch_true: ...to here
librepo-1.20.0/tests/test_gpg.c:139:11: danger: ‘open(key_path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def154]
librepo-1.20.0/tests/test_metalink.c:51:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_01", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:50:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:51:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def155]
librepo-1.20.0/tests/test_metalink.c:53:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_01", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:50:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:52:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:52:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:53:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def156]
librepo-1.20.0/tests/test_metalink.c:55:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_01", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:50:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:52:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:52:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:54:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_metalink.c:54:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:55:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def157]
librepo-1.20.0/tests/test_metalink.c:163:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_02", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:162:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:163:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def158]
librepo-1.20.0/tests/test_metalink.c:165:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_02", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:162:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:164:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:164:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:165:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def159]
librepo-1.20.0/tests/test_metalink.c:167:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_02", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:162:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:164:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:164:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:166:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_metalink.c:166:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:167:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def160]
librepo-1.20.0/tests/test_metalink.c:209:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_03", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:208:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:209:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_03", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def161]
librepo-1.20.0/tests/test_metalink.c:211:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_03", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:208:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:210:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:210:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:211:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_03", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
librepo-1.20.0/tests/test_metalink.c:213:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_03", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:208:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:210:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:210:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:212:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_metalink.c:212:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:213:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_good_03", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def163]
librepo-1.20.0/tests/test_metalink.c:253:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_01", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:252:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:253:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def164]
librepo-1.20.0/tests/test_metalink.c:255:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_01", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:252:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:254:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:254:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:255:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def165]
librepo-1.20.0/tests/test_metalink.c:258:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_01", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:252:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:254:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:254:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:256:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_metalink.c:256:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:258:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def166]
librepo-1.20.0/tests/test_metalink.c:374:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_02", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:373:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:374:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def167]
librepo-1.20.0/tests/test_metalink.c:376:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_02", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:373:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:375:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:375:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:376:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def168]
librepo-1.20.0/tests/test_metalink.c:378:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_02", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:373:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:375:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:375:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:377:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_metalink.c:377:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:378:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_bad_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
librepo-1.20.0/tests/test_metalink.c:398:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_01", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:397:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:398:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
librepo-1.20.0/tests/test_metalink.c:400:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_01", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:397:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:399:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:399:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:400:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
librepo-1.20.0/tests/test_metalink.c:402:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_01", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:397:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:399:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:399:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:401:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_metalink.c:401:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:402:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
librepo-1.20.0/tests/test_metalink.c:422:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_02", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:421:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:422:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
librepo-1.20.0/tests/test_metalink.c:424:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_02", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:421:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:423:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:423:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:424:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def174]
librepo-1.20.0/tests/test_metalink.c:426:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_02", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:421:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:423:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:423:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:425:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_metalink.c:425:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:426:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
librepo-1.20.0/tests/test_metalink.c:446:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_03", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:445:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:446:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_03", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def176]
librepo-1.20.0/tests/test_metalink.c:448:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_03", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:445:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:447:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:447:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:448:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_03", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def177]
librepo-1.20.0/tests/test_metalink.c:450:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_03", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:445:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:447:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:447:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:449:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_metalink.c:449:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:450:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_really_bad_03", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def178]
librepo-1.20.0/tests/test_metalink.c:473:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_with_alternates", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:472:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:473:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_with_alternates", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def179]
librepo-1.20.0/tests/test_metalink.c:475:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_with_alternates", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:472:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:474:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:474:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:475:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_with_alternates", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def180]
librepo-1.20.0/tests/test_metalink.c:477:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_with_alternates", 0), 0)’
librepo-1.20.0/tests/test_metalink.c:472:10: acquire_resource: opened here
librepo-1.20.0/tests/test_metalink.c:474:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_metalink.c:474:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:476:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_metalink.c:476:5: branch_true: ...to here
librepo-1.20.0/tests/test_metalink.c:477:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "metalinks", "metalink_with_alternates", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def181]
librepo-1.20.0/tests/test_mirrorlist.c:38:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_01", 0), 0)’
librepo-1.20.0/tests/test_mirrorlist.c:37:10: acquire_resource: opened here
librepo-1.20.0/tests/test_mirrorlist.c:38:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def182]
librepo-1.20.0/tests/test_mirrorlist.c:40:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_01", 0), 0)’
librepo-1.20.0/tests/test_mirrorlist.c:37:10: acquire_resource: opened here
librepo-1.20.0/tests/test_mirrorlist.c:39:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_mirrorlist.c:39:5: branch_true: ...to here
librepo-1.20.0/tests/test_mirrorlist.c:40:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def183]
librepo-1.20.0/tests/test_mirrorlist.c:42:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_01", 0), 0)’
librepo-1.20.0/tests/test_mirrorlist.c:37:10: acquire_resource: opened here
librepo-1.20.0/tests/test_mirrorlist.c:39:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_mirrorlist.c:39:5: branch_true: ...to here
librepo-1.20.0/tests/test_mirrorlist.c:41:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_mirrorlist.c:41:5: branch_true: ...to here
librepo-1.20.0/tests/test_mirrorlist.c:42:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_01", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def184]
librepo-1.20.0/tests/test_mirrorlist.c:71:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_02", 0), 0)’
librepo-1.20.0/tests/test_mirrorlist.c:70:10: acquire_resource: opened here
librepo-1.20.0/tests/test_mirrorlist.c:71:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def185]
librepo-1.20.0/tests/test_mirrorlist.c:73:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_02", 0), 0)’
librepo-1.20.0/tests/test_mirrorlist.c:70:10: acquire_resource: opened here
librepo-1.20.0/tests/test_mirrorlist.c:72:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_mirrorlist.c:72:5: branch_true: ...to here
librepo-1.20.0/tests/test_mirrorlist.c:73:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def186]
librepo-1.20.0/tests/test_mirrorlist.c:75:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_02", 0), 0)’
librepo-1.20.0/tests/test_mirrorlist.c:70:10: acquire_resource: opened here
librepo-1.20.0/tests/test_mirrorlist.c:72:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_mirrorlist.c:72:5: branch_true: ...to here
librepo-1.20.0/tests/test_mirrorlist.c:74:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_mirrorlist.c:74:5: branch_true: ...to here
librepo-1.20.0/tests/test_mirrorlist.c:75:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_02", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def187]
librepo-1.20.0/tests/test_mirrorlist.c:95:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_03", 0), 0)’
librepo-1.20.0/tests/test_mirrorlist.c:94:10: acquire_resource: opened here
librepo-1.20.0/tests/test_mirrorlist.c:95:5: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_03", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def188]
librepo-1.20.0/tests/test_mirrorlist.c:97:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_03", 0), 0)’
librepo-1.20.0/tests/test_mirrorlist.c:94:10: acquire_resource: opened here
librepo-1.20.0/tests/test_mirrorlist.c:96:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_mirrorlist.c:96:5: branch_true: ...to here
librepo-1.20.0/tests/test_mirrorlist.c:97:10: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_03", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def189]
librepo-1.20.0/tests/test_mirrorlist.c:99:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_03", 0), 0)’
librepo-1.20.0/tests/test_mirrorlist.c:94:10: acquire_resource: opened here
librepo-1.20.0/tests/test_mirrorlist.c:96:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_mirrorlist.c:96:5: branch_true: ...to here
librepo-1.20.0/tests/test_mirrorlist.c:98:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_mirrorlist.c:98:5: branch_true: ...to here
librepo-1.20.0/tests/test_mirrorlist.c:99:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "mirrorlists", "mirrorlist_03", 0), 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def190]
librepo-1.20.0/tests/test_repo_zck.c:30:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "repo_yum_03/repodata/repomd.xml", 0), 0)’
librepo-1.20.0/tests/test_repo_zck.c:26:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_repo_zck.c:26:5: branch_true: ...to here
librepo-1.20.0/tests/test_repo_zck.c:27:10: acquire_resource: opened here
librepo-1.20.0/tests/test_repo_zck.c:28:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_repo_zck.c:28:5: branch_true: ...to here
librepo-1.20.0/tests/test_repo_zck.c:30:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "repo_yum_03/repodata/repomd.xml", 0), 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
librepo-1.20.0/tests/test_repomd.c:30:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(lr_pathconcat(test_globals.testdata_dir, "repo_yum_02/repodata/repomd.xml", 0), 0)’
librepo-1.20.0/tests/test_repomd.c:26:5: branch_true: following ‘true’ branch...
librepo-1.20.0/tests/test_repomd.c:26:5: branch_true: ...to here
librepo-1.20.0/tests/test_repomd.c:27:10: acquire_resource: opened here
librepo-1.20.0/tests/test_repomd.c:28:5: branch_true: following ‘true’ branch (when ‘_ck_x >= 0’)...
librepo-1.20.0/tests/test_repomd.c:28:5: branch_true: ...to here
librepo-1.20.0/tests/test_repomd.c:30:11: danger: ‘open(lr_pathconcat(test_globals.testdata_dir, "repo_yum_02/repodata/repomd.xml", 0), 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-5.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | librepo-1.20.0-4.fc44 |
| store-results-to | /tmp/tmppwbq1sgj/librepo-1.20.0-4.fc44.tar.xz |
| time-created | 2025-10-28 19:10:19 |
| time-finished | 2025-10-28 19:12:20 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmppwbq1sgj/librepo-1.20.0-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmppwbq1sgj/librepo-1.20.0-4.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |