Fixed findings

List of Findings

Error: CPPCHECK_WARNING (CWE-398): [#def1]
avahi-0.8/avahi-core/netlink.c:50: style[constVariablePointer]: Variable 'cred' can be declared as pointer to const
#   48|       struct msghdr smsg;
#   49|       struct cmsghdr *cmsg;
#   50|->     struct ucred *cred;
#   51|       struct iovec iov;
#   52|       struct nlmsghdr *p;

Scan Properties

analyzer-version-clippy1.91.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.91.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer15.2.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-116.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.8-6.20251104223747006032.pr3.309.g0c04ccd
diffbase-store-results-to/tmp/tmp1mo49787/avahi-0.8-6.20251104223747006032.pr3.309.g0c04ccd.tar.xz
diffbase-time-created2025-11-04 22:52:23
diffbase-time-finished2025-11-04 22:55:40
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp1mo49787/avahi-0.8-6.20251104223747006032.pr3.309.g0c04ccd.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '/tmp/tmp1mo49787/avahi-0.8-6.20251104223747006032.pr3.309.g0c04ccd.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-116.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameavahi-0.8-6.20251104002700806519.master.304.g9fde934
store-results-to/tmp/tmp2yu4vclw/avahi-0.8-6.20251104002700806519.master.304.g9fde934.tar.xz
time-created2025-11-04 22:48:16
time-finished2025-11-04 22:52:02
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp2yu4vclw/avahi-0.8-6.20251104002700806519.master.304.g9fde934.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '/tmp/tmp2yu4vclw/avahi-0.8-6.20251104002700806519.master.304.g9fde934.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9