Error: GCC_ANALYZER_WARNING (CWE-688): [#def1] gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:51:32: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:72:1: enter_function: entry to ‘dashed_string_to_dbus_error_string’ gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:90:25: call_function: calling ‘dashed_string_to_studly_caps’ from ‘dashed_string_to_dbus_error_string’ # 49| # 50| studly_string = g_strdup (dashed_string); # 51|-> studly_string_length = strlen (studly_string); # 52| # 53| studly_string[i] = g_ascii_toupper (studly_string[i]); Error: GCC_ANALYZER_WARNING (CWE-688): [#def2] gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:51:32: warning[-Wanalyzer-null-argument]: use of NULL ‘dbus_error_string’ where non-null expected gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:119:1: enter_function: entry to ‘kiosk_dbus_utils_register_error_domain’ gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:123:26: release_memory: ‘type_name’ is NULL gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:134:12: branch_false: following ‘false’ branch... gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:134:12: branch_false: ...to here gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:141:21: branch_true: following ‘true’ branch... gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:142:34: branch_true: ...to here gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:142:34: release_memory: ‘dbus_error_string’ is NULL gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:144:37: call_function: calling ‘dashed_string_to_dbus_error_string’ from ‘kiosk_dbus_utils_register_error_domain’ # 49| # 50| studly_string = g_strdup (dashed_string); # 51|-> studly_string_length = strlen (studly_string); # 52| # 53| studly_string[i] = g_ascii_toupper (studly_string[i]); Error: GCC_ANALYZER_WARNING (CWE-688): [#def3] gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:51:32: warning[-Wanalyzer-null-argument]: use of NULL ‘type_name’ where non-null expected gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:119:1: enter_function: entry to ‘kiosk_dbus_utils_register_error_domain’ gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:123:26: release_memory: ‘type_name’ is NULL gnome-kiosk-49.0/compositor/kiosk-dbus-utils.c:130:21: call_function: calling ‘dashed_string_to_studly_caps’ from ‘kiosk_dbus_utils_register_error_domain’ # 49| # 50| studly_string = g_strdup (dashed_string); # 51|-> studly_string_length = strlen (studly_string); # 52| # 53| studly_string[i] = g_ascii_toupper (studly_string[i]); Error: GCC_ANALYZER_WARNING (CWE-126): [#def4] gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:619:21: warning[-Wanalyzer-out-of-bounds]: buffer over-read gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:632:1: enter_function: entry to ‘kiosk_shell_introspect_service_start’ gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:635:9: branch_true: following ‘true’ branch... gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:637:9: branch_true: ...to here gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:647:9: call_function: calling ‘setup_bus_watcher’ from ‘kiosk_shell_introspect_service_start’ # 617| int i; # 618| # 619|-> for (i = 0; allowed_app_list[i].name; i++) { # 620| allowed_app_list[i].watcher_id = # 621| g_bus_watch_name (G_BUS_TYPE_SESSION, Error: GCC_ANALYZER_WARNING (CWE-787): [#def5] gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:620:17: warning[-Wanalyzer-out-of-bounds]: buffer overflow gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:632:1: enter_function: entry to ‘kiosk_shell_introspect_service_start’ gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:635:9: branch_true: following ‘true’ branch... gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:637:9: branch_true: ...to here gnome-kiosk-49.0/compositor/kiosk-shell-introspect-service.c:647:9: call_function: calling ‘setup_bus_watcher’ from ‘kiosk_shell_introspect_service_start’ # 618| # 619| for (i = 0; allowed_app_list[i].name; i++) { # 620|-> allowed_app_list[i].watcher_id = # 621| g_bus_watch_name (G_BUS_TYPE_SESSION, # 622| allowed_app_list[i].name, Error: GCC_ANALYZER_WARNING (CWE-457): [#def6] gnome-kiosk-49.0/redhat-linux-build/org.gnome.DisplayManager.Manager.h:53:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘display_manager’ gnome-kiosk-49.0/compositor/kiosk-compositor.c:110:1: enter_function: entry to ‘register_with_display_manager’ gnome-kiosk-49.0/compositor/kiosk-compositor.c:118:22: throw: if ‘g_bus_get_sync’ throws an exception... gnome-kiosk-49.0/compositor/kiosk-compositor.c:115:28: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘register_with_display_manager’ gnome-kiosk-49.0/compositor/kiosk-compositor.c:113:32: call_function: inlined call to ‘glib_autoptr_cleanup_GdmManager’ from ‘register_with_display_manager’ # 51| # 52| #if GLIB_CHECK_VERSION(2, 44, 0) # 53|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (GdmManager, g_object_unref) # 54| #endif # 55| Error: GCC_ANALYZER_WARNING (CWE-457): [#def7] gnome-kiosk-49.0/redhat-linux-build/org.gnome.SessionManager.h:161:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘session_manager’ gnome-kiosk-49.0/compositor/kiosk-input-engine-manager.c:481:1: enter_function: entry to ‘tell_session_manager_about_ibus’ gnome-kiosk-49.0/compositor/kiosk-input-engine-manager.c:488:9: throw: if ‘g_log’ throws an exception... gnome-kiosk-49.0/compositor/kiosk-input-engine-manager.c:485:28: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘tell_session_manager_about_ibus’ gnome-kiosk-49.0/compositor/kiosk-input-engine-manager.c:484:39: call_function: inlined call to ‘glib_autoptr_cleanup_GsmSessionManager’ from ‘tell_session_manager_about_ibus’ # 159| # 160| #if GLIB_CHECK_VERSION(2, 44, 0) # 161|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (GsmSessionManager, g_object_unref) # 162| #endif # 163|
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-57.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | gnome-kiosk-49.0-1.fc44 |
| store-results-to | /tmp/tmp9qytx7ye/gnome-kiosk-49.0-1.fc44.tar.xz |
| time-created | 2026-01-08 16:23:45 |
| time-finished | 2026-01-08 16:25:41 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp9qytx7ye/gnome-kiosk-49.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp9qytx7ye/gnome-kiosk-49.0-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |