Newly introduced findings

List of Findings

Error: COMPILER_WARNING: [#def1]
avahi-0.9.rc2/avahi-compat-howl/browse-domain-test.c:43:5: warning[-Wswitch-enum]: enumeration value ‘SW_DISCOVERY_BROWSE_ADD_DEFAULT_DOMAIN’ not handled in switch
#   41|       AVAHI_GCC_UNUSED sw_opaque extra) {
#   42|   
#   43|->     switch (status) {
#   44|           case SW_DISCOVERY_BROWSE_ADD_DOMAIN:
#   45|               fprintf(stderr, "new domain %s\n", domain);

Error: COMPILER_WARNING: [#def2]
avahi-0.9.rc2/avahi-compat-howl/browse-domain-test.c:43:5: warning[-Wswitch-enum]: enumeration value ‘SW_DISCOVERY_BROWSE_ADD_SERVICE’ not handled in switch
#   41|       AVAHI_GCC_UNUSED sw_opaque extra) {
#   42|   
#   43|->     switch (status) {
#   44|           case SW_DISCOVERY_BROWSE_ADD_DOMAIN:
#   45|               fprintf(stderr, "new domain %s\n", domain);

Error: COMPILER_WARNING: [#def3]
avahi-0.9.rc2/avahi-compat-howl/browse-domain-test.c: scope_hint: In function ‘reply’
avahi-0.9.rc2/avahi-compat-howl/browse-domain-test.c:43:5: warning[-Wswitch-enum]: enumeration value ‘SW_DISCOVERY_BROWSE_RELEASE’ not handled in switch
#   43 |     switch (status) {
#      |     ^~~~~~
#   41|       AVAHI_GCC_UNUSED sw_opaque extra) {
#   42|   
#   43|->     switch (status) {
#   44|           case SW_DISCOVERY_BROWSE_ADD_DOMAIN:
#   45|               fprintf(stderr, "new domain %s\n", domain);

Error: COMPILER_WARNING: [#def4]
avahi-0.9.rc2/avahi-compat-howl/browse-domain-test.c:43:5: warning[-Wswitch-enum]: enumeration value ‘SW_DISCOVERY_BROWSE_REMOVE_SERVICE’ not handled in switch
#   41|       AVAHI_GCC_UNUSED sw_opaque extra) {
#   42|   
#   43|->     switch (status) {
#   44|           case SW_DISCOVERY_BROWSE_ADD_DOMAIN:
#   45|               fprintf(stderr, "new domain %s\n", domain);

Error: COMPILER_WARNING: [#def5]
avahi-0.9.rc2/avahi-compat-howl/browse-domain-test.c:43:5: warning[-Wswitch-enum]: enumeration value ‘SW_DISCOVERY_BROWSE_RESOLVED’ not handled in switch
#   41|       AVAHI_GCC_UNUSED sw_opaque extra) {
#   42|   
#   43|->     switch (status) {
#   44|           case SW_DISCOVERY_BROWSE_ADD_DOMAIN:
#   45|               fprintf(stderr, "new domain %s\n", domain);

Error: COMPILER_WARNING (CWE-1023): [#def6]
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): [#def7]
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): [#def8]
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): [#def9]
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): [#def10]
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): [#def11]
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-235.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/tmpjkmvjfq_/avahi-0.9.rc2-6.20260113200145269151.master.128.g63859cf.tar.xz
diffbase-time-created2026-01-19 10:08:16
diffbase-time-finished2026-01-19 10:12:48
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpjkmvjfq_/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/tmpjkmvjfq_/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-235.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.20260117001756727603.pr836.132.g612cbfe
store-results-to/tmp/tmppkhwmd1m/avahi-0.9.rc2-8.20260117001756727603.pr836.132.g612cbfe.tar.xz
time-created2026-01-19 10:13:03
time-finished2026-01-19 10:17:00
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmppkhwmd1m/avahi-0.9.rc2-8.20260117001756727603.pr836.132.g612cbfe.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '/tmp/tmppkhwmd1m/avahi-0.9.rc2-8.20260117001756727603.pr836.132.g612cbfe.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9