Newly introduced findings

List of Findings

Error: COMPILER_WARNING (CWE-1023): [#def1]
avahi-0.9.rc2/avahi-compat-howl/compat.c: scope_hint: In function 'reg_client_callback'
avahi-0.9.rc2/avahi-compat-howl/compat.c:694:5: warning[-Wswitch]: enumeration value 'AVAHI_CLIENT_S_INVALID' not handled in switch
#  694 |     switch (state) {
#      |     ^~~~~~
#  692|           return;
#  693|   
#  694|->     switch (state) {
#  695|           case AVAHI_CLIENT_FAILURE:
#  696|               reg_report_status(data, SW_DISCOVERY_PUBLISH_INVALID);

Error: COMPILER_WARNING (CWE-1023): [#def2]
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c: scope_hint: In function 'generic_client_callback'
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c:577:5: warning[-Wswitch]: enumeration value 'AVAHI_CLIENT_S_INVALID' not handled in switch
#  577 |     switch (state) {
#      |     ^~~~~~
#  575|       assert(sdref->n_ref >= 1);
#  576|   
#  577|->     switch (state) {
#  578|   
#  579|           case AVAHI_CLIENT_FAILURE:

Error: COMPILER_WARNING (CWE-1023): [#def3]
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c: scope_hint: In function ‘generic_client_callback’
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c:577:5: warning[-Wswitch]: enumeration value ‘AVAHI_CLIENT_S_INVALID’ not handled in switch
#  577 |     switch (state) {
#      |     ^~~~~~
#  575|       assert(sdref->n_ref >= 1);
#  576|   
#  577|->     switch (state) {
#  578|   
#  579|           case AVAHI_CLIENT_FAILURE:

Error: COMPILER_WARNING (CWE-1023): [#def4]
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c: scope_hint: In function 'reg_client_callback'
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c:970:5: warning[-Wswitch]: enumeration value 'AVAHI_CLIENT_S_INVALID' not handled in switch
#  970 |     switch (state) {
#      |     ^~~~~~
#  968|           return;
#  969|   
#  970|->     switch (state) {
#  971|           case AVAHI_CLIENT_FAILURE:
#  972|               reg_report_error(sdref, kDNSServiceErr_Unknown);

Error: COMPILER_WARNING (CWE-1023): [#def5]
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c: scope_hint: In function ‘reg_client_callback’
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c:970:5: warning[-Wswitch]: enumeration value ‘AVAHI_CLIENT_S_INVALID’ not handled in switch
#  970 |     switch (state) {
#      |     ^~~~~~
#  968|           return;
#  969|   
#  970|->     switch (state) {
#  971|           case AVAHI_CLIENT_FAILURE:
#  972|               reg_report_error(sdref, kDNSServiceErr_Unknown);

Error: COMPILER_WARNING (CWE-1023): [#def6]
avahi-0.9.rc2/examples/client-publish-service.c: scope_hint: In function ‘client_callback’
avahi-0.9.rc2/examples/client-publish-service.c:173:5: warning[-Wswitch]: enumeration value ‘AVAHI_CLIENT_S_INVALID’ not handled in switch
#  173 |     switch (state) {
#      |     ^~~~~~
#  171|       /* Called whenever the client or server state changes */
#  172|   
#  173|->     switch (state) {
#  174|           case AVAHI_CLIENT_S_RUNNING:
#  175|   

Scan Properties

analyzer-version-clippy1.92.0
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-clippy1.92.0
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-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-38.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.rc2-6.20260113200145269151.master.128.g63859cf
diffbase-store-results-to/tmp/tmp9nqrj8to/avahi-0.9.rc2-6.20260113200145269151.master.128.g63859cf.tar.xz
diffbase-time-created2026-01-19 09:58:25
diffbase-time-finished2026-01-19 10:02:59
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp9nqrj8to/avahi-0.9.rc2-6.20260113200145269151.master.128.g63859cf.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '/tmp/tmp9nqrj8to/avahi-0.9.rc2-6.20260113200145269151.master.128.g63859cf.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-38.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.rc2-8.20260116181035310560.pr836.132.gde2f203
store-results-to/tmp/tmpcfgg4073/avahi-0.9.rc2-8.20260116181035310560.pr836.132.gde2f203.tar.xz
time-created2026-01-19 10:03:13
time-finished2026-01-19 10:07:06
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpcfgg4073/avahi-0.9.rc2-8.20260116181035310560.pr836.132.gde2f203.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '/tmp/tmpcfgg4073/avahi-0.9.rc2-8.20260116181035310560.pr836.132.gde2f203.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9