Fixed findings

List of Findings

Error: CPPCHECK_WARNING (CWE-563): [#def1]
avahi-0.9.rc5/avahi-daemon/dbus-util.c:351: style[unreadVariable]: Variable 'size' is assigned a value that is never used.
#  349|   
#  350|       *rdata = NULL;
#  351|->     size = 0;
#  352|       return -1;
#  353|   }

Error: CPPCHECK_WARNING (CWE-398): [#def2]
avahi-0.9.rc5/avahi-daemon/dbus-util.c:351: warning[uselessAssignmentPtrArg]: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
#  349|   
#  350|       *rdata = NULL;
#  351|->     size = 0;
#  352|       return -1;
#  353|   }

Scan Properties

analyzer-version-clang23.1.3
analyzer-version-clippy1.99.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.3
diffbase-analyzer-version-clippy1.99.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-147.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.20261018003748194052.pr997.29.g253648c
diffbase-store-results-to/tmp/tmpcdhin1z6/avahi-0.9.rc5-9.20261018003748194052.pr997.29.g253648c.tar.xz
diffbase-time-created2026-10-18 01:15:25
diffbase-time-finished2026-10-18 01:20:17
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-48344420-daff-4659-9f8f-6a9f2251be54' '-t' 'unicontrol,cppcheck,shellcheck,clippy,gcc' '-o' '/tmp/tmpcdhin1z6/avahi-0.9.rc5-9.20261018003748194052.pr997.29.g253648c.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpcdhin1z6/avahi-0.9.rc5-9.20261018003748194052.pr997.29.g253648c.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20261013.161139.ga367568-1.el9
enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-147.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.20261012114237013124.master.28.g0dd09ae
store-results-to/tmp/tmpl0e389h1/avahi-0.9.rc5-9.20261012114237013124.master.28.g0dd09ae.tar.xz
time-created2026-10-18 01:09:29
time-finished2026-10-18 01:14:46
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-a845a637-ad4b-422d-8c14-b2350798e231' '-t' 'unicontrol,cppcheck,shellcheck,clippy,gcc' '-o' '/tmp/tmpl0e389h1/avahi-0.9.rc5-9.20261012114237013124.master.28.g0dd09ae.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpl0e389h1/avahi-0.9.rc5-9.20261012114237013124.master.28.g0dd09ae.src.rpm'
tool-versioncsmock-3.8.7.20261013.161139.ga367568-1.el9