Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-398): [#def1]
avahi-0.9.rc4/avahi-daemon/ini-file-parser.c:100: style[redundantCondition]: Redundant condition: stat_ret==0. 'stat_ret!=0 || (stat_ret==0 && S_ISDIR(statbuf.st_mode))' is equivalent to 'stat_ret!=0 || S_ISDIR(statbuf.st_mode)'
#   98|           /* if stat() returns non-zero, assume dir, meaning ignore file */
#   99|           stat_ret = stat(full_path, &statbuf);
#  100|->         if ((stat_ret != 0) || (stat_ret == 0 && S_ISDIR(statbuf.st_mode)))
#  101|   #endif
#  102|               is_dir = 1;

Scan Properties

analyzer-version-clang22.1.2
analyzer-version-clippy1.94.1
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clang22.1.2
diffbase-analyzer-version-clippy1.94.1
diffbase-analyzer-version-cppcheck2.20.0
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-40.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.20260320.200800.gd35503f.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.9.rc4-8.20260409111445007017.master.2.g72c70cf
diffbase-store-results-to/tmp/tmpwhdodczr/avahi-0.9.rc4-8.20260409111445007017.master.2.g72c70cf.tar.xz
diffbase-time-created2026-04-09 12:47:05
diffbase-time-finished2026-04-09 12:51:06
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpwhdodczr/avahi-0.9.rc4-8.20260409111445007017.master.2.g72c70cf.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpwhdodczr/avahi-0.9.rc4-8.20260409111445007017.master.2.g72c70cf.src.rpm'
diffbase-tool-versioncsmock-3.8.5-1.el9
enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-40.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260320.200800.gd35503f.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameavahi-0.9.rc4-8.20260409124001212900.pr3.19.g4f72041
store-results-to/tmp/tmp0p9ih55f/avahi-0.9.rc4-8.20260409124001212900.pr3.19.g4f72041.tar.xz
time-created2026-04-09 12:51:34
time-finished2026-04-09 12:54:53
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp0p9ih55f/avahi-0.9.rc4-8.20260409124001212900.pr3.19.g4f72041.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmp0p9ih55f/avahi-0.9.rc4-8.20260409124001212900.pr3.19.g4f72041.src.rpm'
tool-versioncsmock-3.8.5-1.el9