Newly introduced findings

List of Findings

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);

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-134.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-nameelfutils-0.191-8.fc41
diffbase-store-results-to/tmp/tmpoqr3nr3f/elfutils-0.191-8.fc41.tar.xz
diffbase-time-created2024-11-12 23:42:29
diffbase-time-finished2024-11-12 23:47:26
diffbase-toolcsmock
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-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-134.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameelfutils-0.192-3.fc42
store-results-to/tmp/tmpw_4rbio2/elfutils-0.192-3.fc42.tar.xz
time-created2024-11-12 23:47:37
time-finished2024-11-12 23:52:21
titleNewly introduced findings
toolcsmock
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-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9