Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-192): [#def1]
avahi-0.9.rc2/avahi-gobject/ga-client.c:226:17: warning[-Wenum-conversion]: implicit conversion from 'AvahiClientState' to 'GaClientState'
#  226 |     priv->state = state;
#      |                 ^
#  224|   
#  225|       g_assert(c == self->avahi_client);
#  226|->     priv->state = state;
#  227|       g_signal_emit(self, signals[STATE_CHANGED],
#  228|                     detail_for_state(state), state);

Error: COMPILER_WARNING (CWE-192): [#def2]
avahi-0.9.rc2/avahi-gobject/ga-client.c:248:36: warning[-Wenum-conversion]: implicit conversion from 'GaClientFlags' to 'AvahiClientFlags'
#  248 |                                priv->flags,
#      |                                ~~~~^~~~~~~
#  246|   
#  247|       aclient = avahi_client_new(avahi_glib_poll_get(priv->poll),
#  248|->                                priv->flags,
#  249|                                  _avahi_client_cb, client, &aerror);
#  250|       if (aclient == NULL) {

Error: COMPILER_WARNING (CWE-192): [#def3]
avahi-0.9.rc2/avahi-gobject/ga-entry-group.c:222:17: warning[-Wenum-conversion]: implicit conversion from 'AvahiEntryGroupState' to 'GaEntryGroupState'
#  222 |     priv->state = state;
#      |                 ^
#  220|   
#  221|       g_assert(g == priv->group);
#  222|->     priv->state = state;
#  223|       g_signal_emit(self, signals[STATE_CHANGED],
#  224|                     detail_for_state(state), state);

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer15.2.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-23.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.9.rc2-6.20260101125753197939.pr824.122.gcb27dbf
diffbase-store-results-to/tmp/tmph5izyfxm/avahi-0.9.rc2-6.20260101125753197939.pr824.122.gcb27dbf.tar.xz
diffbase-time-created2026-01-01 13:15:19
diffbase-time-finished2026-01-01 13:18:47
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmph5izyfxm/avahi-0.9.rc2-6.20260101125753197939.pr824.122.gcb27dbf.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '/tmp/tmph5izyfxm/avahi-0.9.rc2-6.20260101125753197939.pr824.122.gcb27dbf.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-23.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameavahi-0.9.rc2-6.20251229090240048565.master.121.g13b0273
store-results-to/tmp/tmp0a1_sqh5/avahi-0.9.rc2-6.20251229090240048565.master.121.g13b0273.tar.xz
time-created2026-01-01 13:08:54
time-finished2026-01-01 13:14:25
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmp0a1_sqh5/avahi-0.9.rc2-6.20251229090240048565.master.121.g13b0273.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '/tmp/tmp0a1_sqh5/avahi-0.9.rc2-6.20251229090240048565.master.121.g13b0273.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9