Task #23386 - gtk4-4.16.3-1.fc41/scan-results.err
back to task #23386download
Error: CPPCHECK_WARNING (CWE-682):
gtk4-4.16.3-build/gtk-4.16.3/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: COMPILER_WARNING (CWE-670):
gtk4-4.16.3-build/gtk-4.16.3/demos/gtk-demo/main.c: scope_hint: In function ‘activate_about’
gtk4-4.16.3-build/gtk-4.16.3/demos/gtk-demo/main.c:204:74: warning[-Wduplicated-branches]: this condition has identical branches
# 204 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 202| PACKAGE_VERSION,
# 203| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 204|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 205| gtk_get_major_version (),
# 206| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670):
gtk4-4.16.3-build/gtk-4.16.3/demos/gtk-demo/main.c: scope_hint: In function ‘print_version’
gtk4-4.16.3-build/gtk-4.16.3/demos/gtk-demo/main.c:1122:56: warning[-Wduplicated-branches]: this condition has identical branches
# 1122 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 1120| PACKAGE_VERSION,
# 1121| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 1122|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 1123| }
# 1124|
Error: CPPCHECK_WARNING (CWE-457):
gtk4-4.16.3-build/gtk-4.16.3/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: COMPILER_WARNING (CWE-670):
gtk4-4.16.3-build/gtk-4.16.3/demos/icon-browser/iconbrowserapp.c: scope_hint: In function ‘about_activated’
gtk4-4.16.3-build/gtk-4.16.3/demos/icon-browser/iconbrowserapp.c:83:74: warning[-Wduplicated-branches]: this condition has identical branches
# 83 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 81| PACKAGE_VERSION,
# 82| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 83|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 84| gtk_get_major_version (),
# 85| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670):
gtk4-4.16.3-build/gtk-4.16.3/demos/node-editor/node-editor-application.c: scope_hint: In function ‘activate_about’
gtk4-4.16.3-build/gtk-4.16.3/demos/node-editor/node-editor-application.c:104:74: warning[-Wduplicated-branches]: this condition has identical branches
# 104 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 102| PACKAGE_VERSION,
# 103| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 104|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 105| gtk_get_major_version (),
# 106| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670):
gtk4-4.16.3-build/gtk-4.16.3/demos/node-editor/node-editor-application.c: scope_hint: In function ‘print_version’
gtk4-4.16.3-build/gtk-4.16.3/demos/node-editor/node-editor-application.c:260:56: warning[-Wduplicated-branches]: this condition has identical branches
# 260 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 258| PACKAGE_VERSION,
# 259| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 260|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 261| }
# 262|
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/demos/node-editor/node-editor-window.c: scope_hint: In function ‘export_image_response_cb’
gtk4-4.16.3-build/gtk-4.16.3/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: COMPILER_WARNING (CWE-670):
gtk4-4.16.3-build/gtk-4.16.3/demos/print-editor/print-editor.c: scope_hint: In function ‘activate_about’
gtk4-4.16.3-build/gtk-4.16.3/demos/print-editor/print-editor.c:623:74: warning[-Wduplicated-branches]: this condition has identical branches
# 623 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 621| PACKAGE_VERSION,
# 622| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 623|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 624| gtk_get_major_version (),
# 625| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670):
gtk4-4.16.3-build/gtk-4.16.3/demos/widget-factory/widget-factory.c: scope_hint: In function ‘activate_about’
gtk4-4.16.3-build/gtk-4.16.3/demos/widget-factory/widget-factory.c:338:74: warning[-Wduplicated-branches]: this condition has identical branches
# 338 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 336| PACKAGE_VERSION,
# 337| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 338|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 339| gtk_get_major_version (),
# 340| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670):
gtk4-4.16.3-build/gtk-4.16.3/demos/widget-factory/widget-factory.c: scope_hint: In function ‘print_version’
gtk4-4.16.3-build/gtk-4.16.3/demos/widget-factory/widget-factory.c:2510:56: warning[-Wduplicated-branches]: this condition has identical branches
# 2510 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 2508| PACKAGE_VERSION,
# 2509| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 2510|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 2511| }
# 2512|
Error: GCC_ANALYZER_WARNING (CWE-457):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssprovider.c:53: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_css_selectors_reserve’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkcssprovider.h:20: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssproviderprivate.h:20: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkcssprovider.h:27:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkcssprovider.h:27:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkcssprovider.c:1375:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:279:1: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:286:3: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:221:1: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:243:3: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:184:7: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:187:14: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_css_selectors_reserve’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:191:10: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkclipboard.c: scope_hint: In function ‘gdk_clipboard_set_valist’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:25: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkclipboardprivate.h:20: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.c:1277:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorimpl.h:21: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorprivate.h:104: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeprivate.h:7: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeimpl.c:21: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorstateprivate.h: scope_hint: In function ‘_gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorstateprivate.h:138:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeimpl.c:1454:5: note: in expansion of macro ‘gdk_color_finish’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorimpl.h:54:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeimpl.c: scope_hint: In function ‘_gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeimpl.c:1454:5: note: in expansion of macro ‘gdk_color_finish’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorimpl.h:54:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeimpl.c: scope_hint: In function ‘_gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeimpl.c:1454:5: note: in expansion of macro ‘gdk_color_finish’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorimpl.h:54:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeimpl.c: scope_hint: In function ‘_gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeimpl.c:1454:5: note: in expansion of macro ‘gdk_color_finish’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorimpl.h:54:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorimpl.h:54:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorimpl.h:54:3: note: in expansion of macro ‘gdk_color_state_unref’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcolorstateprivate.h: scope_hint: In function ‘_gdk_color_state_unref’
# 136|
# 137| if (g_atomic_ref_count_dec (&self->ref_count))
# 138|-> self->klass->free (self);
# 139| }
# 140|
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcontentserializer.c: scope_hint: In function ‘serialize_texture_in_thread’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkcontentserializer.c: scope_hint: In function ‘file_text_serializer’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkdisplay.c: scope_hint: In function ‘switch_to_pointer_grab’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkglcontext.c: scope_hint: In function ‘gdk_gl_context_import_dmabuf’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkglcontext.c:2265:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2263| gdk_dmabuf_egl_init (display);
# 2264|
# 2265|-> if (gdk_dmabuf_formats_contains (display->egl_dmabuf_formats, dmabuf->fourcc, dmabuf->modifier))
# 2266| {
# 2267| /* This is the path for modern drivers that support modifiers */
Error: GCC_ANALYZER_WARNING (CWE-457):
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c: scope_hint: In function ‘gdk_mipmap_guint8_1_linear’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c:406:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkmemoryformat.c:413:1: note: in expansion of macro ‘MIPMAP_FUNC’
gtk4-4.16.3-build/gtk-4.16.3/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: CPPCHECK_WARNING (CWE-457):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
gtk4-4.16.3-build/gtk-4.16.3/gdk/x11/gdkdisplay-x11.c:2214: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.16.3-build/gtk-4.16.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkdisplay.h:28: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkdisplayprivate.h:20: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/x11/gdkdisplay-x11.h:24: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/x11/gdkdisplay-x11.c:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/x11/gdkdisplay-x11.c:2209: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.16.3-build/gtk-4.16.3/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
# 2212| while ((key = va_arg (ap, const char *)))
# 2213| {
# 2214|-> value = va_arg (ap, const char *);
# 2215| if (!value)
# 2216| continue;
Error: GCC_ANALYZER_WARNING:
gtk4-4.16.3-build/gtk-4.16.3/gsk/gl/gskglglyphlibrary.c: scope_hint: In function ‘gsk_gl_glyph_library_upload_glyph’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gl/gskglglyphlibrary.c:281:32: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.16.3-build/gtk-4.16.3/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:
gtk4-4.16.3-build/gtk-4.16.3/gsk/gl/gskglrenderer.c: scope_hint: In function ‘gsk_gl_renderer_render_texture’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gl/gskglrenderer.c:384:14: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.16.3-build/gtk-4.16.3/gsk/gl/gskglrenderer.c:384:14: note: only use operands of an integer type inside the size argument
# 382| stride = width * 4;
# 383| size = stride * height;
# 384|-> data = g_malloc_n (stride, height);
# 385|
# 386| for (y = 0; y < height; y += max_size)
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gl/gskgltexturelibrary.c: scope_hint: In function ‘gsk_gl_texture_library_pack’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkglcontext.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkglcontextprivate.h:23: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gsk/gl/gskgltexturelibraryprivate.h:32:49: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gsk/gl/gskgltexturelibraryprivate.h:32:49: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gpu/gskgpuframe.c: scope_hint: In function ‘gsk_gpu_frame_sort_render_pass’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gpu/gskgpuframe.c:374:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
# 372|
# 373| case GSK_GPU_STAGE_END_PASS:
# 374|-> pass.command.last->next = op;
# 375| pass.command.last = op;
# 376| op = op->next;
Error: GCC_ANALYZER_WARNING:
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskcairorenderer.c: scope_hint: In function ‘gsk_cairo_renderer_render_texture’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskcairorenderer.c:118:14: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendererprivate.h:23: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrenderer.c:36: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrenderer.c: scope_hint: In function ‘gsk_renderer_new_for_surface’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskdebugprivate.h:43:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrenderer.c:793: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.16.3-build/gtk-4.16.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gsk/gsktypes.h:25: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrenderer.h:25: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gsk/gskrenderer.c:774: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.16.3-build/gtk-4.16.3/gdk/gdksurface.h:44:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrenderer.c:774: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.16.3-build/gtk-4.16.3/gsk/gskrenderer.c:774: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.16.3-build/gtk-4.16.3/gdk/gdksurface.h:44:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrenderer.c:774: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.16.3-build/gtk-4.16.3/gsk/gskdebugprivate.h:30:41: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskdebugprivate.h:42:9: note: in expansion of macro ‘GSK_DEBUG_CHECK’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrenderer.c:793: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.16.3-build/gtk-4.16.3/gsk/gskdebugprivate.h:30:41: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskdebugprivate.h:42:9: note: in expansion of macro ‘GSK_DEBUG_CHECK’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrenderer.c:793:7: note: in expansion of macro ‘GSK_DEBUG’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskdebugprivate.h:43:26: note: in definition of macro ‘GSK_DEBUG’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskdebugprivate.h:43:26: note: in definition of macro ‘GSK_DEBUG’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrenderer.c:793: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):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskoffload.c: scope_hint: In function ‘push_rect_clip’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskoffload.c:323:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*rect’
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernode.h:25: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskoffloadprivate.h:25: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskoffload.c:23: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:1565: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1563| create_default_render_node_with_bounds (const graphene_rect_t *rect)
# 1564| {
# 1565|-> return gsk_color_node_new (&GDK_RGBA("FF00CC"), rect);
# 1566| }
# 1567|
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:1757: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1755| if (stops == NULL)
# 1756| {
# 1757|-> GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1758| GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1759|
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:1758: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1756| {
# 1757| GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1758|-> GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1759|
# 1760| stops = g_array_new (FALSE, FALSE, sizeof (GskColorStop));
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:1815: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1813| if (stops == NULL)
# 1814| {
# 1815|-> GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1816| GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1817|
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:1816: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1814| {
# 1815| GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1816|-> GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1817|
# 1818| stops = g_array_new (FALSE, FALSE, sizeof (GskColorStop));
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:1877: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1875| if (stops == NULL)
# 1876| {
# 1877|-> GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1878| GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1879|
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:1878: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1876| {
# 1877| GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1878|-> GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1879|
# 1880| stops = g_array_new (FALSE, FALSE, sizeof (GskColorStop));
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:2182: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2180| source = create_default_render_node ();
# 2181| if (mask == NULL)
# 2182|-> mask = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2183|
# 2184| result = gsk_mask_node_new (source, mask, mode);
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:2431: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2429| parse_declarations (parser, context, declarations, G_N_ELEMENTS (declarations));
# 2430| if (start == NULL)
# 2431|-> start = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2432| if (end == NULL)
# 2433| end = create_default_render_node ();
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/gsk/gskrendernodeparser.c:2459: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2457| parse_declarations (parser, context, declarations, G_N_ELEMENTS (declarations));
# 2458| if (bottom == NULL)
# 2459|-> bottom = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2460| if (top == NULL)
# 2461| top = create_default_render_node ();
Error: CPPCHECK_WARNING (CWE-457):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtkiconview.c: scope_hint: In function ‘gtk_icon_view_button_release’
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtkiconview.c:2256:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtkshow.c: scope_hint: In function ‘show_uri_done’
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtkshow.c:218:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtkshow.c:28: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_update_children.part.0’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodel.h:24: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.h:25: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_get_iter_full.isra.0’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_get_iter’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_real_unref_node’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.c:1171:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_convert_path_to_child_path’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelsort.c: scope_hint: In function ‘gtk_tree_model_sort_get_iter’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreemodelsort.c: scope_hint: In function ‘gtk_tree_model_sort_convert_path_to_child_path’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreerbtree.c:271:43: warning[-Wnull-dereference]: potential null pointer dereference
# 271 | if (GTK_TREE_RBNODE_GET_COLOR (w->left) == GTK_TREE_RBNODE_BLACK && GTK_TREE_RBNODE_GET_COLOR (w->right) == GTK_TREE_RBNODE_BLACK)
# | ~^~~~~~
# 269| }
# 270| g_assert (w);
# 271|-> if (GTK_TREE_RBNODE_GET_COLOR (w->left) == GTK_TREE_RBNODE_BLACK && GTK_TREE_RBNODE_GET_COLOR (w->right) == GTK_TREE_RBNODE_BLACK)
# 272| {
# 273| GTK_TREE_RBNODE_SET_COLOR (w, GTK_TREE_RBNODE_RED);
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreerbtree.c:303:43: warning[-Wnull-dereference]: potential null pointer dereference
# 303 | if (GTK_TREE_RBNODE_GET_COLOR (w->right) == GTK_TREE_RBNODE_BLACK && GTK_TREE_RBNODE_GET_COLOR (w->left) == GTK_TREE_RBNODE_BLACK)
# | ~^~~~~~~
# 301| }
# 302| g_assert (w);
# 303|-> if (GTK_TREE_RBNODE_GET_COLOR (w->right) == GTK_TREE_RBNODE_BLACK && GTK_TREE_RBNODE_GET_COLOR (w->left) == GTK_TREE_RBNODE_BLACK)
# 304| {
# 305| GTK_TREE_RBNODE_SET_COLOR (w, GTK_TREE_RBNODE_RED);
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreestore.c: scope_hint: In function ‘gtk_tree_store_sort_iter_changed’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/deprecated/gtktreestore.c: scope_hint: In function ‘gtk_tree_store_sort_iter_changed’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkaccessiblevalue.c: scope_hint: In function ‘gtk_string_accessible_value_new’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkaccessiblevalueprivate.h:23: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkaccessiblevalue.c:368:17: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkactionmuxerprivate.h:22: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkactionmuxer.c:22: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkactionmuxer.c:90:33: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkactionmuxer.c:54: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:279:1: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:286:3: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:221:1: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:240:5: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:243:3: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:184:7: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:187:14: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:243:3: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘builder_construct’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘free_child_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:854:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1979: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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘expression_info_construct’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1296:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2002:33: note: in expansion of macro ‘state_peek_info’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderscope.h:26: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilder.h:25: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderprivate.h:21: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:21: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2002:33: note: in expansion of macro ‘state_peek_info’
# 1294| GError **error)
# 1295| {
# 1296|-> switch (info->expression_type)
# 1297| {
# 1298| case EXPRESSION_EXPRESSION:
Error: GCC_ANALYZER_WARNING (CWE-121):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1370:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2001:41: note: in expansion of macro ‘state_pop_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2001:41: note: in expansion of macro ‘state_pop_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2002:33: note: in expansion of macro ‘state_peek_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2002:33: note: in expansion of macro ‘state_peek_info’
# 1368| for (l = info->closure.params; l; l = l->next)
# 1369| {
# 1370|-> params[--i] = expression_info_construct (builder, l->data, error);
# 1371| if (params[i] == NULL)
# 1372| return NULL;
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1876:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1870:33: note: in expansion of macro ‘state_pop_info’
# 1874|
# 1875| /* Normal properties */
# 1876|-> if (info->tag_type == TAG_OBJECT ||
# 1877| info->tag_type == TAG_TEMPLATE)
# 1878| {
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1876:15: warning[-Wnull-dereference]: potential null pointer dereference
# 1876 | if (info->tag_type == TAG_OBJECT ||
# | ~~~~^~~~~~~~~~
# 1874|
# 1875| /* Normal properties */
# 1876|-> if (info->tag_type == TAG_OBJECT ||
# 1877| info->tag_type == TAG_TEMPLATE)
# 1878| {
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1881:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1870:33: note: in expansion of macro ‘state_pop_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1871:26: note: in expansion of macro ‘state_peek_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1871:26: note: in expansion of macro ‘state_peek_info’
# 1879| ObjectInfo *object_info = (ObjectInfo*)info;
# 1880|
# 1881|-> if (prop_info->translatable && prop_info->text->len)
# 1882| {
# 1883| const char *translated;
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1906:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1901:38: note: in expansion of macro ‘state_pop_info’
# 1904| g_assert (info != NULL);
# 1905|
# 1906|-> if (binfo->expr == NULL)
# 1907| {
# 1908| g_set_error (error,
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1914:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1901:38: note: in expansion of macro ‘state_pop_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1901:38: note: in expansion of macro ‘state_pop_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1901:38: note: in expansion of macro ‘state_pop_info’
# 1912| free_binding_expression_info (binfo);
# 1913| }
# 1914|-> else if (info->tag_type == TAG_OBJECT ||
# 1915| info->tag_type == TAG_TEMPLATE)
# 1916| {
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1990:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1987:33: note: in expansion of macro ‘state_pop_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1988:46: note: in expansion of macro ‘state_peek_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1988: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.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1990:34: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
# 1988| ObjectInfo *object_info = (ObjectInfo*)state_peek_info (data, CommonInfo);
# 1989| g_assert (object_info != NULL);
# 1990|-> signal_info->object_name = g_strdup (object_info->id);
# 1991|
# 1992| if (G_UNLIKELY (!object_info->signals))
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1990: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.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1987: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’
# 1988| ObjectInfo *object_info = (ObjectInfo*)state_peek_info (data, CommonInfo);
# 1989| g_assert (object_info != NULL);
# 1990|-> signal_info->object_name = g_strdup (object_info->id);
# 1991|
# 1992| if (G_UNLIKELY (!object_info->signals))
Error: COMPILER_WARNING (CWE-476):
/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.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1990:55: warning[-Wnull-dereference]: potential null pointer dereference
# 1990 | signal_info->object_name = g_strdup (object_info->id);
# | ~~~~~~~~~~~^~~~
# 1988| ObjectInfo *object_info = (ObjectInfo*)state_peek_info (data, CommonInfo);
# 1989| g_assert (object_info != NULL);
# 1990|-> signal_info->object_name = g_strdup (object_info->id);
# 1991|
# 1992| if (G_UNLIKELY (!object_info->signals))
Error: COMPILER_WARNING (CWE-476):
/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.16.3-build/gtk-4.16.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderscope.h:26: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilder.h:25: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderprivate.h:21: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:21: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:1992:35: warning[-Wnull-dereference]: potential null pointer dereference
# 1992 | if (G_UNLIKELY (!object_info->signals))
# | ~~~~~~~~~~~^~~~~~~~~
# 1990| signal_info->object_name = g_strdup (object_info->id);
# 1991|
# 1992|-> if (G_UNLIKELY (!object_info->signals))
# 1993| object_info->signals = g_ptr_array_new ();
# 1994|
Error: GCC_ANALYZER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2005:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2003| g_assert (parent_info != NULL);
# 2004|
# 2005|-> if (parent_info->tag_type == TAG_BINDING_EXPRESSION)
# 2006| {
# 2007| BindingExpressionInfo *expr_info = (BindingExpressionInfo *) parent_info;
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2005:22: warning[-Wnull-dereference]: potential null pointer dereference
# 2005 | if (parent_info->tag_type == TAG_BINDING_EXPRESSION)
# | ~~~~~~~~~~~^~~~~~~~~~
# 2003| g_assert (parent_info != NULL);
# 2004|
# 2005|-> if (parent_info->tag_type == TAG_BINDING_EXPRESSION)
# 2006| {
# 2007| BindingExpressionInfo *expr_info = (BindingExpressionInfo *) parent_info;
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2050:28: warning[-Wnull-dereference]: potential null pointer dereference
# 2050 | if (!strcmp (req_info->library, "gtk"))
# | ~~~~~~~~^~~~~~~~~
# 2048| * to check their library versions here.
# 2049| */
# 2050|-> if (!strcmp (req_info->library, "gtk"))
# 2051| {
# 2052| if (req_info->major == 4 && req_info->minor == 0)
Error: GCC_ANALYZER_WARNING (CWE-688):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘text’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2119:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2116:10: note: in expansion of macro ‘state_peek_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2116:10: note: in expansion of macro ‘state_peek_info’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkbuilderparser.c:2116: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
# 2117| g_assert (info != NULL);
# 2118|
# 2119|-> if (strcmp (gtk_buildable_parse_context_get_element (context), "property") == 0)
# 2120| {
# 2121| PropertyInfo *prop_info = (PropertyInfo*)info;
Error: CPPCHECK_WARNING (CWE-823):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkconstraintlayout.c: scope_hint: In function ‘layout_add_constraint’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkconstraintlayout.c:849:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘constraint’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkconstraintvflparser.c: scope_hint: In function ‘gtk_constraint_vfl_parser_parse_line’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkconstrainttypesprivate.h:24: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkconstraintvflparserprivate.h:24: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkconstraintvflparser.c:24: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkconstraintvflparser.c:827:24: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssbordervalue.c: scope_hint: In function ‘gtk_css_value_border_compute’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcsskeyframes.c: scope_hint: In function ‘_gtk_css_keyframes_print’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/css/gtkcss.h:29: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcsskeyframesprivate.h:22: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selector_compare_one’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c:191:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*b.class’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c:1848:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘found’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:116:1: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkarrayimpl.c:124:3: note: in expansion of macro ‘gdk_array’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c:119:44: note: in expansion of macro ‘G_MAXINT32’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c:2170:12: note: in expansion of macro ‘GTK_CSS_SELECTOR_TREE_EMPTY_OFFSET’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssvalueprivate.h:141:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkcssvalueprivate.h:141:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘y’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkeditable.c: scope_hint: In function ‘gtk_editable_delegate_get_property’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkaccessible.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkeditable.h:32: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkeditable.h:39:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkeditable.h:39:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkeditable.c:684:25: note: in expansion of macro ‘GTK_IS_EDITABLE’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkemojichooser.c: scope_hint: In function ‘keynav_failed’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktypes.h:37: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkemojichooser.h:24: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
/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.16.3-build/gtk-4.16.3/gtk/gtkaccessible.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkeditable.h:32: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.h:36: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentryprivate.h:20: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.c:31: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_paintable’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_icon_name’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_gicon’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_activatable’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_sensitive’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_drag_source’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_tooltip_text’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_tooltip_markup’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkflattenlistmodel.c: scope_hint: In function ‘gtk_flatten_list_model_model_items_changed_cb’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_above_focusable’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_below_focusable’
gtk4-4.16.3-build/gtk-4.16.3/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):
/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.16.3-build/gtk-4.16.3/gtk/gtkjoinedmenuprivate.h:22: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkjoinedmenu.c:22: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_attributes’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_iterate_item_attributes’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_attribute_value’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_links’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_iterate_item_links’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_link’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_tile_get_header’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_tile_get_footer’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_remove_items.part.0’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_release_items’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_model_sections_changed_cb.part.0’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtklistitemmanagerprivate.h:108:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkmaplistmodel.c: scope_hint: In function ‘gtk_map_list_model_items_changed_cb’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkmenutrackeritem.c: scope_hint: In function ‘gtk_menu_tracker_opener_new’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkactionobserverprivate.h:22: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkactionobservableprivate.h:22: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkmenutrackeritemprivate.h:22: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkmenutrackeritem.c:22: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkmenutrackeritem.c:1007:3: note: in expansion of macro ‘g_set_weak_pointer’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtkmenutrackeritem.c:1012:30: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtknotebook.c: scope_hint: In function ‘measure_tab’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtknotebook.c: scope_hint: In function ‘allocate_tab’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkrbtree.c: scope_hint: In function ‘gtk_rb_tree_insert_fixup’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksecurememory.c:174:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptr’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksecurememory.c: scope_hint: In function ‘pool_alloc’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksecurememory.c:1148:9: note: in expansion of macro ‘DO_LOCK’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksecurememory.c:308:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pool’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksecurememory.c:1287:9: note: in expansion of macro ‘DO_LOCK’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksecurememory.c: scope_hint: In function ‘gtk_secure_strndup_full’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkshortcutssection.c: scope_hint: In function ‘gtk_shortcuts_section_reflow_groups’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkshortcutssection.c: scope_hint: In function ‘gtk_shortcuts_section_reflow_groups’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksizerequest.c: scope_hint: In function ‘gtk_distribute_natural_allocation’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtksizerequest.h:24: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_char_is_invisible’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:2593: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.16.3-build/gtk-4.16.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbuffer.h:31: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtreeprivate.h:37: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:2483:6: note: in expansion of macro ‘G_LIKELY’
# 2591| #endif
# 2592| #endif
# 2593|-> invisible = tags[i]->priv->values->invisible;
# 2594| break;
# 2595| }
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:3066:18: warning[-Wnull-dereference]: null pointer dereference
# 3066 | while (node->level > 0)
# | ~~~~^~~~~~~
# 3064| continue_outer_loop:
# 3065| g_assert (node != NULL);
# 3066|-> while (node->level > 0)
# 3067| {
# 3068| g_assert (node != NULL); /* Failure probably means bad tag summaries. */
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_first_could_contain_tag’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:3069:16: warning[-Wnull-dereference]: potential null pointer dereference
# 3069 | node = node->children.node;
# | ~~~~~^~~~~~~~~~~~~~~~~~~~~
# 3067| {
# 3068| g_assert (node != NULL); /* Failure probably means bad tag summaries. */
# 3069|-> node = node->children.node;
# 3070| while (node != NULL)
# 3071| {
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:3085:28: warning[-Wnull-dereference]: potential null pointer dereference
# 3085 | return node->children.line;
# | ~~~~~~~~~~~~~~^~~~~
# 3083| g_assert (node->level == 0);
# 3084|
# 3085|-> return node->children.line;
# 3086| }
# 3087| else
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_last_could_contain_tag’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:3119:18: warning[-Wnull-dereference]: potential null pointer dereference
# 3119 | while (node->level > 0)
# | ~~~~^~~~~~~
# 3117| tag below it */
# 3118|
# 3119|-> while (node->level > 0)
# 3120| {
# 3121| last_node = NULL;
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:3441:58: warning[-Wnull-dereference]: potential null pointer dereference
# 3441 | tree->end_iter_segment_byte_index = last_with_chars->byte_count - 1;
# | ~~~~~~~~~~~~~~~^~~~~~~~~~~~
# 3439|
# 3440| /* We know the last char in the last line is '\n' */
# 3441|-> tree->end_iter_segment_byte_index = last_with_chars->byte_count - 1;
# 3442| tree->end_iter_segment_char_offset = last_with_chars->char_count - 1;
# 3443|
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:3442:59: warning[-Wnull-dereference]: potential null pointer dereference
# 3442 | tree->end_iter_segment_char_offset = last_with_chars->char_count - 1;
# | ~~~~~~~~~~~~~~~^~~~~~~~~~~~
# 3440| /* We know the last char in the last line is '\n' */
# 3441| tree->end_iter_segment_byte_index = last_with_chars->byte_count - 1;
# 3442|-> tree->end_iter_segment_char_offset = last_with_chars->char_count - 1;
# 3443|
# 3444| tree->end_iter_segment_stamp = tree->segments_changed_stamp;
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_char_index’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:3797:8: warning[-Wnull-dereference]: potential null pointer dereference
# 3797 | line = iter->children.line;
# | ~~~~~^~~~~~~~~~~~~~~~~~~~~
# 3795| have to iterate over the lines adding up segment char counts
# 3796| until we find our line. */
# 3797|-> line = iter->children.line;
# 3798| while (line != target_line)
# 3799| {
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:4429:14: warning[-Wnull-dereference]: null pointer dereference
# 4429 | while (node->level > 0)
# | ~~~~^~~~~~~
# 4427| */
# 4428|
# 4429|-> while (node->level > 0)
# 4430| {
# 4431| node = node->children.node;
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_next_could_contain_tag’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:4431:12: warning[-Wnull-dereference]: potential null pointer dereference
# 4431 | node = node->children.node;
# | ~~~~~^~~~~~~~~~~~~~~~~~~~~
# 4429| while (node->level > 0)
# 4430| {
# 4431|-> node = node->children.node;
# 4432| while (node != NULL)
# 4433| {
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:4447:24: warning[-Wnull-dereference]: potential null pointer dereference
# 4447 | return node->children.line;
# | ~~~~~~~~~~~~~~^~~~~
# 4445| g_assert (node->level == 0);
# 4446|
# 4447|-> return node->children.line;
# 4448| }
# 4449|
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_previous_could_contain_tag’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:4627:14: warning[-Wnull-dereference]: potential null pointer dereference
# 4627 | while (node->level > 0)
# | ~~~~^~~~~~~
# 4625| node = found_node;
# 4626|
# 4627|-> while (node->level > 0)
# 4628| {
# 4629| GSList *child_nodes = NULL;
Error: COMPILER_WARNING (CWE-476):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c: scope_hint: In function ‘gtk_text_line_destroy’
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextbtree.c:4750:7: warning[-Wnull-dereference]: potential null pointer dereference
# 4750 | gtk_text_layout_free_line_data (view->layout, line, ld);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 4748|
# 4749| next = ld->next;
# 4750|-> gtk_text_layout_free_line_data (view->layout, line, ld);
# 4751|
# 4752| ld = next;
Error: GCC_ANALYZER_WARNING (CWE-131):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_paintable_segment_new’
gtk4-4.16.3-build/gtk-4.16.3/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 = >k_text_paintable_type;
Error: GCC_ANALYZER_WARNING (CWE-131):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_widget_segment_new’
gtk4-4.16.3-build/gtk-4.16.3/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 = >k_text_child_type;
Error: GCC_ANALYZER_WARNING (CWE-131):
gtk4-4.16.3-build/gtk-4.16.3/gtk/gtktextsegment.c: scope_hint: In function ‘_gtk_toggle_segment_new’
gtk4-4.16.3-build/gtk-4.16.3/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 ? >k_text_toggle_on_type : >k_text_toggle_off_type;
Error: CPPCHECK_WARNING (CWE-457):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ppd’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/print/gtkpapersize.c:933:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkpapersize.c:954:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkpapersize.c:954:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkpapersize.c:955:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ipp’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/print/gtkpapersize.c:485:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_get_display_name.part.0’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkprinter.c: scope_hint: In function ‘match_printer_name’
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkprinter.c:1354:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkprinteroptionwidget.c: scope_hint: In function ‘filter_numeric’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/gtk/print/gtkprinteroptionwidget.c:24: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkprinteroptionwidget.c:598:18: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkprinteroptionwidget.c: scope_hint: In function ‘filter_numeric’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/gtk/print/gtkprintunixdialog.c:2865: warning[nullPointer]: Possible null pointer dereference: enum_value
# 2863|
# 2864| g_assert (enum_value != NULL);
# 2865|-> gtk_printer_option_set (option, enum_value->value_nick);
# 2866| g_type_class_unref (enum_class);
# 2867|
Error: CPPCHECK_WARNING (CWE-682):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/tools/gtk-launch.c: scope_hint: In function ‘main’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/tools/gtk-launch.c:28: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/tools/gtk-launch.c:121:14: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/tools/gtk-launch.c: scope_hint: In function ‘main’
gtk4-4.16.3-build/gtk-4.16.3/tools/gtk-launch.c:122:7: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.16.3-build/gtk-4.16.3/tools/gtk-launch.c:124:27: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/tools/gtk-rendernode-tool-render.c: scope_hint: In function ‘render_file’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/tools/gtk-rendernode-tool-render.c:26: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/tools/gtk-rendernode-tool-render.c:196:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/tools/updateiconcache.c:451:7: warning[-Wanalyzer-null-argument]: use of NULL ‘path2’ where non-null expected
gtk4-4.16.3-build/gtk-4.16.3/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/tools/updateiconcache.c:465:8: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/tools/updateiconcache.c: scope_hint: In function ‘follow_links’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/tools/updateiconcache.c:38: included_from: Included from here.
gtk4-4.16.3-build/gtk-4.16.3/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/tools/updateiconcache.c:465:8: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.16.3-build/gtk-4.16.3/tools/updateiconcache.c:428:11: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/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):
gtk4-4.16.3-build/gtk-4.16.3/tools/updateiconcache.c: scope_hint: In function ‘scan_directory’
gtk4-4.16.3-build/gtk-4.16.3/tools/updateiconcache.c:667:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.16.3-build/gtk-4.16.3/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/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.16.3-build/gtk-4.16.3/tools/updateiconcache.c:654:15: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.16.3-build/gtk-4.16.3/tools/updateiconcache.c:666:22: note: in expansion of macro ‘g_strdup’
gtk4-4.16.3-build/gtk-4.16.3/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|