Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-398): [#def1]
avahi-0.9.rc5/avahi-core/iface.c:726: style[constVariablePointer]: Variable 'l' can be declared as pointer to const
#  724|   
#  725|   int avahi_interface_name_allowed(AvahiServer *s, const char *name) {
#  726|->     AvahiStringList *l;
#  727|       assert(s);
#  728|       assert(name);

Error: CPPCHECK_WARNING (CWE-398): [#def2]
avahi-0.9.rc5/avahi-core/iface.c:759: style[constVariablePointer]: Variable 'l' can be declared as pointer to const
#  757|   char *avahi_format_excluded_interfaces(AvahiStringList *names) {
#  758|       unsigned n = 0, shown = 0;
#  759|->     AvahiStringList *l;
#  760|       char *r, *e;
#  761|       size_t size = 128;

Error: CPPCHECK_WARNING (CWE-398): [#def3]
avahi-0.9.rc5/avahi-core/iface.c:788: style[constVariablePointer]: Variable 'hw' can be declared as pointer to const
#  786|   
#  787|   void avahi_interface_monitor_log_excluded(AvahiInterfaceMonitor *m) {
#  788|->     AvahiHwInterface *hw;
#  789|       AvahiStringList *names = NULL;
#  790|       char *t;

Scan Properties

analyzer-version-clang23.1.5
analyzer-version-clippy1.100.0
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.5
diffbase-analyzer-version-clippy1.100.0
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-48.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.20261119.122405.g0aee554.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.9.rc5-9.20261119103231680842.master.42.gbfce13b
diffbase-store-results-to/tmp/tmp294e1784/avahi-0.9.rc5-9.20261119103231680842.master.42.gbfce13b.tar.xz
diffbase-time-created2026-11-20 17:18:43
diffbase-time-finished2026-11-20 17:22:59
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-db90d9db-a727-4d6f-9955-0217f16b2223' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp294e1784/avahi-0.9.rc5-9.20261119103231680842.master.42.gbfce13b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmp294e1784/avahi-0.9.rc5-9.20261119103231680842.master.42.gbfce13b.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20261112.190040.g4fde093-1.el9
enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-48.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20261119.122405.g0aee554.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameavahi-0.9.rc5-9.20261120170434703164.pr991.43.g8a03a7d
store-results-to/tmp/tmpkquh3qv2/avahi-0.9.rc5-9.20261120170434703164.pr991.43.g8a03a7d.tar.xz
time-created2026-11-20 17:23:31
time-finished2026-11-20 17:27:46
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-decaff86-30f6-4ba0-84ff-012caf1c469f' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpkquh3qv2/avahi-0.9.rc5-9.20261120170434703164.pr991.43.g8a03a7d.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpkquh3qv2/avahi-0.9.rc5-9.20261120170434703164.pr991.43.g8a03a7d.src.rpm'
tool-versioncsmock-3.8.7.20261112.190040.g4fde093-1.el9