Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-398): [#def1]
avahi-0.9.rc1-build/avahi-0.9.rc1/examples/client-publish-service.c:135: style[clarifyCondition]: Suspicious condition (assignment + comparison); Clarify expression with parentheses.
#  133|   
#  134|           /* Add an additional (hypothetic) subtype */
#  135|->         if ((ret = avahi_entry_group_add_service_subtype(group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, name, "_printer._tcp", NULL, "_magic._sub._printer._tcp") < 0)) {
#  136|               fprintf(stderr, "Failed to add subtype _magic._sub._printer._tcp: %s\n", avahi_strerror(ret));
#  137|               goto fail;

Scan Properties

analyzer-version-clippy1.81.0
analyzer-version-cppcheck2.15.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer14.2.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.81.0
diffbase-analyzer-version-cppcheck2.15.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer14.2.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-33.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.9.rc1-30.20240907232031241526.master.59.g6e9a77e
diffbase-store-results-to/tmp/tmpehjkifw0/avahi-0.9.rc1-30.20240907232031241526.master.59.g6e9a77e.tar.xz
diffbase-time-created2024-09-09 16:06:27
diffbase-time-finished2024-09-09 16:09:48
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,gcc,cppcheck,clippy,shellcheck' '-o' '/tmp/tmpehjkifw0/avahi-0.9.rc1-30.20240907232031241526.master.59.g6e9a77e.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--cppcheck-add-flag=--enable=style' '/tmp/tmpehjkifw0/avahi-0.9.rc1-30.20240907232031241526.master.59.g6e9a77e.src.rpm'
diffbase-tool-versioncsmock-3.6.1-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-33.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-nameavahi-0.9.rc1-30.20240909155049982282.pr641.61.g912a983
store-results-to/tmp/tmp3q0k4po9/avahi-0.9.rc1-30.20240909155049982282.pr641.61.g912a983.tar.xz
time-created2024-09-09 16:10:12
time-finished2024-09-09 16:13:07
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,gcc,cppcheck,clippy,shellcheck' '-o' '/tmp/tmp3q0k4po9/avahi-0.9.rc1-30.20240909155049982282.pr641.61.g912a983.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--cppcheck-add-flag=--enable=style' '/tmp/tmp3q0k4po9/avahi-0.9.rc1-30.20240909155049982282.pr641.61.g912a983.src.rpm'
tool-versioncsmock-3.6.1-1.el9