Error: GCC_ANALYZER_WARNING (CWE-775): [#def1] elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c: scope_hint: In function ‘debuginfod_find_metadata’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:745:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(target_cache_path, 0)’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2764:7: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2737:5: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2738:5: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2738:5: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:1693:5: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2751:3: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2751:3: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2753:3: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2754:3: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2754:3: note: in expansion of macro ‘xalloc_str’ elfutils-0.192-build/elfutils-0.192/debuginfod/debuginfod-client.c:2764:7: note: in expansion of macro ‘xalloc_str’ # 743| do \ # 744| { \ # 745|-> if (asprintf (&p, fmt, args) < 0) \ # 746| { \ # 747| p = NULL; \ Error: GCC_ANALYZER_WARNING (CWE-401): [#def2] elfutils-0.192-build/elfutils-0.192/libdw/cie.c: scope_hint: In function ‘intern_new_cie’ elfutils-0.192-build/elfutils-0.192/libdw/cie.c:147:6: warning[-Wanalyzer-malloc-leak]: leak of ‘cie’ # 145| # 146| /* Add the new entry to the search tree. */ # 147|-> if (eu_tsearch (cie, &cache->cie_tree, &compare_cie) == NULL) # 148| { # 149| free (cie);
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.82.0 |
diffbase-analyzer-version-cppcheck | 2.16.0 |
diffbase-analyzer-version-gcc | 14.2.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.0 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-unicontrol | 0.0.2 |
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-134.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
diffbase-project-name | elfutils-0.191-8.fc41 |
diffbase-store-results-to | /tmp/tmpoqr3nr3f/elfutils-0.191-8.fc41.tar.xz |
diffbase-time-created | 2024-11-12 23:42:29 |
diffbase-time-finished | 2024-11-12 23:47:26 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpoqr3nr3f/elfutils-0.191-8.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpoqr3nr3f/elfutils-0.191-8.fc41.src.rpm' |
diffbase-tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-134.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | elfutils-0.192-3.fc42 |
store-results-to | /tmp/tmpw_4rbio2/elfutils-0.192-3.fc42.tar.xz |
time-created | 2024-11-12 23:47:37 |
time-finished | 2024-11-12 23:52:21 |
title | Newly introduced findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpw_4rbio2/elfutils-0.192-3.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpw_4rbio2/elfutils-0.192-3.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |