gtk4-4.17.0-1.fc42

List of Findings

Error: CPPCHECK_WARNING (CWE-682): [#def1]
gtk4-4.17.0-build/gtk-4.17.0/demos/gtk-demo/gtkgears.c:597: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  595|     /* Set up the position of the attributes in the vertex buffer object */
#  596|     glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), NULL);
#  597|->   glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), (GLfloat *) 0 + 3);
#  598|   
#  599|     /* Enable the attributes */

Error: CPPCHECK_WARNING (CWE-457): [#def2]
gtk4-4.17.0-build/gtk-4.17.0/demos/gtk-demo/search_entry.c:152: error[legacyUninitvar]: Uninitialized variable: new_state
#  150|           g_assert_not_reached ();
#  151|   
#  152|->       g_action_change_state (action, new_state);
#  153|         g_variant_unref (state);
#  154|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
gtk4-4.17.0-build/gtk-4.17.0/demos/node-editor/node-editor-window.c: scope_hint: In function ‘export_image_response_cb’
gtk4-4.17.0-build/gtk-4.17.0/demos/node-editor/node-editor-window.c:916:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
#  914|   
#  915|             alert = gtk_alert_dialog_new ("Exporting to image failed");
#  916|->           gtk_alert_dialog_set_detail (alert, error->message);
#  917|             gtk_alert_dialog_show (alert, NULL);
#  918|             g_object_unref (alert);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def4]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:53: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_css_selectors_reserve’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:199:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&*self.preallocated’
/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/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.h:20: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssproviderprivate.h:20: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1427:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1374: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.h:27:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1374:21: note: in expansion of macro ‘GTK_IS_CSS_PROVIDER’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1374: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.h:27:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1374:21: note: in expansion of macro ‘GTK_IS_CSS_PROVIDER’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1374:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1375: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/glib-2.0/gio/gfile.h:36:33: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1375:21: note: in expansion of macro ‘G_IS_FILE’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1375: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/glib-2.0/gio/gfile.h:36:33: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1375:21: note: in expansion of macro ‘G_IS_FILE’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssprovider.c:1375:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:279:1: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:286:3: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:221:1: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:243:3: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:179:1: note: in expansion of macro ‘gdk_array’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:184:7: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:187:14: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_css_selectors_reserve’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:191:10: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_css_selectors_reserve’
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:318:57: note: in expansion of macro ‘_G_NEW’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:198:21: note: in expansion of macro ‘g_new’
#  197|       {
#  198|         self->start = g_new (_T_, new_capacity);
#  199|->       memcpy (self->start, self->preallocated, sizeof (_T_) * GDK_ARRAY_REAL_SIZE (size));
#  200|       }
#  201|     else

Error: GCC_ANALYZER_WARNING (CWE-686): [#def5]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘GdkTexture *’ {aka ‘struct _GdkTexture *’} for variadic argument 1 of ‘args’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1277|     g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1278|   
# 1279|->   G_VALUE_COLLECT_INIT (&value, type,
# 1280|                           args, G_VALUE_NOCOPY_CONTENTS,
# 1281|                           &error);

Error: GCC_ANALYZER_WARNING (CWE-686): [#def6]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘const char *’ for variadic argument 1 of ‘args’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1277|     g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1278|   
# 1279|->   G_VALUE_COLLECT_INIT (&value, type,
# 1280|                           args, G_VALUE_NOCOPY_CONTENTS,
# 1281|                           &error);

Error: GCC_ANALYZER_WARNING (CWE-686): [#def7]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘GdkTexture *’ {aka ‘struct _GdkTexture *’} for variadic argument 1 of ‘args’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1277|     g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1278|   
# 1279|->   G_VALUE_COLLECT_INIT (&value, type,
# 1280|                           args, G_VALUE_NOCOPY_CONTENTS,
# 1281|                           &error);

Error: GCC_ANALYZER_WARNING (CWE-686): [#def8]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c: scope_hint: In function ‘gdk_clipboard_set_valist’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘const char *’ for variadic argument 1 of ‘args’
/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.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:25: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboardprivate.h:20: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:21: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:34: included_from: Included from here.
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1277|     g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1278|   
# 1279|->   G_VALUE_COLLECT_INIT (&value, type,
# 1280|                           args, G_VALUE_NOCOPY_CONTENTS,
# 1281|                           &error);

Error: GCC_ANALYZER_WARNING (CWE-686): [#def9]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘GdkTexture *’ {aka ‘struct _GdkTexture *’} for variadic argument 1 of ‘args’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1346:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1277|     g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1278|   
# 1279|->   G_VALUE_COLLECT_INIT (&value, type,
# 1280|                           args, G_VALUE_NOCOPY_CONTENTS,
# 1281|                           &error);

Error: GCC_ANALYZER_WARNING (CWE-686): [#def10]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘const char *’ for variadic argument 1 of ‘args’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1277|     g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1278|   
# 1279|->   G_VALUE_COLLECT_INIT (&value, type,
# 1280|                           args, G_VALUE_NOCOPY_CONTENTS,
# 1281|                           &error);

Error: GCC_ANALYZER_WARNING (CWE-685): [#def11]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (1 consumed)
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1254:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1277:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkclipboard.c:1279:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’ (24) ‘args’ has no more arguments (1 consumed)
# 1277|     g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1278|   
# 1279|->   G_VALUE_COLLECT_INIT (&value, type,
# 1280|                           args, G_VALUE_NOCOPY_CONTENTS,
# 1281|                           &error);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorimpl.h:23: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorprivate.h:104: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeprivate.h:7: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeimpl.c:21: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorstateprivate.h: scope_hint: In function ‘_gdk_color_state_unref.part.0’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorstateprivate.h:142:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeimpl.c:2300:5: note: in expansion of macro ‘gdk_color_finish’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorimpl.h:56:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeimpl.c: scope_hint: In function ‘_gdk_color_state_unref.part.0’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeimpl.c:2300:5: note: in expansion of macro ‘gdk_color_finish’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorimpl.h:56:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeimpl.c: scope_hint: In function ‘_gdk_color_state_unref.part.0’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeimpl.c:2300:5: note: in expansion of macro ‘gdk_color_finish’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorimpl.h:56:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeimpl.c: scope_hint: In function ‘_gdk_color_state_unref.part.0’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeimpl.c:2300:5: note: in expansion of macro ‘gdk_color_finish’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorimpl.h:56:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorimpl.h:56:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorimpl.h:56:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcolorstateprivate.h: scope_hint: In function ‘_gdk_color_state_unref.part.0’
#  140|   
#  141|     if (g_atomic_ref_count_dec (&self->ref_count))
#  142|->     self->klass->free (self);
#  143|   }
#  144|   

Error: CPPCHECK_WARNING (CWE-823): [#def13]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentdeserializer.c:864: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 4, which is out of bounds.
#  862|     else if (written == 0)
#  863|       {
#  864|->       GdkRGBA black = GDK_RGBA ("000");
#  865|   
#  866|         /* Never return NULL, we only return that on error */

Error: CPPCHECK_WARNING (CWE-823): [#def14]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentdeserializer.c:864: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 5, which is out of bounds.
#  862|     else if (written == 0)
#  863|       {
#  864|->       GdkRGBA black = GDK_RGBA ("000");
#  865|   
#  866|         /* Never return NULL, we only return that on error */

Error: CPPCHECK_WARNING (CWE-823): [#def15]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentdeserializer.c:864: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 6, which is out of bounds.
#  862|     else if (written == 0)
#  863|       {
#  864|->       GdkRGBA black = GDK_RGBA ("000");
#  865|   
#  866|         /* Never return NULL, we only return that on error */

Error: CPPCHECK_WARNING (CWE-823): [#def16]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentdeserializer.c:864: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 7, which is out of bounds.
#  862|     else if (written == 0)
#  863|       {
#  864|->       GdkRGBA black = GDK_RGBA ("000");
#  865|   
#  866|         /* Never return NULL, we only return that on error */

Error: CPPCHECK_WARNING (CWE-457): [#def17]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:651: error[legacyUninitvar]: Uninitialized variable: pixbuf
#  649|       }
#  650|   
#  651|->   gdk_pixbuf_save_to_stream_async (pixbuf,
#  652|                                      gdk_content_serializer_get_output_stream (serializer),
#  653|                                      name,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def18]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c: scope_hint: In function ‘serialize_texture_in_thread’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:696:12: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:193:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:193:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:193:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:193:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:193:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:193:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:193:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
#  694|     if (strcmp (gdk_content_serializer_get_mime_type (serializer), "image/png") == 0)
#  695|       bytes = gdk_save_png (texture);
#  696|->   else if (strcmp (gdk_content_serializer_get_mime_type (serializer), "image/tiff") == 0)
#  697|       bytes = gdk_save_tiff (texture);
#  698|     else if (strcmp (gdk_content_serializer_get_mime_type (serializer), "image/jpeg") == 0)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def19]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c: scope_hint: In function ‘file_text_serializer’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:904:3: warning[-Wanalyzer-null-argument]: use of NULL ‘path’ where non-null expected
/usr/include/glib-2.0/gobject/gtype.h:635:66: note: in expansion of macro ‘_G_TYPE_CVH’
/usr/include/glib-2.0/gobject/gvalue.h:83:42: note: in expansion of macro ‘G_TYPE_CHECK_VALUE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:870:7: note: in expansion of macro ‘G_VALUE_HOLDS’
/usr/include/glib-2.0/gobject/gtype.h:635:66: note: in expansion of macro ‘_G_TYPE_CVH’
/usr/include/glib-2.0/gobject/gvalue.h:83:42: note: in expansion of macro ‘G_TYPE_CHECK_VALUE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:870:7: note: in expansion of macro ‘G_VALUE_HOLDS’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:279:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:279:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:279:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:279:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:279:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:261:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:261:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:261:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkcontentserializer.c:261:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  902|     g_assert (path != NULL);
#  903|   
#  904|->   g_output_stream_write_all_async (gdk_content_serializer_get_output_stream (serializer),
#  905|                                      path,
#  906|                                      strlen (path),

Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkdisplay.c: scope_hint: In function ‘switch_to_pointer_grab’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkdisplay.c:708:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  706|   	  /* !owner_event Grabbing a surface that we're not inside, current status is
#  707|   	     now NULL (i.e. outside grabbed surface) */
#  708|-> 	  if (!grab->owner_events && info->surface_under_pointer != grab->surface)
#  709|   	    _gdk_display_set_surface_under_pointer (display, device, NULL);
#  710|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkdisplay.c:728:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  726|   	      /* w is now toplevel and x,y in toplevel coords */
#  727|                 _gdk_display_set_surface_under_pointer (display, device, new_toplevel);
#  728|-> 	      info->toplevel_x = x;
#  729|   	      info->toplevel_y = y;
#  730|   	      info->state = state;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkglcontext.c: scope_hint: In function ‘gdk_gl_context_import_dmabuf’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkglcontext.c:2218:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2216|     gdk_dmabuf_egl_init (display);
# 2217|   
# 2218|->   if (gdk_dmabuf_formats_contains (display->egl_internal_formats, dmabuf->fourcc, dmabuf->modifier))
# 2219|       {
# 2220|         texture_id = gdk_gl_context_import_dmabuf_for_target (self,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def23]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c: scope_hint: In function ‘gdk_mipmap_guint8_1_linear’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:406:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
#  404|   \
#  405|             for (i = 0; i < n_units; i++) \
#  406|->             *dest_data++ = tmp[i] / (x * y); \
#  407|           } \
#  408|         dest += dest_stride; \

Error: GCC_ANALYZER_WARNING (CWE-457): [#def24]
gtk4-4.17.0-build/gtk-4.17.0/gdk/wayland/cursor/xcursor.c: scope_hint: In function ‘_XcursorFindBestSize’
gtk4-4.17.0-build/gtk-4.17.0/gdk/wayland/cursor/xcursor.c:402:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.type’
gtk4-4.17.0-build/gtk-4.17.0/gdk/wayland/cursor/xcursor.c: scope_hint: In function ‘_XcursorFindBestSize’
/usr/include/string.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/wayland/cursor/xcursor.c:29: included_from: Included from here.
#  400|       for (n = 0; n < fileHeader->ntoc; n++)
#  401|       {
#  402|-> 	if (fileHeader->tocs[n].type != XCURSOR_IMAGE_TYPE)
#  403|   	    continue;
#  404|   	thisSize = fileHeader->tocs[n].subtype;

Error: CPPCHECK_WARNING (CWE-457): [#def25]
gtk4-4.17.0-build/gtk-4.17.0/gdk/x11/gdkasync.c:356: error[uninitvar]: Uninitialized variables: state.dpy, state.get_property_req
#  354|         async.next = dpy->async_handlers;
#  355|         async.handler = list_children_handler;
#  356|->       async.data = (XPointer) &state;
#  357|         dpy->async_handlers = &async;
#  358|   

Error: CPPCHECK_WARNING (CWE-562): [#def26]
gtk4-4.17.0-build/gtk-4.17.0/gdk/x11/gdkasync.c:357: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  355|         async.handler = list_children_handler;
#  356|         async.data = (XPointer) &state;
#  357|->       dpy->async_handlers = &async;
#  358|   
#  359|         GetReq (GetProperty, prop_req);

Error: GCC_ANALYZER_WARNING (CWE-685): [#def27]
gtk4-4.17.0-build/gtk-4.17.0/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
gtk4-4.17.0-build/gtk-4.17.0/gdk/x11/gdkdisplay-x11.c:2210:13: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (3 consumed)
/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.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkdisplay.h:28: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkdisplayprivate.h:20: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/x11/gdkdisplay-x11.h:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/x11/gdkdisplay-x11.c:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/x11/gdkdisplay-x11.c:2205:3: note: in expansion of macro ‘g_string_append_c’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstring.h:202:7: note: in expansion of macro ‘G_LIKELY’
gtk4-4.17.0-build/gtk-4.17.0/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
# 2208|     while ((key = va_arg (ap, const char *)))
# 2209|       {
# 2210|->       value = va_arg (ap, const char *);
# 2211|         if (!value)
# 2212|   	continue;

Error: GCC_ANALYZER_WARNING: [#def28]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskglglyphlibrary.c: scope_hint: In function ‘gsk_gl_glyph_library_upload_glyph’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskglglyphlibrary.c:281:32: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskglglyphlibrary.c:281:32: note: only use operands of an integer type inside the size argument
#  279|     if (gdk_gl_context_get_use_es (gdk_gl_context_get_current ()))
#  280|       {
#  281|->       pixel_data = free_data = g_malloc (width * height * 4);
#  282|         gdk_memory_convert (pixel_data, width * 4,
#  283|                             GDK_MEMORY_R8G8B8A8_PREMULTIPLIED,

Error: GCC_ANALYZER_WARNING: [#def29]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskglrenderer.c: scope_hint: In function ‘gsk_gl_renderer_render_texture’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskglrenderer.c:374:14: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskglrenderer.c:374:14: note: only use operands of an integer type inside the size argument
#  372|         stride = width * 4;
#  373|         size = stride * height;
#  374|->       data = g_malloc_n (stride, height);
#  375|   
#  376|         for (y = 0; y < height; y += max_size)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskgltexturelibrary.c: scope_hint: In function ‘gsk_gl_texture_library_pack’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskgltexturelibrary.c:426:58: 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.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkglcontext.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkglcontextprivate.h:23: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskgltexturelibrary.c:23: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskgltexturelibrary.c:536:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskgltexturelibraryprivate.h:32:49: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskgltexturelibrary.c:536:25: note: in expansion of macro ‘GSK_IS_GL_TEXTURE_LIBRARY’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskgltexturelibrary.c:536:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskgltexturelibraryprivate.h:32:49: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gl/gskgltexturelibrary.c:536:25: note: in expansion of macro ‘GSK_IS_GL_TEXTURE_LIBRARY’
#  424|         entry->atlas = atlas;
#  425|         entry->is_atlased = TRUE;
#  426|->       entry->area.x = (packed_x + padding) / (float)atlas->width;
#  427|         entry->area.y = (packed_y + padding) / (float)atlas->height;
#  428|         entry->area.x2 = (packed_x + padding + width) / (float)atlas->width;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def31]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gpu/gskgpuframe.c: scope_hint: In function ‘gsk_gpu_frame_sort_render_pass’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gpu/gskgpuframe.c:380:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
#  378|   
#  379|           case GSK_GPU_STAGE_END_PASS:
#  380|->           pass.command.last->next = op;
#  381|             pass.command.last = op;
#  382|             op = op->next;

Error: GCC_ANALYZER_WARNING: [#def32]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskcairorenderer.c: scope_hint: In function ‘gsk_cairo_renderer_render_texture’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskcairorenderer.c:118:14: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskcairorenderer.c:118:14: note: only use operands of an integer type inside the size argument
#  116|         stride = width * 4;
#  117|         size = stride * height;
#  118|->       data = g_malloc_n (stride, height);
#  119|   
#  120|         for (y = 0; y < height; y += MAX_IMAGE_SIZE)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendererprivate.h:23: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c:36: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c: scope_hint: In function ‘gsk_renderer_new_for_surface’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskdebugprivate.h:43:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c:782:7: note: in expansion of macro ‘GSK_DEBUG’
/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.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gsktypes.h:25: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.h:25: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendererprivate.h:21: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c:763:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdksurface.h:44:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c:763:25: note: in expansion of macro ‘GDK_IS_SURFACE’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c:763:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdksurface.h:44:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c:763:25: note: in expansion of macro ‘GDK_IS_SURFACE’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskdebugprivate.h:30:41: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskdebugprivate.h:42:9: note: in expansion of macro ‘GSK_DEBUG_CHECK’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c:782:7: note: in expansion of macro ‘GSK_DEBUG’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskdebugprivate.h:30:41: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskdebugprivate.h:42:9: note: in expansion of macro ‘GSK_DEBUG_CHECK’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c:782:7: note: in expansion of macro ‘GSK_DEBUG’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskdebugprivate.h:43:26: note: in definition of macro ‘GSK_DEBUG’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskdebugprivate.h:43:26: note: in definition of macro ‘GSK_DEBUG’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrenderer.c:782:7: note: in expansion of macro ‘GSK_DEBUG’
#   41|       G_STMT_START {                                                          \
#   42|       if (GSK_DEBUG_CHECK (type))                                             \
#   43|->       gdk_debug_message (__VA_ARGS__);                                      \
#   44|       } G_STMT_END
#   45|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def34]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskoffload.c: scope_hint: In function ‘push_rect_clip’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskoffload.c:323:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*rect’
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernode.h:25: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskoffloadprivate.h:25: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskoffload.c:23: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskoffload.c:742:30: note: in expansion of macro ‘GSK_ROUNDED_RECT_INIT’
#  321|   {
#  322|     Clip *clip = g_new0 (Clip, 1);
#  323|->   clip->rect = *rect;
#  324|     clip->is_rectilinear = gsk_rounded_rect_is_rectilinear (rect);
#  325|     clip->is_empty = (rect->bounds.size.width == 0 || rect->bounds.size.height == 0);

Error: CPPCHECK_WARNING (CWE-823): [#def35]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeparser.c:1595: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1593|   create_default_render_node_with_bounds (const graphene_rect_t *rect)
# 1594|   {
# 1595|->   return gsk_color_node_new (&GDK_RGBA("FF00CC"), rect);
# 1596|   }
# 1597|   

Error: CPPCHECK_WARNING (CWE-823): [#def36]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeparser.c:2282: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2280|       source = create_default_render_node ();
# 2281|     if (mask == NULL)
# 2282|->     mask = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2283|   
# 2284|     result = gsk_mask_node_new (source, mask, mode);

Error: CPPCHECK_WARNING (CWE-823): [#def37]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeparser.c:2531: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2529|     parse_declarations (parser, context, declarations, G_N_ELEMENTS (declarations));
# 2530|     if (start == NULL)
# 2531|->     start = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2532|     if (end == NULL)
# 2533|       end = create_default_render_node ();

Error: CPPCHECK_WARNING (CWE-823): [#def38]
gtk4-4.17.0-build/gtk-4.17.0/gsk/gskrendernodeparser.c:2559: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2557|     parse_declarations (parser, context, declarations, G_N_ELEMENTS (declarations));
# 2558|     if (bottom == NULL)
# 2559|->     bottom = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2560|     if (top == NULL)
# 2561|       top = create_default_render_node ();

Error: CPPCHECK_WARNING (CWE-457): [#def39]
gtk4-4.17.0-build/gtk-4.17.0/gtk/a11y/gtkatspipango.c:349: error[uninitvar]: Uninitialized variable: prev_start_index
#  347|   
#  348|         prev_prev_line = prev_line;
#  349|->       prev_prev_start_index = prev_start_index;
#  350|         prev_prev_length = prev_length;
#  351|         prev_line = line;

Error: CPPCHECK_WARNING (CWE-457): [#def40]
gtk4-4.17.0-build/gtk-4.17.0/gtk/a11y/gtkatspipango.c:350: error[uninitvar]: Uninitialized variable: prev_length
#  348|         prev_prev_line = prev_line;
#  349|         prev_prev_start_index = prev_start_index;
#  350|->       prev_prev_length = prev_length;
#  351|         prev_line = line;
#  352|         prev_start_index = start_index;

Error: CPPCHECK_WARNING (CWE-823): [#def41]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtkcolorchooser.c:251: error[arrayIndexOutOfBounds]: Array '"A8A8A8"[7]' accessed at index 7, which is out of bounds.
#  249|                                                  int          height)
#  250|   {
#  251|->   const GdkRGBA color1 = GDK_RGBA("A8A8A8");
#  252|     const GdkRGBA color2 = GDK_RGBA("545454");
#  253|   

Error: CPPCHECK_WARNING (CWE-823): [#def42]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtkcolorchooser.c:252: error[arrayIndexOutOfBounds]: Array '"545454"[7]' accessed at index 7, which is out of bounds.
#  250|   {
#  251|     const GdkRGBA color1 = GDK_RGBA("A8A8A8");
#  252|->   const GdkRGBA color2 = GDK_RGBA("545454");
#  253|   
#  254|     gtk_snapshot_push_repeat (snapshot, &GRAPHENE_RECT_INIT (0, 0, width, height), NULL);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtkiconview.c: scope_hint: In function ‘gtk_icon_view_button_release’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtkiconview.c:2256:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtkiconview.c: scope_hint: In function ‘gtk_icon_view_button_release’
# 2254|           {
# 2255|             GtkTreePath *path;
# 2256|->           path = gtk_tree_path_new_from_indices (item->index, -1);
# 2257|             gtk_icon_view_item_activated (icon_view, path);
# 2258|             gtk_tree_path_free (path);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtkshow.c: scope_hint: In function ‘show_uri_done’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtkshow.c:218:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtkshow.c:28: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtkshow.c:217:44: note: in expansion of macro ‘_’
#  216|   
#  217|         dialog = gtk_alert_dialog_new ("%s", _("Could not show link"));
#  218|->       gtk_alert_dialog_set_detail (dialog, error->message);
#  219|         gtk_alert_dialog_show (dialog, parent);
#  220|         g_object_unref (dialog);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_update_children.part.0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:1833:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘level’
/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/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodel.h:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.h:25: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4005: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4005:21: note: in expansion of macro ‘GTK_IS_TREE_MODEL_FILTER’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4005: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4005:21: note: in expansion of macro ‘GTK_IS_TREE_MODEL_FILTER’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4006:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4007:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4007:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4008:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4008:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4009:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4009:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4012:7: note: in expansion of macro ‘GTK_TREE_MODEL_FILTER_CACHE_CHILD_ITERS’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:1170:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:1170:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1831|     gtk_tree_model_filter_convert_iter_to_child_iter (filter, &c_iter, &iter);
# 1832|   
# 1833|->   if ((!level->parent_level || level->parent_level->ext_ref_count > 0) &&
# 1834|         gtk_tree_model_iter_has_child (filter->priv->child_model, &c_iter))
# 1835|       {

Error: CPPCHECK_WARNING (CWE-476): [#def46]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3016: warning[nullPointer]: Possible null pointer dereference: elt
# 3014|         g_assert (elt);
# 3015|   
# 3016|->       if (!elt->children)
# 3017|           gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 3018|         level = elt->children;

Error: COMPILER_WARNING (CWE-476): [#def47]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_get_iter_full.isra.0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3016:15: warning[-Wnull-dereference]: potential null pointer dereference
# 3016 |       if (!elt->children)
#      |            ~~~^~~~~~~~~~
# 3014|         g_assert (elt);
# 3015|   
# 3016|->       if (!elt->children)
# 3017|           gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 3018|         level = elt->children;

Error: CPPCHECK_WARNING (CWE-476): [#def48]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3086: warning[nullPointer]: Possible null pointer dereference: elt
# 3084|         elt = GET_ELT (siter);
# 3085|         g_assert (elt);
# 3086|->       if (!elt->children)
# 3087|           gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 3088|         level = elt->children;

Error: COMPILER_WARNING (CWE-476): [#def49]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_get_iter’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3086:15: warning[-Wnull-dereference]: potential null pointer dereference
# 3086 |       if (!elt->children)
#      |            ~~~^~~~~~~~~~
# 3084|         elt = GET_ELT (siter);
# 3085|         g_assert (elt);
# 3086|->       if (!elt->children)
# 3087|           gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 3088|         level = elt->children;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_real_unref_node’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3534:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘elt’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3534:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3520: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3520:21: note: in expansion of macro ‘GTK_IS_TREE_MODEL_FILTER’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3520: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3520:21: note: in expansion of macro ‘GTK_IS_TREE_MODEL_FILTER’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3521:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3522:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3522:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4005: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4005:21: note: in expansion of macro ‘GTK_IS_TREE_MODEL_FILTER’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4005: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4005:21: note: in expansion of macro ‘GTK_IS_TREE_MODEL_FILTER’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4006:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4007:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4007:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4008:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4008:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4009:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4009:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4012:7: note: in expansion of macro ‘GTK_TREE_MODEL_FILTER_CACHE_CHILD_ITERS’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:1170:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:1171:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:1171:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:1171:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:3534:3: note: in expansion of macro ‘g_return_if_fail’
# 3532|     elt = iter->user_data2;
# 3533|   
# 3534|->   g_return_if_fail (elt->ref_count > 0);
# 3535|   #ifdef MODEL_FILTER_DEBUG
# 3536|     g_assert (elt->ref_count >= elt->ext_ref_count);

Error: CPPCHECK_WARNING (CWE-476): [#def51]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4222: warning[nullPointer]: Possible null pointer dereference: elt
# 4220|         elt = GET_ELT (siter);
# 4221|         g_assert (elt);
# 4222|->       if (elt->children == NULL)
# 4223|           gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 4224|   

Error: COMPILER_WARNING (CWE-476): [#def52]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_convert_path_to_child_path’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelfilter.c:4222:14: warning[-Wnull-dereference]: potential null pointer dereference
# 4222 |       if (elt->children == NULL)
#      |           ~~~^~~~~~~~~~
# 4220|         elt = GET_ELT (siter);
# 4221|         g_assert (elt);
# 4222|->       if (elt->children == NULL)
# 4223|           gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 4224|   

Error: COMPILER_WARNING (CWE-476): [#def53]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelsort.c: scope_hint: In function ‘gtk_tree_model_sort_get_iter’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelsort.c:1294:14: warning[-Wnull-dereference]: potential null pointer dereference
# 1294 |       if (elt->children == NULL)
#      |           ~~~^~~~~~~~~~
# 1292|         elt = GET_ELT (siter);
# 1293|         g_assert (elt);
# 1294|->       if (elt->children == NULL)
# 1295|   	gtk_tree_model_sort_build_level (tree_model_sort, level, elt);
# 1296|   

Error: COMPILER_WARNING (CWE-476): [#def54]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelsort.c: scope_hint: In function ‘gtk_tree_model_sort_convert_path_to_child_path’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreemodelsort.c:2413:14: warning[-Wnull-dereference]: potential null pointer dereference
# 2413 |       if (elt->children == NULL)
#      |           ~~~^~~~~~~~~~
# 2411|         elt = GET_ELT (siter);
# 2412|         g_assert (elt);
# 2413|->       if (elt->children == NULL)
# 2414|   	gtk_tree_model_sort_build_level (tree_model_sort, level, elt);
# 2415|   

Error: COMPILER_WARNING (CWE-476): [#def55]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreerbtree.c:261:43: warning[-Wnull-dereference]: potential null pointer dereference
#  261 |           if (GTK_TREE_RBNODE_GET_COLOR (w->left) == GTK_TREE_RBNODE_BLACK && GTK_TREE_RBNODE_GET_COLOR (w->right) == GTK_TREE_RBNODE_BLACK)
#      |                                          ~^~~~~~
#  259|               }
#  260|             g_assert (w);
#  261|->           if (GTK_TREE_RBNODE_GET_COLOR (w->left) == GTK_TREE_RBNODE_BLACK && GTK_TREE_RBNODE_GET_COLOR (w->right) == GTK_TREE_RBNODE_BLACK)
#  262|               {
#  263|                 GTK_TREE_RBNODE_SET_COLOR (w, GTK_TREE_RBNODE_RED);

Error: COMPILER_WARNING (CWE-476): [#def56]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreerbtree.c:293:43: warning[-Wnull-dereference]: potential null pointer dereference
#  293 |           if (GTK_TREE_RBNODE_GET_COLOR (w->right) == GTK_TREE_RBNODE_BLACK && GTK_TREE_RBNODE_GET_COLOR (w->left) == GTK_TREE_RBNODE_BLACK)
#      |                                          ~^~~~~~~
#  291|               }
#  292|             g_assert (w);
#  293|->           if (GTK_TREE_RBNODE_GET_COLOR (w->right) == GTK_TREE_RBNODE_BLACK && GTK_TREE_RBNODE_GET_COLOR (w->left) == GTK_TREE_RBNODE_BLACK)
#  294|               {
#  295|                 GTK_TREE_RBNODE_SET_COLOR (w, GTK_TREE_RBNODE_RED);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreestore.c: scope_hint: In function ‘gtk_tree_store_sort_iter_changed’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreestore.c:3166:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
/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/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gobject/gvaluecollector.h:25: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreestore.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreestore.c:3129:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreestore.c:3144:7: note: in expansion of macro ‘g_return_if_fail’
# 3164|     g_assert (node != NULL);
# 3165|   
# 3166|->   prev = node->prev;
# 3167|     next = node->next;
# 3168|   

Error: COMPILER_WARNING (CWE-476): [#def58]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreestore.c:3166:8: warning[-Wnull-dereference]: potential null pointer dereference
# 3166 |   prev = node->prev;
#      |   ~~~~~^~~~~~~~~~~~
# 3164|     g_assert (node != NULL);
# 3165|   
# 3166|->   prev = node->prev;
# 3167|     next = node->next;
# 3168|   

Error: COMPILER_WARNING (CWE-476): [#def59]
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreestore.c: scope_hint: In function ‘gtk_tree_store_sort_iter_changed’
gtk4-4.17.0-build/gtk-4.17.0/gtk/deprecated/gtktreestore.c:3167:8: warning[-Wnull-dereference]: potential null pointer dereference
# 3167 |   next = node->next;
#      |   ~~~~~^~~~~~~~~~~~
# 3165|   
# 3166|     prev = node->prev;
# 3167|->   next = node->next;
# 3168|   
# 3169|     /* Check the common case, where we don't need to sort it moved. */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def60]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessiblevalue.c: scope_hint: In function ‘gtk_string_accessible_value_new’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessiblevalue.c:369:18: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ 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/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessiblevalueprivate.h:23: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessiblevalue.c:43: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessiblevalue.c:72:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessiblevalue.c:73:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessiblevalue.c:73: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.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessiblevalue.c:368:17: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessiblevalue.c: scope_hint: In function ‘gtk_string_accessible_value_new’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  367|   
#  368|     self->value = g_strdup (str);
#  369|->   self->length = strlen (str);
#  370|   
#  371|     return res;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def61]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkactionmuxer.c:606:19: warning[-Wanalyzer-null-argument]: use of NULL ‘action_and_target’ 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.
/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.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkactionmuxerprivate.h:22: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkactionmuxer.c:22: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkactionmuxer.c:90:33: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkactionmuxer.c:54: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:279:1: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:286:3: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:221:1: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:240:5: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:243:3: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:179:1: note: in expansion of macro ‘gdk_array’
/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/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:184:7: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:187:14: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:243:3: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:286:3: note: in expansion of macro ‘gdk_array’
/usr/include/glib-2.0/glib/galloca.h:35: included_from: Included from here.
/usr/include/string.h:273:14: note: argument 1 of ‘strrchr’ must be non-null
#  604|   
#  605|     if (!action_name)
#  606|->     action_name = strrchr (action_and_target, '|') + 1;
#  607|   
#  608|     action = find_observers (muxer, action_name);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c: scope_hint: In function ‘builder_construct’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:472:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘object_info’
#  470|     g_assert (object_info != NULL);
#  471|   
#  472|->   if (object_info->object == NULL)
#  473|       {
#  474|         object = _gtk_builder_construct (data->builder, object_info, error);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c: scope_hint: In function ‘free_child_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:854:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1981:31: note: in expansion of macro ‘state_pop_info’
#  852|   free_child_info (ChildInfo *info)
#  853|   {
#  854|->   g_free (info->type);
#  855|     g_free (info->internal_child);
#  856|     g_free (info);

Error: COMPILER_WARNING (CWE-476): [#def64]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:854:15: warning[-Wnull-dereference]: potential null pointer dereference
#  854 |   g_free (info->type);
#      |           ~~~~^~~~~~
#  852|   free_child_info (ChildInfo *info)
#  853|   {
#  854|->   g_free (info->type);
#  855|     g_free (info->internal_child);
#  856|     g_free (info);

Error: COMPILER_WARNING (CWE-476): [#def65]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:855:15: warning[-Wnull-dereference]: potential null pointer dereference
#  855 |   g_free (info->internal_child);
#      |           ~~~~^~~~~~~~~~~~~~~~
#  853|   {
#  854|     g_free (info->type);
#  855|->   g_free (info->internal_child);
#  856|     g_free (info);
#  857|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c: scope_hint: In function ‘expression_info_construct’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1298:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2004:33: note: in expansion of macro ‘state_peek_info’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderscope.h:26: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilder.h:25: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderprivate.h:21: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:21: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2004:33: note: in expansion of macro ‘state_peek_info’
# 1296|                              GError         **error)
# 1297|   {
# 1298|->   switch (info->expression_type)
# 1299|       {
# 1300|       case EXPRESSION_EXPRESSION:

Error: GCC_ANALYZER_WARNING (CWE-121): [#def67]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1372:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2003:41: note: in expansion of macro ‘state_pop_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2003:41: note: in expansion of macro ‘state_pop_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2004:33: note: in expansion of macro ‘state_peek_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2004:33: note: in expansion of macro ‘state_peek_info’
# 1370|           for (l = info->closure.params; l; l = l->next)
# 1371|             {
# 1372|->             params[--i] = expression_info_construct (builder, l->data, error);
# 1373|               if (params[i] == NULL)
# 1374|                 return NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1878:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1872:33: note: in expansion of macro ‘state_pop_info’
# 1876|   
# 1877|         /* Normal properties */
# 1878|->       if (info->tag_type == TAG_OBJECT ||
# 1879|             info->tag_type == TAG_TEMPLATE)
# 1880|           {

Error: COMPILER_WARNING (CWE-476): [#def69]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1878:15: warning[-Wnull-dereference]: potential null pointer dereference
# 1878 |       if (info->tag_type == TAG_OBJECT ||
#      |           ~~~~^~~~~~~~~~
# 1876|   
# 1877|         /* Normal properties */
# 1878|->       if (info->tag_type == TAG_OBJECT ||
# 1879|             info->tag_type == TAG_TEMPLATE)
# 1880|           {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1883:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1872:33: note: in expansion of macro ‘state_pop_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1873:26: note: in expansion of macro ‘state_peek_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1873:26: note: in expansion of macro ‘state_peek_info’
# 1881|             ObjectInfo *object_info = (ObjectInfo*)info;
# 1882|   
# 1883|->           if (prop_info->translatable && prop_info->text->len)
# 1884|               {
# 1885|                 const char *translated;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1908:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1903:38: note: in expansion of macro ‘state_pop_info’
# 1906|         g_assert (info != NULL);
# 1907|   
# 1908|->       if (binfo->expr == NULL)
# 1909|           {
# 1910|               g_set_error (error,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1916:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1903:38: note: in expansion of macro ‘state_pop_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1903:38: note: in expansion of macro ‘state_pop_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1903:38: note: in expansion of macro ‘state_pop_info’
# 1914|               free_binding_expression_info (binfo);
# 1915|           }
# 1916|->       else if (info->tag_type == TAG_OBJECT ||
# 1917|             info->tag_type == TAG_TEMPLATE)
# 1918|           {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1992:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1989:33: note: in expansion of macro ‘state_pop_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1990:46: note: in expansion of macro ‘state_peek_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1990:46: note: in expansion of macro ‘state_peek_info’
/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.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1992:34: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
# 1990|         ObjectInfo *object_info = (ObjectInfo*)state_peek_info (data, CommonInfo);
# 1991|         g_assert (object_info != NULL);
# 1992|->       signal_info->object_name = g_strdup (object_info->id);
# 1993|   
# 1994|         if (G_UNLIKELY (!object_info->signals))

Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1992:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1989:33: note: in expansion of macro ‘state_pop_info’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
# 1990|         ObjectInfo *object_info = (ObjectInfo*)state_peek_info (data, CommonInfo);
# 1991|         g_assert (object_info != NULL);
# 1992|->       signal_info->object_name = g_strdup (object_info->id);
# 1993|   
# 1994|         if (G_UNLIKELY (!object_info->signals))

Error: COMPILER_WARNING (CWE-476): [#def75]
/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.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1992:55: warning[-Wnull-dereference]: potential null pointer dereference
# 1992 |       signal_info->object_name = g_strdup (object_info->id);
#      |                                            ~~~~~~~~~~~^~~~
# 1990|         ObjectInfo *object_info = (ObjectInfo*)state_peek_info (data, CommonInfo);
# 1991|         g_assert (object_info != NULL);
# 1992|->       signal_info->object_name = g_strdup (object_info->id);
# 1993|   
# 1994|         if (G_UNLIKELY (!object_info->signals))

Error: COMPILER_WARNING (CWE-476): [#def76]
/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.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderscope.h:26: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilder.h:25: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderprivate.h:21: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:21: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:1994:35: warning[-Wnull-dereference]: potential null pointer dereference
# 1994 |       if (G_UNLIKELY (!object_info->signals))
#      |                        ~~~~~~~~~~~^~~~~~~~~
# 1992|         signal_info->object_name = g_strdup (object_info->id);
# 1993|   
# 1994|->       if (G_UNLIKELY (!object_info->signals))
# 1995|           object_info->signals = g_ptr_array_new ();
# 1996|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2007:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2005|         g_assert (parent_info != NULL);
# 2006|   
# 2007|->       if (parent_info->tag_type == TAG_BINDING_EXPRESSION)
# 2008|           {
# 2009|             BindingExpressionInfo *expr_info = (BindingExpressionInfo *) parent_info;

Error: COMPILER_WARNING (CWE-476): [#def78]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2007:22: warning[-Wnull-dereference]: potential null pointer dereference
# 2007 |       if (parent_info->tag_type == TAG_BINDING_EXPRESSION)
#      |           ~~~~~~~~~~~^~~~~~~~~~
# 2005|         g_assert (parent_info != NULL);
# 2006|   
# 2007|->       if (parent_info->tag_type == TAG_BINDING_EXPRESSION)
# 2008|           {
# 2009|             BindingExpressionInfo *expr_info = (BindingExpressionInfo *) parent_info;

Error: COMPILER_WARNING (CWE-476): [#def79]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2052:28: warning[-Wnull-dereference]: potential null pointer dereference
# 2052 |       if (!strcmp (req_info->library, "gtk"))
#      |                    ~~~~~~~~^~~~~~~~~
# 2050|          * to check their library versions here.
# 2051|          */
# 2052|->       if (!strcmp (req_info->library, "gtk"))
# 2053|           {
# 2054|             if (req_info->major == 4 && req_info->minor == 0)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def80]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c: scope_hint: In function ‘text’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2121:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2118:10: note: in expansion of macro ‘state_peek_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2118:10: note: in expansion of macro ‘state_peek_info’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkbuilderparser.c:2118:10: note: in expansion of macro ‘state_peek_info’
/usr/include/glib-2.0/glib/galloca.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 2119|     g_assert (info != NULL);
# 2120|   
# 2121|->   if (strcmp (gtk_buildable_parse_context_get_element (context), "property") == 0)
# 2122|       {
# 2123|         PropertyInfo *prop_info = (PropertyInfo*)info;

Error: CPPCHECK_WARNING (CWE-823): [#def81]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"1a5fb4"[7]' accessed at index 7, which is out of bounds.
#  436|   {
#  437|     GdkRGBA colors[9*5] = {
#  438|->     GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */

Error: CPPCHECK_WARNING (CWE-823): [#def82]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"1c71d8"[7]' accessed at index 7, which is out of bounds.
#  436|   {
#  437|     GdkRGBA colors[9*5] = {
#  438|->     GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */

Error: CPPCHECK_WARNING (CWE-823): [#def83]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"3584e4"[7]' accessed at index 7, which is out of bounds.
#  436|   {
#  437|     GdkRGBA colors[9*5] = {
#  438|->     GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */

Error: CPPCHECK_WARNING (CWE-823): [#def84]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"62a0ea"[7]' accessed at index 7, which is out of bounds.
#  436|   {
#  437|     GdkRGBA colors[9*5] = {
#  438|->     GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */

Error: CPPCHECK_WARNING (CWE-823): [#def85]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"99c1f1"[7]' accessed at index 7, which is out of bounds.
#  436|   {
#  437|     GdkRGBA colors[9*5] = {
#  438|->     GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */

Error: CPPCHECK_WARNING (CWE-823): [#def86]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:439: error[arrayIndexOutOfBounds]: Array '"26a269"[7]' accessed at index 7, which is out of bounds.
#  437|     GdkRGBA colors[9*5] = {
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|->     GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */

Error: CPPCHECK_WARNING (CWE-823): [#def87]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:439: error[arrayIndexOutOfBounds]: Array '"2ec27e"[7]' accessed at index 7, which is out of bounds.
#  437|     GdkRGBA colors[9*5] = {
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|->     GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */

Error: CPPCHECK_WARNING (CWE-823): [#def88]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:439: error[arrayIndexOutOfBounds]: Array '"33d17a"[7]' accessed at index 7, which is out of bounds.
#  437|     GdkRGBA colors[9*5] = {
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|->     GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */

Error: CPPCHECK_WARNING (CWE-823): [#def89]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:439: error[arrayIndexOutOfBounds]: Array '"57e389"[7]' accessed at index 7, which is out of bounds.
#  437|     GdkRGBA colors[9*5] = {
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|->     GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */

Error: CPPCHECK_WARNING (CWE-823): [#def90]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:439: error[arrayIndexOutOfBounds]: Array '"8ff0a4"[7]' accessed at index 7, which is out of bounds.
#  437|     GdkRGBA colors[9*5] = {
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|->     GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */

Error: CPPCHECK_WARNING (CWE-823): [#def91]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:440: error[arrayIndexOutOfBounds]: Array '"e5a50a"[7]' accessed at index 7, which is out of bounds.
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|->     GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */

Error: CPPCHECK_WARNING (CWE-823): [#def92]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:440: error[arrayIndexOutOfBounds]: Array '"f5c211"[7]' accessed at index 7, which is out of bounds.
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|->     GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */

Error: CPPCHECK_WARNING (CWE-823): [#def93]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:440: error[arrayIndexOutOfBounds]: Array '"f6d32d"[7]' accessed at index 7, which is out of bounds.
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|->     GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */

Error: CPPCHECK_WARNING (CWE-823): [#def94]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:440: error[arrayIndexOutOfBounds]: Array '"f8e45c"[7]' accessed at index 7, which is out of bounds.
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|->     GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */

Error: CPPCHECK_WARNING (CWE-823): [#def95]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:440: error[arrayIndexOutOfBounds]: Array '"f9f06b"[7]' accessed at index 7, which is out of bounds.
#  438|       GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|->     GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */

Error: CPPCHECK_WARNING (CWE-823): [#def96]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:441: error[arrayIndexOutOfBounds]: Array '"c64600"[7]' accessed at index 7, which is out of bounds.
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|->     GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */

Error: CPPCHECK_WARNING (CWE-823): [#def97]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:441: error[arrayIndexOutOfBounds]: Array '"e66100"[7]' accessed at index 7, which is out of bounds.
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|->     GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */

Error: CPPCHECK_WARNING (CWE-823): [#def98]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:441: error[arrayIndexOutOfBounds]: Array '"ff7800"[7]' accessed at index 7, which is out of bounds.
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|->     GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */

Error: CPPCHECK_WARNING (CWE-823): [#def99]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:441: error[arrayIndexOutOfBounds]: Array '"ffa348"[7]' accessed at index 7, which is out of bounds.
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|->     GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */

Error: CPPCHECK_WARNING (CWE-823): [#def100]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:441: error[arrayIndexOutOfBounds]: Array '"ffbe6f"[7]' accessed at index 7, which is out of bounds.
#  439|       GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|->     GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */

Error: CPPCHECK_WARNING (CWE-823): [#def101]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:442: error[arrayIndexOutOfBounds]: Array '"a51d2d"[7]' accessed at index 7, which is out of bounds.
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|->     GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */

Error: CPPCHECK_WARNING (CWE-823): [#def102]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:442: error[arrayIndexOutOfBounds]: Array '"c01c28"[7]' accessed at index 7, which is out of bounds.
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|->     GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */

Error: CPPCHECK_WARNING (CWE-823): [#def103]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:442: error[arrayIndexOutOfBounds]: Array '"e01b24"[7]' accessed at index 7, which is out of bounds.
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|->     GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */

Error: CPPCHECK_WARNING (CWE-823): [#def104]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:442: error[arrayIndexOutOfBounds]: Array '"ed333b"[7]' accessed at index 7, which is out of bounds.
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|->     GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */

Error: CPPCHECK_WARNING (CWE-823): [#def105]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:442: error[arrayIndexOutOfBounds]: Array '"f66151"[7]' accessed at index 7, which is out of bounds.
#  440|       GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|->     GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */

Error: CPPCHECK_WARNING (CWE-823): [#def106]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:443: error[arrayIndexOutOfBounds]: Array '"613583"[7]' accessed at index 7, which is out of bounds.
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|->     GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */

Error: CPPCHECK_WARNING (CWE-823): [#def107]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:443: error[arrayIndexOutOfBounds]: Array '"813d9c"[7]' accessed at index 7, which is out of bounds.
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|->     GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */

Error: CPPCHECK_WARNING (CWE-823): [#def108]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:443: error[arrayIndexOutOfBounds]: Array '"9141ac"[7]' accessed at index 7, which is out of bounds.
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|->     GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */

Error: CPPCHECK_WARNING (CWE-823): [#def109]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:443: error[arrayIndexOutOfBounds]: Array '"c061cb"[7]' accessed at index 7, which is out of bounds.
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|->     GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */

Error: CPPCHECK_WARNING (CWE-823): [#def110]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:443: error[arrayIndexOutOfBounds]: Array '"dc8add"[7]' accessed at index 7, which is out of bounds.
#  441|       GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|->     GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */

Error: CPPCHECK_WARNING (CWE-823): [#def111]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:444: error[arrayIndexOutOfBounds]: Array '"63452c"[7]' accessed at index 7, which is out of bounds.
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|->     GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */

Error: CPPCHECK_WARNING (CWE-823): [#def112]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:444: error[arrayIndexOutOfBounds]: Array '"865e3c"[7]' accessed at index 7, which is out of bounds.
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|->     GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */

Error: CPPCHECK_WARNING (CWE-823): [#def113]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:444: error[arrayIndexOutOfBounds]: Array '"986a44"[7]' accessed at index 7, which is out of bounds.
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|->     GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */

Error: CPPCHECK_WARNING (CWE-823): [#def114]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:444: error[arrayIndexOutOfBounds]: Array '"b5835a"[7]' accessed at index 7, which is out of bounds.
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|->     GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */

Error: CPPCHECK_WARNING (CWE-823): [#def115]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:444: error[arrayIndexOutOfBounds]: Array '"cdab8f"[7]' accessed at index 7, which is out of bounds.
#  442|       GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|->     GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */

Error: CPPCHECK_WARNING (CWE-823): [#def116]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:445: error[arrayIndexOutOfBounds]: Array '"9a9996"[7]' accessed at index 7, which is out of bounds.
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|->     GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };

Error: CPPCHECK_WARNING (CWE-823): [#def117]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:445: error[arrayIndexOutOfBounds]: Array '"c0bfbc"[7]' accessed at index 7, which is out of bounds.
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|->     GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };

Error: CPPCHECK_WARNING (CWE-823): [#def118]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:445: error[arrayIndexOutOfBounds]: Array '"deddda"[7]' accessed at index 7, which is out of bounds.
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|->     GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };

Error: CPPCHECK_WARNING (CWE-823): [#def119]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:445: error[arrayIndexOutOfBounds]: Array '"f6f5f4"[7]' accessed at index 7, which is out of bounds.
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|->     GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };

Error: CPPCHECK_WARNING (CWE-823): [#def120]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:445: error[arrayIndexOutOfBounds]: Array '"ffffff"[7]' accessed at index 7, which is out of bounds.
#  443|       GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|->     GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|       GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };

Error: CPPCHECK_WARNING (CWE-823): [#def121]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:446: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|->     GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };
#  448|     const char *color_names[] = {

Error: CPPCHECK_WARNING (CWE-823): [#def122]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:446: error[arrayIndexOutOfBounds]: Array '"241f31"[7]' accessed at index 7, which is out of bounds.
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|->     GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };
#  448|     const char *color_names[] = {

Error: CPPCHECK_WARNING (CWE-823): [#def123]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:446: error[arrayIndexOutOfBounds]: Array '"3d3846"[7]' accessed at index 7, which is out of bounds.
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|->     GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };
#  448|     const char *color_names[] = {

Error: CPPCHECK_WARNING (CWE-823): [#def124]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:446: error[arrayIndexOutOfBounds]: Array '"5e5c64"[7]' accessed at index 7, which is out of bounds.
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|->     GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };
#  448|     const char *color_names[] = {

Error: CPPCHECK_WARNING (CWE-823): [#def125]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcolorchooserwidget.c:446: error[arrayIndexOutOfBounds]: Array '"77767b"[7]' accessed at index 7, which is out of bounds.
#  444|       GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
#  445|       GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
#  446|->     GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000")  /* Dark */
#  447|     };
#  448|     const char *color_names[] = {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstraintlayout.c: scope_hint: In function ‘layout_add_constraint’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstraintlayout.c:849:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘constraint’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstraintlayout.c: scope_hint: In function ‘layout_add_constraint’
#  847|     expr = gtk_constraint_expression_builder_finish (&builder);
#  848|   
#  849|->   constraint->solver = solver;
#  850|     constraint->constraint_ref =
#  851|       gtk_constraint_solver_add_constraint (self->solver,

Error: GCC_ANALYZER_WARNING (CWE-688): [#def127]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstraintvflparser.c: scope_hint: In function ‘gtk_constraint_vfl_parser_parse_line’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstraintvflparser.c:828:28: warning[-Wanalyzer-null-argument]: use of NULL ‘buffer’ 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.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstrainttypesprivate.h:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstraintvflparserprivate.h:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstraintvflparser.c:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstraintvflparser.c:827:24: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkconstraintvflparser.c: scope_hint: In function ‘gtk_constraint_vfl_parser_parse_line’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  826|       {
#  827|         parser->buffer = g_strdup (buffer);
#  828|->       parser->buffer_len = strlen (buffer);
#  829|       }
#  830|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def128]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssbordervalue.c: scope_hint: In function ‘gtk_css_value_border_compute’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssbordervalue.c:77:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘values[3]’
#   75|       }
#   76|   
#   77|->   computed = _gtk_css_border_value_new (values[0], values[1], values[2], values[3]);
#   78|     computed->fill = value->fill;
#   79|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsskeyframes.c: scope_hint: In function ‘_gtk_css_keyframes_print’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsskeyframes.c:577:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sorted_variable_ids’
/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.
gtk4-4.17.0-build/gtk-4.17.0/gtk/css/gtkcss.h:29: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsskeyframesprivate.h:22: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsskeyframes.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsskeyframes.c:524:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsskeyframes.c:525:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsskeyframes.c:525:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:264:32: note: in definition of macro ‘_G_NEW’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsskeyframes.c:527:12: note: in expansion of macro ‘g_new’
#  575|             for (p = 0; p < keyframes->n_variables; p++)
#  576|               {
#  577|->               int variable_id = sorted_variable_ids[p];
#  578|                 GtkCssVariableValue *value =
#  579|                   gtk_css_variable_set_lookup (keyframes->variables[k], variable_id, NULL);

Error: CPPCHECK_WARNING (CWE-457): [#def130]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssreferencevalue.c:158: error[legacyUninitvar]: Uninitialized variable: var_length
#  156|           }
#  157|   
#  158|->       length += var_length - ref->length;
#  159|         n_refs += var_refs;
#  160|   

Error: CPPCHECK_WARNING (CWE-457): [#def131]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssreferencevalue.c:159: error[legacyUninitvar]: Uninitialized variable: var_refs
#  157|   
#  158|         length += var_length - ref->length;
#  159|->       n_refs += var_refs;
#  160|   
#  161|         if (length > MAX_TOKEN_LENGTH)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def132]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selector_compare_one’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c:191:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*b.class’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selector_compare_one’
#  189|   gtk_css_selector_compare_one (const GtkCssSelector *a, const GtkCssSelector *b)
#  190|   {
#  191|->   if (a->class != b->class)
#  192|       return strcmp (a->class->name, b->class->name);
#  193|     else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c:1848:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘found’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:116:1: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkarrayimpl.c:124:3: note: in expansion of macro ‘gdk_array’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c:119:44: note: in expansion of macro ‘G_MAXINT32’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c:2170:12: note: in expansion of macro ‘GTK_CSS_SELECTOR_TREE_EMPTY_OFFSET’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
# 1846|         g_assert (found != NULL && gtk_css_selector_is_simple (found));
# 1847|   
# 1848|->       tmp = *found;
# 1849|         *found = *selector;
# 1850|         *selector = tmp;

Error: COMPILER_WARNING (CWE-476): [#def134]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c:1848:11: warning[-Wnull-dereference]: potential null pointer dereference
# 1848 |       tmp = *found;
#      |       ~~~~^~~~~~~~
# 1846|         g_assert (found != NULL && gtk_css_selector_is_simple (found));
# 1847|   
# 1848|->       tmp = *found;
# 1849|         *found = *selector;
# 1850|         *selector = tmp;

Error: COMPILER_WARNING (CWE-476): [#def135]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssselector.c:1849:14: warning[-Wnull-dereference]: potential null pointer dereference
# 1849 |       *found = *selector;
#      |       ~~~~~~~^~~~~~~~~~~
# 1847|   
# 1848|         tmp = *found;
# 1849|->       *found = *selector;
# 1850|         *selector = tmp;
# 1851|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssvalueprivate.h:141:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsspositionvalue.c: scope_hint: In function ‘_gtk_css_position_value_new’
#  139|     GtkCssValueBase *value_base = (GtkCssValueBase *) value;
#  140|   
#  141|->   return value_base->is_computed;
#  142|   }
#  143|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcssvalueprivate.h:141:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘y’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkcsspositionvalue.c: scope_hint: In function ‘_gtk_css_position_value_new’
#  139|     GtkCssValueBase *value_base = (GtkCssValueBase *) value;
#  140|   
#  141|->   return value_base->is_computed;
#  142|   }
#  143|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def138]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c: scope_hint: In function ‘gtk_editable_delegate_get_property’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c:1161:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cursor_position’
/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/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessible.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.h:32: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c:161: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c:684:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.h:39:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c:684:25: note: in expansion of macro ‘GTK_IS_EDITABLE’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c:684:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1159|       case GTK_EDITABLE_PROP_CURSOR_POSITION:
# 1160|         gtk_editable_get_selection_bounds (delegate, &cursor_position, &selection_bound);
# 1161|->       g_value_set_int (value, cursor_position);
# 1162|         break;
# 1163|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def139]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c:1166:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘selection_bound’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c:684:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.h:39:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c:684:25: note: in expansion of macro ‘GTK_IS_EDITABLE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.c:684:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1164|       case GTK_EDITABLE_PROP_SELECTION_BOUND:
# 1165|         gtk_editable_get_selection_bounds (delegate, &cursor_position, &selection_bound);
# 1166|->       g_value_set_int (value, selection_bound);
# 1167|         break;
# 1168|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkemojichooser.c: scope_hint: In function ‘keynav_failed’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkemojichooser.c:1216:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next’
/usr/include/stdio.h:34: included_from: Included from here.
/usr/include/pango-1.0/pango/pango-utils.h:25: included_from: Included from here.
/usr/include/pango-1.0/pango/pango.h:51: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:37: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkemojichooser.h:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkemojichooser.c:20: included_from: Included from here.
# 1214|         while (TRUE)
# 1215|           {
# 1216|->           next = find_next_section (chooser, next->box, TRUE);
# 1217|             if (next == NULL)
# 1218|               return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkemojichooser.c:1252:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next’
# 1250|         while (TRUE)
# 1251|           {
# 1252|->           next = find_next_section (chooser, next->box, FALSE);
# 1253|             if (next == NULL)
# 1254|               return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
/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.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkaccessible.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkeditable.h:32: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:36: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentryprivate.h:20: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:31: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_paintable’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2447:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2447:37: note: in expansion of macro ‘GTK_IMAGE’
/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/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2433: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2433:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2433: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2433:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2434:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2447:37: note: in expansion of macro ‘GTK_IMAGE’
# 2445|         g_object_ref (paintable);
# 2446|   
# 2447|->       gtk_image_set_from_paintable (GTK_IMAGE (icon_info->widget), paintable);
# 2448|   
# 2449|         if (icon_pos == GTK_ENTRY_ICON_PRIMARY)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def143]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_icon_name’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2505:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2505:37: note: in expansion of macro ‘GTK_IMAGE’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2494: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2494:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2494: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2494:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2495:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2505:37: note: in expansion of macro ‘GTK_IMAGE’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2505:37: note: in expansion of macro ‘GTK_IMAGE’
# 2503|     if (icon_name != NULL)
# 2504|       {
# 2505|->       gtk_image_set_from_icon_name (GTK_IMAGE (icon_info->widget), icon_name);
# 2506|   
# 2507|         if (icon_pos == GTK_ENTRY_ICON_PRIMARY)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_gicon’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2560:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2560:33: note: in expansion of macro ‘GTK_IMAGE’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2550: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2550:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2550: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2550:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2551:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2560:33: note: in expansion of macro ‘GTK_IMAGE’
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2560:33: note: in expansion of macro ‘GTK_IMAGE’
# 2558|     if (icon)
# 2559|       {
# 2560|->       gtk_image_set_from_gicon (GTK_IMAGE (icon_info->widget), icon);
# 2561|   
# 2562|         if (icon_pos == GTK_ENTRY_ICON_PRIMARY)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_activatable’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2606:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2598: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2598:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2598: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2598:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2599:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2604|     activatable = activatable != FALSE;
# 2605|   
# 2606|->   if (icon_info->nonactivatable != !activatable)
# 2607|       {
# 2608|         icon_info->nonactivatable = !activatable;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_sensitive’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2755:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2749: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2749:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2749: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2749:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2750:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2753|       icon_info = construct_icon_info (GTK_WIDGET (entry), icon_pos);
# 2754|   
# 2755|->   if (gtk_widget_get_sensitive (icon_info->widget) != sensitive)
# 2756|       {
# 2757|         gtk_widget_set_sensitive (icon_info->widget, sensitive);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_drag_source’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2896:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2889: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2889:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2889: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2889:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:2890:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2894|   
# 2895|     g_set_object (&icon_info->content, provider);
# 2896|->   icon_info->actions = actions;
# 2897|   }
# 2898|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_tooltip_text’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3076:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3070: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3070:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3070: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3070:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3071:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3074|       icon_info = construct_icon_info (GTK_WIDGET (entry), icon_pos);
# 3075|   
# 3076|->   g_free (icon_info->tooltip);
# 3077|   
# 3078|     /* Treat an empty string as a NULL string,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_tooltip_markup’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3152:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3146: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3146:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3146: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3146:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:3147:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3150|       icon_info = construct_icon_info (GTK_WIDGET (entry), icon_pos);
# 3151|   
# 3152|->   g_free (icon_info->tooltip);
# 3153|   
# 3154|     /* Treat an empty string as a NULL string,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkflattenlistmodel.c: scope_hint: In function ‘gtk_flatten_list_model_model_items_changed_cb’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkflattenlistmodel.c:404:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
#  402|       {
#  403|         FlattenNode *next = gtk_rb_tree_node_get_next (node);
#  404|->       real_removed += g_list_model_get_n_items (node->model);
#  405|         gtk_rb_tree_remove (self->items, node);
#  406|         node = next;

Error: GCC_ANALYZER_WARNING (CWE-835): [#def151]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_above_focusable’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkflowbox.c:1220:13: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1218|       {
# 1219|         i = 0;
# 1220|->       while (i < BOX_PRIV (box)->cur_children_per_line)
# 1221|           {
# 1222|             if (g_sequence_iter_is_begin (iter))

Error: GCC_ANALYZER_WARNING (CWE-835): [#def152]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_below_focusable’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkflowbox.c:1246:13: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1244|       {
# 1245|         i = 0;
# 1246|->       while (i < BOX_PRIV (box)->cur_children_per_line)
# 1247|           {
# 1248|             iter = g_sequence_iter_next (iter);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
/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/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenuprivate.h:22: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:22: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_attributes’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:121:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:121:3: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:121:3: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
#  119|   {
#  120|     const Menu *menu = gtk_joined_menu_get_item (GTK_JOINED_MENU (model), &item_index);
#  121|->   G_MENU_MODEL_GET_CLASS (menu->model)->get_item_attributes (menu->model, item_index, attributes);
#  122|   }
#  123|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_iterate_item_attributes’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:129:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:129:10: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:129:10: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
#  127|   {
#  128|     const Menu *menu = gtk_joined_menu_get_item (GTK_JOINED_MENU (model), &item_index);
#  129|->   return G_MENU_MODEL_GET_CLASS (menu->model)->iterate_item_attributes (menu->model, item_index);
#  130|   }
#  131|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_attribute_value’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:139:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:139:10: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:139:10: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
#  137|   {
#  138|     const Menu *menu = gtk_joined_menu_get_item (GTK_JOINED_MENU (model), &item_index);
#  139|->   return G_MENU_MODEL_GET_CLASS (menu->model)->get_item_attribute_value (menu->model, item_index, attribute, expected_type);
#  140|   }
#  141|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def156]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_links’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:148:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:148:3: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:148:3: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
#  146|   {
#  147|     const Menu *menu = gtk_joined_menu_get_item (GTK_JOINED_MENU (model), &item_index);
#  148|->   G_MENU_MODEL_GET_CLASS (menu->model)->get_item_links (menu->model, item_index, links);
#  149|   }
#  150|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_iterate_item_links’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:156:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:156:10: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:156:10: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
#  154|   {
#  155|     const Menu *menu = gtk_joined_menu_get_item (GTK_JOINED_MENU (model), &item_index);
#  156|->   return G_MENU_MODEL_GET_CLASS (menu->model)->iterate_item_links (menu->model, item_index);
#  157|   }
#  158|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_link’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:165:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:165:10: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
/usr/include/glib-2.0/gobject/gtype.h:2667:67: note: in definition of macro ‘_G_TYPE_IGC’
/usr/include/glib-2.0/gio/gmenumodel.h:124:62: note: in expansion of macro ‘G_TYPE_INSTANCE_GET_CLASS’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkjoinedmenu.c:165:10: note: in expansion of macro ‘G_MENU_MODEL_GET_CLASS’
#  163|   {
#  164|     const Menu *menu = gtk_joined_menu_get_item (GTK_JOINED_MENU (model), &item_index);
#  165|->   return G_MENU_MODEL_GET_CLASS (menu->model)->get_item_link (menu->model, item_index, link);
#  166|   }
#  167|   

Error: CPPCHECK_WARNING (CWE-457): [#def159]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklabel.c:2174: error[legacyUninitvar]: Uninitialized variable: success
# 2172|       g_assert_not_reached ();
# 2173|   
# 2174|->   if (!success)
# 2175|       {
# 2176|         g_warning ("Failed to launch handler: %s", error->message);

Error: CPPCHECK_WARNING (CWE-457): [#def160]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklinkbutton.c:511: error[legacyUninitvar]: Uninitialized variable: success
#  509|       g_assert_not_reached ();
#  510|   
#  511|->   if (!success)
#  512|       {
#  513|         g_warning ("Failed to launch handler: %s", error->message);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_tile_get_header’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c:388:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
#  386|           }
#  387|   
#  388|->       if (tile->type == GTK_LIST_TILE_HEADER ||
#  389|             tile->type == GTK_LIST_TILE_UNMATCHED_HEADER)
#  390|           return tile;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_tile_get_footer’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c:440:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
#  438|           }
#  439|   
#  440|->       if (tile->type == GTK_LIST_TILE_FOOTER ||
#  441|             tile->type == GTK_LIST_TILE_UNMATCHED_FOOTER)
#  442|           return tile;

Error: COMPILER_WARNING (CWE-476): [#def163]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c:721:11: warning[-Wnull-dereference]: potential null pointer dereference
#  721 |   if (tile->type == type)
#      |       ~~~~^~~~~~
#  719|   {
#  720|     g_assert (tile != NULL);
#  721|->   if (tile->type == type)
#  722|       return;
#  723|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_remove_items.part.0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c:857:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
#  855|     while (n_items > 0)
#  856|       {
#  857|->       switch (tile->type)
#  858|           {
#  859|           case GTK_LIST_TILE_HEADER:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c:901:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
#  899|     if (header)
#  900|       {
#  901|->       if (tile->type == GTK_LIST_TILE_FOOTER || tile->type == GTK_LIST_TILE_UNMATCHED_FOOTER)
#  902|           {
#  903|             gtk_list_item_change_clear_header (change, &header->widget);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_release_items’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c:1169:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
# 1167|           {
# 1168|             g_assert (tile != NULL);
# 1169|->           switch (tile->type)
# 1170|               {
# 1171|               case GTK_LIST_TILE_ITEM:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_model_sections_changed_cb.part.0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c:1631:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
# 1629|     while (n_items > 0)
# 1630|       {
# 1631|->       switch (tile->type)
# 1632|           {
# 1633|           case GTK_LIST_TILE_HEADER:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanagerprivate.h:108:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_model_sections_changed_cb.part.0’
#  106|   gtk_list_tile_is_footer (GtkListTile *tile)
#  107|   {
#  108|->   return tile->type == GTK_LIST_TILE_FOOTER || tile->type == GTK_LIST_TILE_UNMATCHED_FOOTER;
#  109|   }
#  110|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmaplistmodel.c: scope_hint: In function ‘gtk_map_list_model_items_changed_cb’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmaplistmodel.c:276:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
#  274|     while (count > 0)
#  275|       {
#  276|->       end = start + node->n_items;
#  277|         if (start == position && end <= position + count)
#  278|           {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmenutrackeritem.c: scope_hint: In function ‘gtk_menu_tracker_opener_new’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmenutrackeritem.c:1014:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘item’
/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/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkactionobserverprivate.h:22: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkactionobservableprivate.h:22: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmenutrackeritemprivate.h:22: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmenutrackeritem.c:22: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmenutrackeritem.c:1007:3: note: in expansion of macro ‘g_set_weak_pointer’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmenutrackeritem.c:1007:3: note: in expansion of macro ‘g_set_weak_pointer’
/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/gobject/gbinding.h:30: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmenutrackeritem.c:1012:30: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkmenutrackeritem.c: scope_hint: In function ‘gtk_menu_tracker_opener_new’
# 1012|       opener->submenu_action = g_strdup (submenu_action);
# 1013|   
# 1014|->   gtk_action_observable_register_observer (item->observable,
# 1015|                                              opener->submenu_action,
# 1016|                                              (GtkActionObserver *)opener);

Error: CPPCHECK_WARNING (CWE-476): [#def171]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtknotebook.c:4003: warning[nullPointer]: Possible null pointer dereference: page
# 4001|     g_assert (page != NULL);
# 4002|   
# 4003|->   gtk_widget_measure (page->tab_label,
# 4004|                         orientation,
# 4005|                         for_size,

Error: COMPILER_WARNING (CWE-476): [#def172]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtknotebook.c: scope_hint: In function ‘measure_tab’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtknotebook.c:4003:3: warning[-Wnull-dereference]: potential null pointer dereference
# 4003 |   gtk_widget_measure (page->tab_label,
#      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 4004 |                       orientation,
#      |                       ~~~~~~~~~~~~
# 4005 |                       for_size,
#      |                       ~~~~~~~~~
# 4006 |                       minimum, natural,
#      |                       ~~~~~~~~~~~~~~~~~
# 4007 |                       minimum_baseline, natural_baseline);
#      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 4001|     g_assert (page != NULL);
# 4002|   
# 4003|->   gtk_widget_measure (page->tab_label,
# 4004|                         orientation,
# 4005|                         for_size,

Error: CPPCHECK_WARNING (CWE-476): [#def173]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtknotebook.c:4035: warning[nullPointer]: Possible null pointer dereference: page
# 4033|     child_allocation = (GtkAllocation) {0, 0, width, height};
# 4034|   
# 4035|->   if (!page->fill)
# 4036|       {
# 4037|         if (notebook->tab_pos == GTK_POS_TOP || notebook->tab_pos == GTK_POS_BOTTOM)

Error: COMPILER_WARNING (CWE-476): [#def174]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtknotebook.c: scope_hint: In function ‘allocate_tab’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtknotebook.c:4035:7: warning[-Wnull-dereference]: potential null pointer dereference
# 4035 |   if (!page->fill)
#      |       ^~~~~~~~~~~
# 4033|     child_allocation = (GtkAllocation) {0, 0, width, height};
# 4034|   
# 4035|->   if (!page->fill)
# 4036|       {
# 4037|         if (notebook->tab_pos == GTK_POS_TOP || notebook->tab_pos == GTK_POS_BOTTOM)

Error: COMPILER_WARNING (CWE-476): [#def175]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkrbtree.c: scope_hint: In function ‘gtk_rb_tree_insert_fixup’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkrbtree.c:366:18: warning[-Wnull-dereference]: potential null pointer dereference
#  366 |       if (p == pp->left)
#      |                ~~^~~~~~
#  364|         g_assert (pp);
#  365|   
#  366|->       if (p == pp->left)
#  367|   	{
#  368|   	  GtkRbNode *uncle = pp->right;

Error: COMPILER_WARNING (CWE-476): [#def176]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkrbtree.c:445:15: warning[-Wnull-dereference]: potential null pointer dereference
#  445 |           if (is_black (w->left) && is_black (w->right))
#      |               ^~~~~~~~~~~~~~~~~~
#  443|   	    }
#  444|             g_assert (w);
#  445|-> 	  if (is_black (w->left) && is_black (w->right))
#  446|   	    {
#  447|   	      set_red (w);

Error: COMPILER_WARNING (CWE-476): [#def177]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkrbtree.c:477:15: warning[-Wnull-dereference]: potential null pointer dereference
#  477 |           if (is_black (w->right) && is_black (w->left))
#      |               ^~~~~~~~~~~~~~~~~~~
#  475|   	    }
#  476|             g_assert (w);
#  477|-> 	  if (is_black (w->right) && is_black (w->left))
#  478|   	    {
#  479|   	      set_red (w);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c:174:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptr’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c: scope_hint: In function ‘pool_alloc’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c:1148:9: note: in expansion of macro ‘DO_LOCK’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c: scope_hint: In function ‘pool_alloc’
#  172|   	g_assert (stack);
#  173|   	ptr = *stack;
#  174|-> 	*stack = *(void**)ptr;
#  175|   	return ptr;
#  176|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c:308:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pool’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c:1287:9: note: in expansion of macro ‘DO_LOCK’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
#  306|   
#  307|   	/* No more meta cells used in this block, remove from list, destroy */
#  308|-> 	if (pool->used == 1) {
#  309|   		*at = pool->next;
#  310|   

Error: COMPILER_WARNING (CWE-476): [#def180]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c:308:17: warning[-Wnull-dereference]: potential null pointer dereference
#  308 |         if (pool->used == 1) {
#      |             ~~~~^~~~~~
#  306|   
#  307|   	/* No more meta cells used in this block, remove from list, destroy */
#  308|-> 	if (pool->used == 1) {
#  309|   		*at = pool->next;
#  310|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def181]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c: scope_hint: In function ‘gtk_secure_strndup_full’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksecurememory.c:1455:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 1453|   	len = length + 1;
# 1454|   	res = (char *)gtk_secure_alloc_full (tag, len, options);
# 1455|-> 	memcpy (res, str, len);
# 1456|   	return res;
# 1457|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkshortcutssection.c: scope_hint: In function ‘gtk_shortcuts_section_reflow_groups’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkshortcutssection.c:725:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g’
#  723|   
#  724|         g_assert (g);
#  725|->       for (g = g->next; g; g = g->next)
#  726|           {
#  727|             GtkShortcutsGroup *group = g->data;

Error: COMPILER_WARNING (CWE-476): [#def183]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkshortcutssection.c: scope_hint: In function ‘gtk_shortcuts_section_reflow_groups’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkshortcutssection.c:725:14: warning[-Wnull-dereference]: potential null pointer dereference
#  725 |       for (g = g->next; g; g = g->next)
#      |            ~~^~~~~~~~~
#  723|   
#  724|         g_assert (g);
#  725|->       for (g = g->next; g; g = g->next)
#  726|           {
#  727|             GtkShortcutsGroup *group = g->data;

Error: GCC_ANALYZER_WARNING (CWE-121): [#def184]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksizerequest.c: scope_hint: In function ‘gtk_distribute_natural_allocation’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksizerequest.c:755:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
/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.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksizerequest.h:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksizerequest.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtksizerequest.c:713:3: note: in expansion of macro ‘g_return_val_if_fail’
#  753|          */
#  754|         int glue = (extra_space + i) / (i + 1);
#  755|->       int gap = sizes[(spreading[i])].natural_size
#  756|   	- sizes[(spreading[i])].minimum_size;
#  757|   

Error: CPPCHECK_WARNING (CWE-457): [#def185]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktext.c:5020: error[legacyUninitvar]: Uninitialized variable: old_pos
# 5018|       g_assert_not_reached ();
# 5019|   
# 5020|->   if (tmp_pos != *old_pos)
# 5021|       {
# 5022|         *old_pos = tmp_pos;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def186]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_char_is_invisible’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:2590:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
/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.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbuffer.h:31: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtreeprivate.h:37: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:2480:6: note: in expansion of macro ‘G_LIKELY’
# 2588|   #endif
# 2589|   #endif
# 2590|->           invisible = tags[i]->priv->values->invisible;
# 2591|             break;
# 2592|           }

Error: COMPILER_WARNING (CWE-476): [#def187]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:3063:18: warning[-Wnull-dereference]: null pointer dereference
# 3063 |       while (node->level > 0)
#      |              ~~~~^~~~~~~
# 3061|       continue_outer_loop:
# 3062|         g_assert (node != NULL);
# 3063|->       while (node->level > 0)
# 3064|           {
# 3065|             g_assert (node != NULL); /* Failure probably means bad tag summaries. */

Error: COMPILER_WARNING (CWE-476): [#def188]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_first_could_contain_tag’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:3066:16: warning[-Wnull-dereference]: potential null pointer dereference
# 3066 |           node = node->children.node;
#      |           ~~~~~^~~~~~~~~~~~~~~~~~~~~
# 3064|           {
# 3065|             g_assert (node != NULL); /* Failure probably means bad tag summaries. */
# 3066|->           node = node->children.node;
# 3067|             while (node != NULL)
# 3068|               {

Error: COMPILER_WARNING (CWE-476): [#def189]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:3082:28: warning[-Wnull-dereference]: potential null pointer dereference
# 3082 |       return node->children.line;
#      |              ~~~~~~~~~~~~~~^~~~~
# 3080|         g_assert (node->level == 0);
# 3081|   
# 3082|->       return node->children.line;
# 3083|       }
# 3084|     else

Error: COMPILER_WARNING (CWE-476): [#def190]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_last_could_contain_tag’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:3116:18: warning[-Wnull-dereference]: potential null pointer dereference
# 3116 |       while (node->level > 0)
#      |              ~~~~^~~~~~~
# 3114|            tag below it */
# 3115|   
# 3116|->       while (node->level > 0)
# 3117|           {
# 3118|             last_node = NULL;

Error: COMPILER_WARNING (CWE-476): [#def191]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:3438:58: warning[-Wnull-dereference]: potential null pointer dereference
# 3438 |       tree->end_iter_segment_byte_index = last_with_chars->byte_count - 1;
#      |                                           ~~~~~~~~~~~~~~~^~~~~~~~~~~~
# 3436|   
# 3437|         /* We know the last char in the last line is '\n' */
# 3438|->       tree->end_iter_segment_byte_index = last_with_chars->byte_count - 1;
# 3439|         tree->end_iter_segment_char_offset = last_with_chars->char_count - 1;
# 3440|   

Error: COMPILER_WARNING (CWE-476): [#def192]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:3439:59: warning[-Wnull-dereference]: potential null pointer dereference
# 3439 |       tree->end_iter_segment_char_offset = last_with_chars->char_count - 1;
#      |                                            ~~~~~~~~~~~~~~~^~~~~~~~~~~~
# 3437|         /* We know the last char in the last line is '\n' */
# 3438|         tree->end_iter_segment_byte_index = last_with_chars->byte_count - 1;
# 3439|->       tree->end_iter_segment_char_offset = last_with_chars->char_count - 1;
# 3440|   
# 3441|         tree->end_iter_segment_stamp = tree->segments_changed_stamp;

Error: COMPILER_WARNING (CWE-476): [#def193]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_char_index’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:3794:8: warning[-Wnull-dereference]: potential null pointer dereference
# 3794 |   line = iter->children.line;
#      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~
# 3792|        have to iterate over the lines adding up segment char counts
# 3793|        until we find our line.  */
# 3794|->   line = iter->children.line;
# 3795|     while (line != target_line)
# 3796|       {

Error: COMPILER_WARNING (CWE-476): [#def194]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:4426:14: warning[-Wnull-dereference]: null pointer dereference
# 4426 |   while (node->level > 0)
#      |          ~~~~^~~~~~~
# 4424|      */
# 4425|   
# 4426|->   while (node->level > 0)
# 4427|       {
# 4428|         node = node->children.node;

Error: COMPILER_WARNING (CWE-476): [#def195]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_next_could_contain_tag’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:4428:12: warning[-Wnull-dereference]: potential null pointer dereference
# 4428 |       node = node->children.node;
#      |       ~~~~~^~~~~~~~~~~~~~~~~~~~~
# 4426|     while (node->level > 0)
# 4427|       {
# 4428|->       node = node->children.node;
# 4429|         while (node != NULL)
# 4430|           {

Error: COMPILER_WARNING (CWE-476): [#def196]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:4444:24: warning[-Wnull-dereference]: potential null pointer dereference
# 4444 |   return node->children.line;
#      |          ~~~~~~~~~~~~~~^~~~~
# 4442|     g_assert (node->level == 0);
# 4443|   
# 4444|->   return node->children.line;
# 4445|   }
# 4446|   

Error: COMPILER_WARNING (CWE-476): [#def197]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_previous_could_contain_tag’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:4624:14: warning[-Wnull-dereference]: potential null pointer dereference
# 4624 |   while (node->level > 0)
#      |          ~~~~^~~~~~~
# 4622|     node = found_node;
# 4623|   
# 4624|->   while (node->level > 0)
# 4625|       {
# 4626|         GSList *child_nodes = NULL;

Error: COMPILER_WARNING (CWE-476): [#def198]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c: scope_hint: In function ‘gtk_text_line_destroy’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextbtree.c:4747:7: warning[-Wnull-dereference]: potential null pointer dereference
# 4747 |       gtk_text_layout_free_line_data (view->layout, line, ld);
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 4745|   
# 4746|         next = ld->next;
# 4747|->       gtk_text_layout_free_line_data (view->layout, line, ld);
# 4748|   
# 4749|         ld = next;

Error: GCC_ANALYZER_WARNING (CWE-131): [#def199]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_paintable_segment_new’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextchild.c:187:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  185|     guint flags;
#  186|   
#  187|->   seg = g_malloc (PAINTABLE_SEG_SIZE);
#  188|   
#  189|     seg->type = &gtk_text_paintable_type;

Error: GCC_ANALYZER_WARNING (CWE-131): [#def200]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_widget_segment_new’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextchild.c:302:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  300|     GtkTextChildAnchorPrivate *priv = gtk_text_child_anchor_get_instance_private (anchor);
#  301|   
#  302|->   seg = g_malloc (WIDGET_SEG_SIZE);
#  303|   
#  304|     seg->type = &gtk_text_child_type;

Error: GCC_ANALYZER_WARNING (CWE-131): [#def201]
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextsegment.c: scope_hint: In function ‘_gtk_toggle_segment_new’
gtk4-4.17.0-build/gtk-4.17.0/gtk/gtktextsegment.c:436:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
#  434|     GtkTextLineSegment *seg;
#  435|   
#  436|->   seg = g_malloc (TSEG_SIZE);
#  437|   
#  438|     seg->type = on ? &gtk_text_toggle_on_type : &gtk_text_toggle_off_type;

Error: CPPCHECK_WARNING (CWE-457): [#def202]
gtk4-4.17.0-build/gtk-4.17.0/gtk/inspector/clipboard.c:74: error[legacyUninitvar]: Uninitialized variable: value
#   72|       g_assert_not_reached ();
#   73|   
#   74|->   if (value == NULL)
#   75|       gtk_data_viewer_load_error (viewer, error);
#   76|     else

Error: CPPCHECK_WARNING (CWE-457): [#def203]
gtk4-4.17.0-build/gtk-4.17.0/gtk/inspector/clipboard.c:132: error[legacyUninitvar]: Uninitialized variable: stream
#  130|       g_assert_not_reached ();
#  131|   
#  132|->   if (stream == NULL)
#  133|       gtk_data_viewer_load_error (viewer, error);
#  134|     else

Error: CPPCHECK_WARNING (CWE-823): [#def204]
gtk4-4.17.0-build/gtk-4.17.0/gtk/inspector/subsurfaceoverlay.c:52: error[arrayIndexOutOfBounds]: Array '"DAA520"[7]' accessed at index 7, which is out of bounds.
#   50|   
#   51|         if (gdk_subsurface_is_above_parent (subsurface))
#   52|->         color = GDK_RGBA ("DAA520"); /* goldenrod */
#   53|         else
#   54|           color = GDK_RGBA ("FF00FF"); /* magenta */

Error: CPPCHECK_WARNING (CWE-823): [#def205]
gtk4-4.17.0-build/gtk-4.17.0/gtk/inspector/subsurfaceoverlay.c:54: error[arrayIndexOutOfBounds]: Array '"FF00FF"[7]' accessed at index 7, which is out of bounds.
#   52|           color = GDK_RGBA ("DAA520"); /* goldenrod */
#   53|         else
#   54|->         color = GDK_RGBA ("FF00FF"); /* magenta */
#   55|   
#   56|         /* Use 4 color nodes since a border node overlaps and prevents

Error: GCC_ANALYZER_WARNING (CWE-476): [#def206]
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ppd’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:361:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘size’
/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.
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:29: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:933:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:954:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:954:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:955:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:955:3: note: in expansion of macro ‘GET_DOUBLE’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstrfuncs.h:190:11: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:328:7: note: in expansion of macro ‘g_str_has_suffix’
/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.
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:328:7: note: in expansion of macro ‘g_str_has_suffix’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:485:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:485:3: note: in expansion of macro ‘g_return_val_if_fail’
#  359|    out:
#  360|   
#  361|->   if (size->info == NULL ||
#  362|         size->info->ppd_name == -1 ||
#  363|         strcmp (paper_names + size->info->ppd_name, ppd_name) != 0)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ipp’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:455:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:485:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:485:3: note: in expansion of macro ‘g_return_val_if_fail’
#  453|   
#  454|     size = gtk_paper_size_new_custom (ipp_name, display_name, width, height, GTK_UNIT_POINTS);
#  455|->   size->is_custom = !found;
#  456|     size->is_ipp = found;
#  457|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_get_display_name.part.0’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkpapersize.c:648:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*size.info’
#  646|     g_assert (size->info != NULL);
#  647|   
#  648|->   display_name = paper_names + size->info->display_name;
#  649|     return g_dpgettext2 (GETTEXT_PACKAGE, "paper size", display_name);
#  650|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def209]
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprinter.c: scope_hint: In function ‘match_printer_name’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprinter.c:1354:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprinter.c:20: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 1352|                       gpointer    data)
# 1353|   {
# 1354|->   if (strcmp (gtk_printer_get_name (printer), (const char *)data) == 0)
# 1355|       {
# 1356|         found_printer = g_object_ref (printer);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def210]
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprinteroptionwidget.c: scope_hint: In function ‘filter_numeric’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprinteroptionwidget.c:732:13: warning[-Wanalyzer-null-argument]: use of NULL ‘val’ 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.
/usr/include/glib-2.0/glib/gi18n-lib.h:23: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprinteroptionwidget.c:24: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprinteroptionwidget.c:598:18: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprinteroptionwidget.c: scope_hint: In function ‘filter_numeric’
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprinteroptionwidget.c:598:18: note: in expansion of macro ‘g_strdup’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  730|     char *filtered_val;
#  731|     int i, j;
#  732|->   int len = strlen (val);
#  733|     gboolean dec_set = FALSE;
#  734|   

Error: CPPCHECK_WARNING (CWE-476): [#def211]
gtk4-4.17.0-build/gtk-4.17.0/gtk/print/gtkprintunixdialog.c:2869: warning[nullPointer]: Possible null pointer dereference: enum_value
# 2867|   
# 2868|             g_assert (enum_value != NULL);
# 2869|->           gtk_printer_option_set (option, enum_value->value_nick);
# 2870|             g_type_class_unref (enum_class);
# 2871|   

Error: CPPCHECK_WARNING (CWE-682): [#def212]
gtk4-4.17.0-build/gtk-4.17.0/testsuite/reftests/reftest-compare.c:99: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#   97|         const guint32 *row_a = (const guint32 *) (buf_a + y * stride_a);
#   98|         const guint32 *row_b = (const guint32 *) (buf_b + y * stride_b);
#   99|->       guint32 *row = (guint32 *) (buf_diff + y * stride_diff);
#  100|   
#  101|         for (x = 0; x < width; x++)

Error: CPPCHECK_WARNING (CWE-682): [#def213]
gtk4-4.17.0-build/gtk-4.17.0/testsuite/reftests/reftest-compare.c:189: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  187|         const float *row_a = (const float *) (buf_a + y * stride_a);
#  188|         const float *row_b = (const float *) (buf_b + y * stride_b);
#  189|->       float *row = (float *) (buf_diff + y * stride_diff);
#  190|   
#  191|         for (x = 0; x < width; x++)

Error: GCC_ANALYZER_WARNING (CWE-688): [#def214]
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-launch.c: scope_hint: In function ‘main’
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-launch.c:125:16: 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.
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-launch.c:28: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-launch.c:121:14: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-launch.c: scope_hint: In function ‘main’
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-launch.c:122:7: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-launch.c:124:27: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-launch.c: scope_hint: In function ‘main’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  123|       {
#  124|         desktop_file_name = g_strdup (app_name);
#  125|->       bus_name[strlen (bus_name) - strlen(".desktop")] = '\0';
#  126|       }
#  127|     else

Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-rendernode-tool-render.c: scope_hint: In function ‘render_file’
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-rendernode-tool-render.c:184:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
/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/gi18n-lib.h:23: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-rendernode-tool-render.c:26: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-rendernode-tool-render.c:179:7: note: in expansion of macro ‘g_str_has_suffix’
#  182|         if (bytes == NULL)
#  183|           {
#  184|->           g_printerr (_("Failed to generate SVG: %s\n"), error->message);
#  185|             exit (1);
#  186|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-rendernode-tool-render.c:196:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.17.0-build/gtk-4.17.0/tools/gtk-rendernode-tool-render.c:191:7: note: in expansion of macro ‘g_str_has_suffix’
#  194|         if (bytes == NULL)
#  195|           {
#  196|->           g_printerr (_("Failed to generate SVG: %s\n"), error->message);
#  197|             exit (1);
#  198|           }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def217]
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:451:7: warning[-Wanalyzer-null-argument]: use of NULL ‘path2’ where non-null expected
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c: scope_hint: In function ‘follow_links’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstrfuncs.h:190:11: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:654:15: note: in expansion of macro ‘g_str_has_suffix’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstrfuncs.h:190:11: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:465:8: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:428:11: note: in expansion of macro ‘g_strdup’
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
#  449|       }
#  450|   
#  451|->   if (strcmp (path, path2) == 0)
#  452|       {
#  453|         g_free (path2);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def218]
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c: scope_hint: In function ‘follow_links’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:451:7: warning[-Wanalyzer-null-argument]: use of NULL ‘path’ 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.
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:38: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c: scope_hint: In function ‘follow_links’
/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/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstrfuncs.h:190:11: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:654:15: note: in expansion of macro ‘g_str_has_suffix’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstrfuncs.h:190:11: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:465:8: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:428:11: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:23: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
#  449|       }
#  450|   
#  451|->   if (strcmp (path, path2) == 0)
#  452|       {
#  453|         g_free (path2);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def219]
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c: scope_hint: In function ‘scan_directory’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:667:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c: scope_hint: In function ‘scan_directory’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1251:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstrfuncs.h:190:11: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:654:15: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c:666:22: note: in expansion of macro ‘g_strdup’
gtk4-4.17.0-build/gtk-4.17.0/tools/updateiconcache.c: scope_hint: In function ‘scan_directory’
/usr/include/string.h:273:14: note: argument 1 of ‘strrchr’ must be non-null
#  665|   
#  666|   	  basename = g_strdup (name);
#  667|-> 	  dot = strrchr (basename, '.');
#  668|   	  *dot = '\0';
#  669|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-19.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namegtk4-4.17.0-1.fc42
store-results-to/tmp/tmp564nfykc/gtk4-4.17.0-1.fc42.tar.xz
time-created2024-11-13 00:34:30
time-finished2024-11-13 00:59:16
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp564nfykc/gtk4-4.17.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp564nfykc/gtk4-4.17.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9