Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-398): [#def1]
avahi-0.9.rc5/avahi-daemon/simple-protocol.c:259: style[constVariablePointer]: Variable 'u' can be declared as pointer to const
#  257|   
#  258|   static unsigned uid_clients_count(Server *s, uid_t uid) {
#  259|->     UidClients *u;
#  260|   
#  261|       assert(s);

Error: CPPCHECK_WARNING (CWE-570): [#def2]
avahi-0.9.rc5/avahi-daemon/simple-protocol.c:669: style[knownConditionTrueFalse]: Condition 'credentials_getsockopt(cfd,cred,&len)!=0' is always false
#  667|       }
#  668|   
#  669|->     if (credentials_getsockopt(cfd, cred, &len) != 0) {
#  670|           avahi_log_debug("Failed to get peer credentials for fd %d: %s", cfd, strerror(errno));
#  671|           return 0;

Scan Properties

analyzer-version-clang23.1.2
analyzer-version-clippy1.98.1
analyzer-version-cppcheck2.22.0
analyzer-version-gcc16.2.1
analyzer-version-gcc-analyzer16.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clang23.1.2
diffbase-analyzer-version-clippy1.98.1
diffbase-analyzer-version-cppcheck2.22.0
diffbase-analyzer-version-gcc16.2.1
diffbase-analyzer-version-gcc-analyzer16.2.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-251.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.20260813.215201.gc98a3c4.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.9.rc5-9.20261001110726046411.master.26.g1ac139e
diffbase-store-results-to/tmp/tmp5z2_xvdn/avahi-0.9.rc5-9.20261001110726046411.master.26.g1ac139e.tar.xz
diffbase-time-created2026-10-01 14:07:40
diffbase-time-finished2026-10-01 14:13:44
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-fe548101-9955-42ff-9a81-bb2104f3ec5b' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp5z2_xvdn/avahi-0.9.rc5-9.20261001110726046411.master.26.g1ac139e.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmp5z2_xvdn/avahi-0.9.rc5-9.20261001110726046411.master.26.g1ac139e.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260928.142326.g9f7dd5c-1.el9
enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-251.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameavahi-0.9.rc5-9.20261001134633216883.pr975.39.gab2d618
store-results-to/tmp/tmp41cfra0p/avahi-0.9.rc5-9.20261001134633216883.pr975.39.gab2d618.tar.xz
time-created2026-10-01 14:14:22
time-finished2026-10-01 14:19:46
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-4095ad4d-3400-4483-a692-875f0f3a0c70' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp41cfra0p/avahi-0.9.rc5-9.20261001134633216883.pr975.39.gab2d618.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmp41cfra0p/avahi-0.9.rc5-9.20261001134633216883.pr975.39.gab2d618.src.rpm'
tool-versioncsmock-3.8.7.20260928.142326.g9f7dd5c-1.el9