Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-475): [#def1]
avahi-0.9.rc3/avahi-client/client-test.c:227: portability[varFuncNullUB]: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour.
#  225|       assert(r == expected);
#  226|   
#  227|->     l = avahi_string_list_new("k1=v1", NULL);
#  228|       assert(l);
#  229|       r = avahi_entry_group_add_service_strlst(g, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, flags, "test", "_http._tcp", NULL, NULL, 80, l);

Error: CPPCHECK_WARNING (CWE-475): [#def2]
avahi-0.9.rc3/avahi-client/client-test.c:236: portability[varFuncNullUB]: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour.
#  234|       assert(r == expected);
#  235|   
#  236|->     l = avahi_string_list_new("k1=v1", NULL);
#  237|       assert(l);
#  238|       r = avahi_entry_group_update_service_txt_strlst(g, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, flags, "test", "_http._tcp", NULL, l);

Scan Properties

analyzer-version-clang22.1.1
analyzer-version-clippy1.94.1
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clang22.1.1
diffbase-analyzer-version-clippy1.94.1
diffbase-analyzer-version-cppcheck2.20.0
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-124.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.20260320.200800.gd35503f.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.9.rc3-8.20260327102728982029.master.33.g5ba22ca
diffbase-store-results-to/tmp/tmpnfvj3d00/avahi-0.9.rc3-8.20260327102728982029.master.33.g5ba22ca.tar.xz
diffbase-time-created2026-04-01 07:18:45
diffbase-time-finished2026-04-01 07:23:03
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpnfvj3d00/avahi-0.9.rc3-8.20260327102728982029.master.33.g5ba22ca.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpnfvj3d00/avahi-0.9.rc3-8.20260327102728982029.master.33.g5ba22ca.src.rpm'
diffbase-tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9
enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-124.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260320.200800.gd35503f.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameavahi-0.9.rc3-8.20260401070404258272.pr3.36.g9d9f0fe
store-results-to/tmp/tmpumr_d4vu/avahi-0.9.rc3-8.20260401070404258272.pr3.36.g9d9f0fe.tar.xz
time-created2026-04-01 07:23:14
time-finished2026-04-01 07:26:29
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpumr_d4vu/avahi-0.9.rc3-8.20260401070404258272.pr3.36.g9d9f0fe.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpumr_d4vu/avahi-0.9.rc3-8.20260401070404258272.pr3.36.g9d9f0fe.src.rpm'
tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9