gnome-kiosk-46.0-1.fc41

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-dbus-utils.c: scope_hint: In function ‘dashed_string_to_studly_caps’
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-dbus-utils.c:51:32: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-dbus-utils.h:4: included_from: Included from here.
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-dbus-utils.c:2: included_from: Included from here.
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-dbus-utils.c:50:25: note: in expansion of macro ‘g_strdup’
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-dbus-utils.c: scope_hint: In function ‘dashed_string_to_studly_caps’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#   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: CPPCHECK_WARNING: [#def2]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-gobject-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-input-source-group.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-input-sources-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def5]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-input-sources-manager.c:1021:17: warning[deadcode.DeadStores]: Value stored to 'old_selected_layout' is never read
# 1019|   
# 1020|           if (old_input_source_group != NULL) {
# 1021|->                 old_selected_layout = kiosk_input_source_group_get_selected_layout (old_input_source_group);
# 1022|                   old_input_engine = g_strdup (kiosk_input_source_group_get_input_engine (old_input_source_group));
# 1023|           }

Error: CLANG_WARNING: [#def6]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-input-sources-manager.c:1022:17: warning[deadcode.DeadStores]: Value stored to 'old_input_engine' is never read
# 1020|           if (old_input_source_group != NULL) {
# 1021|                   old_selected_layout = kiosk_input_source_group_get_selected_layout (old_input_source_group);
# 1022|->                 old_input_engine = g_strdup (kiosk_input_source_group_get_input_engine (old_input_source_group));
# 1023|           }
# 1024|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def7]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c: scope_hint: In function ‘kiosk_x_keyboard_manager_read_xkb_rules_names_data’
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c:307:39: warning[-Wanalyzer-null-argument]: use of NULL ‘layouts_string’ where non-null expected
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.h:3: included_from: Included from here.
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c:2: included_from: Included from here.
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c:399:9: note: in expansion of macro ‘g_debug’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c:306:42: note: in expansion of macro ‘g_strdup’
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c: scope_hint: In function ‘kiosk_x_keyboard_manager_read_xkb_rules_names_data’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  305|           for (i = 0; i < number_of_bytes_read; i++) {
#  306|                   g_autofree char *value = g_strdup ((char *) property_values + i);
#  307|->                 size_t value_length = strlen (value);
#  308|   
#  309|                   switch (property_value_index) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def8]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c:307:39: warning[-Wanalyzer-null-argument]: use of NULL ‘variants_string’ where non-null expected
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c:399:9: note: in expansion of macro ‘g_debug’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c:306:42: note: in expansion of macro ‘g_strdup’
gnome-kiosk-46.0-build/gnome-kiosk-46.0/compositor/kiosk-x-keyboard-manager.c: scope_hint: In function ‘kiosk_x_keyboard_manager_read_xkb_rules_names_data’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  305|           for (i = 0; i < number_of_bytes_read; i++) {
#  306|                   g_autofree char *value = g_strdup ((char *) property_values + i);
#  307|->                 size_t value_length = strlen (value);
#  308|   
#  309|                   switch (property_value_index) {

Error: CPPCHECK_WARNING: [#def9]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/redhat-linux-build/input-selector/org.gnome.Kiosk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def10]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/redhat-linux-build/org.freedesktop.locale1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/redhat-linux-build/org.gnome.DisplayManager.Manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def12]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/redhat-linux-build/org.gnome.Kiosk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def13]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/redhat-linux-build/org.gnome.SessionManager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def14]
gnome-kiosk-46.0-build/gnome-kiosk-46.0/redhat-linux-build/org.gnome.Shell.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-91.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegnome-kiosk-46.0-1.fc41
store-results-to/tmp/tmp59gemlbg/gnome-kiosk-46.0-1.fc41.tar.xz
time-created2024-07-03 12:51:33
time-finished2024-07-03 12:52:58
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp59gemlbg/gnome-kiosk-46.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp59gemlbg/gnome-kiosk-46.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9