Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-563): [#def1]
avahi-0.9.rc3/avahi-daemon/dbus-util.c:319: style[unreadVariable]: Variable 'txt' is assigned a value that is never used.
#  317|   
#  318|       }
#  319|->     txt = avahi_string_list_reverse(txt);
#  320|       dbus_message_iter_close_container(&iter, &sub);
#  321|   }

Error: CPPCHECK_WARNING (CWE-398): [#def2]
avahi-0.9.rc3/avahi-daemon/dbus-util.c:319: warning[uselessAssignmentPtrArg]: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
#  317|   
#  318|       }
#  319|->     txt = avahi_string_list_reverse(txt);
#  320|       dbus_message_iter_close_container(&iter, &sub);
#  321|   }

Error: CLANG_WARNING: [#def3]
avahi-0.9.rc3/avahi-daemon/dbus-util.c:319:5: warning[deadcode.DeadStores]: Value stored to 'txt' is never read
#  317|   
#  318|       }
#  319|->     txt = avahi_string_list_reverse(txt);
#  320|       dbus_message_iter_close_container(&iter, &sub);
#  321|   }

Scan Properties

analyzer-version-clang21.1.8
analyzer-version-clippy1.93.1
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.1
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-18.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.rc3-8.20260213210727957208.master.17.gf62e34b
diffbase-store-results-to/tmp/tmp_y565h8k/avahi-0.9.rc3-8.20260213210727957208.master.17.gf62e34b.tar.xz
diffbase-time-created2026-02-13 23:43:59
diffbase-time-finished2026-02-13 23:48:48
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmp_y565h8k/avahi-0.9.rc3-8.20260213210727957208.master.17.gf62e34b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmp_y565h8k/avahi-0.9.rc3-8.20260213210727957208.master.17.gf62e34b.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20260128.181932.g41af877-1.el9
enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-18.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.rc3-8.20260213233043217089.pr3.19.gdc066ff
store-results-to/tmp/tmp_xhlf9_0/avahi-0.9.rc3-8.20260213233043217089.pr3.19.gdc066ff.tar.xz
time-created2026-02-13 23:49:08
time-finished2026-02-13 23:52:46
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmp_xhlf9_0/avahi-0.9.rc3-8.20260213233043217089.pr3.19.gdc066ff.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmp_xhlf9_0/avahi-0.9.rc3-8.20260213233043217089.pr3.19.gdc066ff.src.rpm'
tool-versioncsmock-3.8.3.20260128.181932.g41af877-1.el9