Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-398): [#def1]
avahi-0.9.rc2/avahi-core/iface-linux.c:187: style[variableScope]: The scope of the variable 'deprecated' can be reduced.
#  185|           int raddr_valid = 0, rlocal_valid = 0;
#  186|           uint32_t flags = ifaddrmsg->ifa_flags;  /* may be overridden by IFA_FLAGS */
#  187|->         int addr_changed = 0, global_scope, deprecated;
#  188|   
#  189|           /* We are only interested in IPv4 and IPv6 */

Error: CPPCHECK_WARNING (CWE-398): [#def2]
avahi-0.9.rc2/avahi-core/iface-linux.c:187: style[variableScope]: The scope of the variable 'global_scope' can be reduced.
#  185|           int raddr_valid = 0, rlocal_valid = 0;
#  186|           uint32_t flags = ifaddrmsg->ifa_flags;  /* may be overridden by IFA_FLAGS */
#  187|->         int addr_changed = 0, global_scope, deprecated;
#  188|   
#  189|           /* We are only interested in IPv4 and IPv6 */

Scan Properties

analyzer-version-clang21.1.8
analyzer-version-clippy1.93.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.93.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-17.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.20260125041825646767.master.132.g1b0dd2a
diffbase-store-results-to/tmp/tmpflxfdgmc/avahi-0.9.rc2-8.20260125041825646767.master.132.g1b0dd2a.tar.xz
diffbase-time-created2026-01-26 07:58:01
diffbase-time-finished2026-01-26 08:02:38
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpflxfdgmc/avahi-0.9.rc2-8.20260125041825646767.master.132.g1b0dd2a.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpflxfdgmc/avahi-0.9.rc2-8.20260125041825646767.master.132.g1b0dd2a.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-17.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.20260126074616987896.pr844.133.g6e92f14
store-results-to/tmp/tmpz22b7pjg/avahi-0.9.rc2-8.20260126074616987896.pr844.133.g6e92f14.tar.xz
time-created2026-01-26 08:03:10
time-finished2026-01-26 08:07:23
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpz22b7pjg/avahi-0.9.rc2-8.20260126074616987896.pr844.133.g6e92f14.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpz22b7pjg/avahi-0.9.rc2-8.20260126074616987896.pr844.133.g6e92f14.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9