libadwaita-1.5.1-1.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
libadwaita-1.5.1-build/libadwaita-1.5.1/demo/adw-demo-debug-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def2]
libadwaita-1.5.1-build/libadwaita-1.5.1/doc/tools/screenshot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def3]
libadwaita-1.5.1-build/libadwaita-1.5.1/redhat-linux-build/tmp-introspect4d2xob2y/Adw-1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def4]
libadwaita-1.5.1-build/libadwaita-1.5.1/redhat-linux-build/tmp-introspect4d2xob2y/Adw-1.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Error: CPPCHECK_WARNING: [#def5]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def6]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_new_from_appdata’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:2037:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gi18n-lib.h:23: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:3453:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:3453:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:3453:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:3453:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:2002:3: note: in expansion of macro ‘g_return_val_if_fail’
/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’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 2035| if (!entries || !g_ptr_array_find_with_equal_func (entries, appid_desktop,
# 2036| g_str_equal, NULL))
# 2037|-> application_id[strlen(application_id) - 8] = '\0';
# 2038|
# 2039| g_free (appid_desktop);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_set_application_icon.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:2170:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_icon’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_dialog_set_application_icon.part.0’
# 2168|
# 2169| gtk_widget_set_visible (self->app_icon_image,
# 2170|-> application_icon && *application_icon);
# 2171|
# 2172| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_ICON]);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_set_application_name.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:2215:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_name’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_dialog_set_application_name.part.0’
# 2213|
# 2214| gtk_widget_set_visible (self->app_name_label,
# 2215|-> application_name && *application_name);
# 2216|
# 2217| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_NAME]);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_set_developer_name.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:2265:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘developer_name’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_dialog_set_developer_name.part.0’
# 2263|
# 2264| gtk_widget_set_visible (self->developer_name_label,
# 2265|-> developer_name && *developer_name);
# 2266|
# 2267| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_DEVELOPER_NAME]);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c: scope_hint: In function ‘adw_about_dialog_set_version.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-dialog.c:2312:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘version’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_dialog_set_version.part.0’
# 2310| return;
# 2311|
# 2312|-> gtk_widget_set_visible (self->version_button, version && *version);
# 2313|
# 2314| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_VERSION]);
Error: CPPCHECK_WARNING: [#def11]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def12]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_new_from_appdata’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c:2036:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gi18n-lib.h:23: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c:8: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c:2001:3: note: in expansion of macro ‘g_return_val_if_fail’
/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’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 2034| if (!entries || !g_ptr_array_find_with_equal_func (entries, appid_desktop,
# 2035| g_str_equal, NULL))
# 2036|-> application_id[strlen(application_id) - 8] = '\0';
# 2037|
# 2038| g_free (appid_desktop);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_set_application_icon.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c:2169:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_icon’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_window_set_application_icon.part.0’
# 2167|
# 2168| gtk_widget_set_visible (self->app_icon_image,
# 2169|-> application_icon && *application_icon);
# 2170|
# 2171| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_ICON]);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_set_application_name.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c:2214:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_name’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_window_set_application_name.part.0’
# 2212|
# 2213| gtk_widget_set_visible (self->app_name_label,
# 2214|-> application_name && *application_name);
# 2215|
# 2216| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_NAME]);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_set_developer_name.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c:2264:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘developer_name’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_window_set_developer_name.part.0’
# 2262|
# 2263| gtk_widget_set_visible (self->developer_name_label,
# 2264|-> developer_name && *developer_name);
# 2265|
# 2266| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_DEVELOPER_NAME]);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c: scope_hint: In function ‘adw_about_window_set_version.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-about-window.c:2311:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘version’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_about_window_set_version.part.0’
# 2309| return;
# 2310|
# 2311|-> gtk_widget_set_visible (self->version_button, version && *version);
# 2312|
# 2313| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_VERSION]);
Error: CPPCHECK_WARNING: [#def17]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-action-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def18]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.c: scope_hint: In function ‘adw_alert_dialog_set_heading.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.c:1258:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘heading’
/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.
libadwaita-1.5.1-build/libadwaita-1.5.1/redhat-linux-build/src/adw-version.h:13: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.h:16: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.c:12: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_alert_dialog_set_heading.part.0’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:33: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.h:18: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtklabel.h:36:36: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.c:1257:24: note: in expansion of macro ‘GTK_LABEL’
# 1256|
# 1257| gtk_label_set_label (GTK_LABEL (priv->heading_label), heading);
# 1258|-> gtk_widget_set_visible (priv->heading_label, heading && *heading);
# 1259|
# 1260| if (heading && *heading)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.c: scope_hint: In function ‘adw_alert_dialog_set_body.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.c:1466:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘body’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_alert_dialog_set_body.part.0’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtklabel.h:36:36: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-alert-dialog.c:1465:24: note: in expansion of macro ‘GTK_LABEL’
# 1464|
# 1465| gtk_label_set_label (GTK_LABEL (priv->body_label), body);
# 1466|-> gtk_widget_set_visible (priv->body_label, body && *body);
# 1467|
# 1468| if (body && *body)
Error: CPPCHECK_WARNING: [#def21]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-back-button.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def22]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-back-button.c:283:13: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
# 281| }
# 282|
# 283|-> g_assert (pop_data.outer_view.view);
# 284| g_assert (pop_data.outer_view.page);
# 285|
Error: CPPCHECK_WARNING: [#def23]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-bottom-sheet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def24]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-breakpoint-bin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def25]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-breakpoint.c:651:24: warning[unix.Malloc]: Potential leak of memory pointed to by 'cond_1'
# 649| str++;
# 650| } else {
# 651|-> *endp = (char *) str;
# 652| *error = CONDITION_PARSER_ERROR_UNEXPECTED_CHARACTER;
# 653| return NULL;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-button-content.c: scope_hint: In function ‘adw_button_content_set_icon_name.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-button-content.c:355:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_name’
/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.
libadwaita-1.5.1-build/libadwaita-1.5.1/redhat-linux-build/src/adw-version.h:13: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-button-content.h:15: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-button-content.c:10: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_button_content_set_icon_name.part.0’
# 353| return;
# 354|
# 355|-> if (!icon_name[0])
# 356| icon_name = "image-missing";
# 357|
Error: CPPCHECK_WARNING: [#def27]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel-indicator-dots.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def28]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel-indicator-lines.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def29]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c: scope_hint: In function ‘adw_carousel_reorder’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1286:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/redhat-linux-build/src/adw-version.h:13: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.h:13: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1273:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1274:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:82: note: in expansion of macro ‘GTK_TYPE_WIDGET’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1274:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1274:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1274:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1274:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1274:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1274:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1275:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1275:3: note: in expansion of macro ‘g_return_if_fail’
# 1284| return;
# 1285|
# 1286|-> old_point = info->snap_point;
# 1287| n_pages = adw_carousel_get_n_pages (self);
# 1288|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c: scope_hint: In function ‘adw_carousel_remove’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1366:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1358:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:82: note: in expansion of macro ‘GTK_TYPE_WIDGET’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1359:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1359:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/gtk-4.0/gtk/gtkwidget.h:46:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1359:21: note: in expansion of macro ‘GTK_IS_WIDGET’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1360:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1360:3: note: in expansion of macro ‘g_return_if_fail’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c: scope_hint: In function ‘adw_carousel_remove’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:255:49: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1364:3: note: in expansion of macro ‘g_assert_nonnull’
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1364:3: note: in expansion of macro ‘g_assert_nonnull’
# 1364| g_assert_nonnull (info);
# 1365|
# 1366|-> info->removing = TRUE;
# 1367|
# 1368| gtk_widget_unparent (child);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c: scope_hint: In function ‘adw_carousel_get_nth_page.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-carousel.c:1462:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1460| g_return_val_if_fail (n < adw_carousel_get_n_pages (self), NULL);
# 1461|
# 1462|-> info = get_nth_link (self, n)->data;
# 1463|
# 1464| return info->widget;
Error: CPPCHECK_WARNING: [#def33]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-clamp-layout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def34]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-clamp-scrollable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def35]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-combo-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def36]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def37]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-flap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def38]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-floating-sheet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def39]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-leaflet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def40]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.c: scope_hint: In function ‘adw_message_dialog_set_heading.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.c:1393:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘heading’
/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.
libadwaita-1.5.1-build/libadwaita-1.5.1/redhat-linux-build/src/adw-version.h:13: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.h:15: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.c:10: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_message_dialog_set_heading.part.0’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:33: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.h:17: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtklabel.h:36:36: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.c:1392:24: note: in expansion of macro ‘GTK_LABEL’
# 1391|
# 1392| gtk_label_set_label (GTK_LABEL (priv->heading_label), heading);
# 1393|-> gtk_widget_set_visible (priv->heading_label, heading && *heading);
# 1394|
# 1395| if (heading && *heading)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.c: scope_hint: In function ‘adw_message_dialog_set_body.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.c:1601:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘body’
/usr/include/glib-2.0/glib/gstrfuncs.h:501:10: note: in expansion of macro ‘g_strdup’
/usr/include/glib-2.0/glib/gstrfuncs.h: scope_hint: In function ‘adw_message_dialog_set_body.part.0’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtklabel.h:36:36: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-message-dialog.c:1600:24: note: in expansion of macro ‘GTK_LABEL’
# 1599|
# 1600| gtk_label_set_label (GTK_LABEL (priv->body_label), body);
# 1601|-> gtk_widget_set_visible (priv->body_label, body && *body);
# 1602|
# 1603| if (body && *body)
Error: CPPCHECK_WARNING: [#def43]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-navigation-split-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def44]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-navigation-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def45]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-overlay-split-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def46]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-dialog.c: scope_hint: In function ‘filter_search_results’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-dialog.c:177:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gi18n-lib.h:23: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-dialog.c:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-dialog.c:172:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:33: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-dialog.h:16: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-dialog.c:11: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtkeditable.h:38:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-dialog.c:174:51: note: in expansion of macro ‘GTK_EDITABLE’
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
# 175| title = make_comparable (adw_preferences_row_get_title (row), row, TRUE);
# 176|
# 177|-> if (!!strstr (title, terms)) {
# 178| result = TRUE;
# 179| } else if (ADW_IS_ACTION_ROW (row)) {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def47]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-window.c: scope_hint: In function ‘filter_search_results’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-window.c:180:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gi18n-lib.h:23: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-window.c:8: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-window.c:175:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11: included_from: Included from here.
/usr/include/gtk-4.0/gtk/css/gtkcss.h:33: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-window.h:15: included_from: Included from here.
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-window.c:10: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
/usr/include/gtk-4.0/gtk/gtkeditable.h:38:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-preferences-window.c:177:51: note: in expansion of macro ‘GTK_EDITABLE’
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
# 178| title = make_comparable (adw_preferences_row_get_title (row), row, TRUE);
# 179|
# 180|-> if (!!strstr (title, terms)) {
# 181| result = TRUE;
# 182| } else if (ADW_IS_ACTION_ROW (row)) {
Error: CPPCHECK_WARNING: [#def48]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-settings-impl-portal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def49]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def50]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-spring-animation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def51]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-squeezer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def52]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-status-page.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def53]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-swipe-tracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def54]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-bar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def55]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-box.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-box.c: scope_hint: In function ‘reset_reorder_animations.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-box.c:1238:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
# 1236| if (self->reorder_index > original_index)
# 1237| for (i = 0; i < self->reorder_index - original_index; i++) {
# 1238|-> l = l->next;
# 1239| animate_reorder_offset (self, l->data, 0);
# 1240| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-box.c:1244:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
# 1242| if (self->reorder_index < original_index)
# 1243| for (i = 0; i < original_index - self->reorder_index; i++) {
# 1244|-> l = l->prev;
# 1245| animate_reorder_offset (self, l->data, 0);
# 1246| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-box.c: scope_hint: In function ‘page_reordered_cb.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-box.c:1272:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1270|
# 1271| link = find_link_for_page (self, page);
# 1272|-> info = link->data;
# 1273| original_index = g_list_position (self->tabs, link);
# 1274|
Error: CLANG_WARNING: [#def59]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-box.c:3267:30: warning[core.NullDereference]: Access to field 'width' results in a dereference of a null pointer (loaded from variable 'info')
# 3265| child_allocation.x = ((info == self->reordered_tab) ? self->reorder_window_x : info->pos) - (int) floor (value);
# 3266| child_allocation.y = 0;
# 3267|-> child_allocation.width = MAX (0, info->width);
# 3268| child_allocation.height = height;
# 3269|
Error: CPPCHECK_WARNING: [#def60]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-button.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def61]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c: scope_hint: In function ‘reset_reorder_animations.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c:1264:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
# 1262| if (self->reorder_index > original_index)
# 1263| for (i = 0; i < self->reorder_index - original_index; i++) {
# 1264|-> l = l->next;
# 1265| animate_reorder_offset (self, l->data, 0);
# 1266| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c:1270:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
# 1268| if (self->reorder_index < original_index)
# 1269| for (i = 0; i < original_index - self->reorder_index; i++) {
# 1270|-> l = l->prev;
# 1271| animate_reorder_offset (self, l->data, 0);
# 1272| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c: scope_hint: In function ‘page_reordered_cb.part.0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c:1296:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1294|
# 1295| link = find_link_for_page (self, page);
# 1296|-> info = link->data;
# 1297| original_index = g_list_position (self->tabs, link);
# 1298|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c: scope_hint: In function ‘adw_tab_grid_focus’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c:3104:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c: scope_hint: In function ‘adw_tab_grid_focus’
# 3102| } else if (direction == GTK_DIR_DOWN) {
# 3103| GList *last_link = find_nth_visible_tab (self, get_n_visible_tabs (self) - 1);
# 3104|-> TabInfo *last_info = last_link->data;
# 3105| int last_col = (int) round (fmod (last_info->final_index, n_columns));
# 3106| int empty_slots = n_columns - last_col;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c: scope_hint: In function ‘adw_tab_grid_focus_first_row’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c:3819:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 3817| column = CLAMP (column, 0, MIN (n_tabs, self->n_columns) - 1);
# 3818|
# 3819|-> info = find_nth_visible_tab (self, column)->data;
# 3820|
# 3821| scroll_to_tab (self, info, FOCUS_ANIMATION_DURATION);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c: scope_hint: In function ‘adw_tab_grid_focus_last_row’
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-grid.c:3846:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 3844| column = CLAMP (column, 0, MIN (n_tabs - 1, last_col));
# 3845|
# 3846|-> info = find_nth_visible_tab (self, n_tabs - 1 - last_col + column)->data;
# 3847|
# 3848| scroll_to_tab (self, info, FOCUS_ANIMATION_DURATION);
Error: CPPCHECK_WARNING: [#def68]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-overview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def69]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-thumbnail.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def70]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def71]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-tab.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def72]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-toast-overlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def73]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-toast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def74]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-toolbar-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def75]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-view-stack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def76]
libadwaita-1.5.1-build/libadwaita-1.5.1/src/adw-widget-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def77]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/manual/test-toolbars.c:188:5: warning[deadcode.DeadStores]: Value stored to 'page' is never read
# 186| stack = adw_view_stack_new ();
# 187|
# 188|-> page = adw_view_stack_add_titled_with_icon (ADW_VIEW_STACK (stack),
# 189| gtk_label_new ("Page 1"),
# 190| NULL,
Error: CLANG_WARNING: [#def78]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/manual/test-toolbars.c:200:5: warning[deadcode.DeadStores]: Value stored to 'page' is never read
# 198| adw_view_stack_page_set_needs_attention (page, TRUE);
# 199| adw_view_stack_page_set_badge_number (page, 3);
# 200|-> page = adw_view_stack_add_titled_with_icon (ADW_VIEW_STACK (stack),
# 201| gtk_label_new ("Page 3"),
# 202| NULL,
Error: CPPCHECK_WARNING: [#def79]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-about-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def80]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-about-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def81]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-alert-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def82]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-animation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def83]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-bin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def84]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-breakpoint-bin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def85]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-button-content.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def86]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-carousel-indicator-dots.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def87]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-carousel-indicator-lines.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def88]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-carousel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def89]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-combo-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def90]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def91]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-entry-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def92]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-expander-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def93]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-flap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def94]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-leaflet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def95]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-message-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def96]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-navigation-split-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def97]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-navigation-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def98]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-overlay-split-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def99]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-spin-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def100]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-split-button.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def101]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-squeezer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def102]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-status-page.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def103]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-tab-bar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def104]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-tab-button.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def105]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-tab-overview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def106]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-tab-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def107]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-tab-view.c:803:3: warning[deadcode.DeadStores]: Value stored to 'handler' is never read
# 801|
# 802| /* Defer closing */
# 803|-> handler = g_signal_connect (view, "close-page", G_CALLBACK (close_noop), NULL);
# 804|
# 805| adw_tab_view_close_page (view, pages[0]);
Error: CPPCHECK_WARNING: [#def108]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-timed-animation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def109]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-toast-overlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def110]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-toast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def111]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-toolbar-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def112]
libadwaita-1.5.1-build/libadwaita-1.5.1/tests/test-window-title.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-192.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | libadwaita-1.5.1-1.fc41 |
store-results-to | /tmp/tmptdwl4ajc/libadwaita-1.5.1-1.fc41.tar.xz |
time-created | 2024-07-03 14:37:32 |
time-finished | 2024-07-03 14:45:00 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmptdwl4ajc/libadwaita-1.5.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmptdwl4ajc/libadwaita-1.5.1-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |