Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
avahi-0.9.rc2/avahi-daemon/ini-file-parser.c: scope_hint: In function ‘avahi_ini_list_confd_files_sorted’
avahi-0.9.rc2/avahi-daemon/ini-file-parser.c:76:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(confd_path)’
#   74|       }
#   75|   
#   76|->     filelist = avahi_malloc0(AVAHI_INI_CONFD_MAX_FILES * sizeof(char *));
#   77|   
#   78|       while ((dentry = readdir(dir)) != NULL) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
avahi-0.9.rc2/avahi-daemon/ini-file-parser.c:78:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(confd_path)’
#   76|       filelist = avahi_malloc0(AVAHI_INI_CONFD_MAX_FILES * sizeof(char *));
#   77|   
#   78|->     while ((dentry = readdir(dir)) != NULL) {
#   79|           regex_ret = regexec(&regex, dentry->d_name, 0, NULL, 0);
#   80|           if (regex_ret == 0) {

Scan Properties

analyzer-version-clang21.1.8
analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clang21.1.8
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.1
diffbase-analyzer-version-gcc-analyzer16.0.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-243.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260119.105402.g7a5be1b.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.9.rc2-8.20260120085922839324.master.131.gf65e12e
diffbase-store-results-to/tmp/tmp1umj9x7j/avahi-0.9.rc2-8.20260120085922839324.master.131.gf65e12e.tar.xz
diffbase-time-created2026-01-21 12:43:55
diffbase-time-finished2026-01-21 12:49:18
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp1umj9x7j/avahi-0.9.rc2-8.20260120085922839324.master.131.gf65e12e.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmp1umj9x7j/avahi-0.9.rc2-8.20260120085922839324.master.131.gf65e12e.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-243.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260119.105402.g7a5be1b.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameavahi-0.9.rc2-8.20260121123159331068.pr841.134.g6e4e6df
store-results-to/tmp/tmpdfuqat0m/avahi-0.9.rc2-8.20260121123159331068.pr841.134.g6e4e6df.tar.xz
time-created2026-01-21 12:49:48
time-finished2026-01-21 12:54:12
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpdfuqat0m/avahi-0.9.rc2-8.20260121123159331068.pr841.134.g6e4e6df.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpdfuqat0m/avahi-0.9.rc2-8.20260121123159331068.pr841.134.g6e4e6df.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9