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-91.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.20251106215627596331.pr3.312.g799f5c0
diffbase-store-results-to/tmp/tmphsxnqahg/avahi-0.8-6.20251106215627596331.pr3.312.g799f5c0.tar.xz
diffbase-time-created2025-11-06 22:12:23
diffbase-time-finished2025-11-06 22:15:27
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmphsxnqahg/avahi-0.8-6.20251106215627596331.pr3.312.g799f5c0.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '/tmp/tmphsxnqahg/avahi-0.8-6.20251106215627596331.pr3.312.g799f5c0.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-91.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.20251106141808785688.master.307.ge5d15ee
store-results-to/tmp/tmpzlg78z_4/avahi-0.8-6.20251106141808785688.master.307.ge5d15ee.tar.xz
time-created2025-11-06 22:08:17
time-finished2025-11-06 22:12:09
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpzlg78z_4/avahi-0.8-6.20251106141808785688.master.307.ge5d15ee.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '/tmp/tmpzlg78z_4/avahi-0.8-6.20251106141808785688.master.307.ge5d15ee.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9