gtk4-4.15.3-1.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
gtk4-4.15.3-build/gtk-4.15.3/demos/constraint-editor/constraint-editor-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def2]
gtk4-4.15.3-build/gtk-4.15.3/demos/constraint-editor/constraint-editor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def3]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/bluroverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def4]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/font_features.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def5]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/font_features.c:1475:28: warning[core.UndefinedBinaryOperatorResult]: The right operand of '!=' is a garbage value
# 1473|
# 1474| for (i = 0; i < n_axes; i++)
# 1475|-> if (instance_coords[i] != coords[i])
# 1476| return FALSE;
# 1477|
Error: CLANG_WARNING: [#def6]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/font_features.c:1594:5: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1592|
# 1593| for (i = 0; i < n_axes; i++)
# 1594|-> add_axis (hb_face, &ai[i], design_coords[i], i);
# 1595|
# 1596| add_font_plane (n_axes);
Error: CPPCHECK_WARNING: [#def7]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/gtkfishbowl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-682): [#def8]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def9]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/hsla.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def10]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/images.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def11]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/language-names.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def12]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/list_store.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def13]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/listbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def14]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/listview_colors.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def15]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/listview_minesweeper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def16]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/listview_selections.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def17]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/listview_words.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def18]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def19]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/path_text.c:121:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 119| graphene_point_t res;
# 120| gtk_path_transform_point (transform->measure, &pts[0], &transform->offset, transform->scale, &res);
# 121|-> gsk_path_builder_move_to (transform->builder, res.x, res.y);
# 122| }
# 123| break;
Error: CLANG_WARNING: [#def20]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/path_text.c:129:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 127| graphene_point_t res;
# 128| gtk_path_transform_point (transform->measure, &pts[1], &transform->offset, transform->scale, &res);
# 129|-> gsk_path_builder_line_to (transform->builder, res.x, res.y);
# 130| }
# 131| break;
Error: CLANG_WARNING: [#def21]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/path_text.c:138:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 136| gtk_path_transform_point (transform->measure, &pts[1], &transform->offset, transform->scale, &res[0]);
# 137| gtk_path_transform_point (transform->measure, &pts[2], &transform->offset, transform->scale, &res[1]);
# 138|-> gsk_path_builder_quad_to (transform->builder, res[0].x, res[0].y, res[1].x, res[1].y);
# 139| }
# 140| break;
Error: CLANG_WARNING: [#def22]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/path_text.c:148:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 146| gtk_path_transform_point (transform->measure, &pts[2], &transform->offset, transform->scale, &res[1]);
# 147| gtk_path_transform_point (transform->measure, &pts[3], &transform->offset, transform->scale, &res[2]);
# 148|-> gsk_path_builder_cubic_to (transform->builder, res[0].x, res[0].y, res[1].x, res[1].y, res[2].x, res[2].y);
# 149| }
# 150| break;
Error: CLANG_WARNING: [#def23]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/path_text.c:157:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 155| gtk_path_transform_point (transform->measure, &pts[1], &transform->offset, transform->scale, &res[0]);
# 156| gtk_path_transform_point (transform->measure, &pts[3], &transform->offset, transform->scale, &res[1]);
# 157|-> gsk_path_builder_conic_to (transform->builder, res[0].x, res[0].y, res[1].x, res[1].y, weight);
# 158| }
# 159| break;
Error: CPPCHECK_WARNING: [#def24]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/path_walk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def25]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/peg_solitaire.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def26]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def27]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/singular_value_decomposition.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def28]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/sliding_puzzle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def29]
gtk4-4.15.3-build/gtk-4.15.3/demos/gtk-demo/suggestionentry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def30]
gtk4-4.15.3-build/gtk-4.15.3/demos/node-editor/node-editor-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def31]
gtk4-4.15.3-build/gtk-4.15.3/demos/node-editor/node-editor-window.c:916:47: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 914|
# 915| alert = gtk_alert_dialog_new ("Exporting to image failed");
# 916|-> gtk_alert_dialog_set_detail (alert, error->message);
# 917| gtk_alert_dialog_show (alert, NULL);
# 918| g_object_unref (alert);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def32]
gtk4-4.15.3-build/gtk-4.15.3/demos/node-editor/node-editor-window.c: scope_hint: In function ‘export_image_response_cb’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def33]
gtk4-4.15.3-build/gtk-4.15.3/demos/widget-factory/widget-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def34]
gtk4-4.15.3-build/gtk-4.15.3/gdk/broadway/broadway-server.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def35]
gtk4-4.15.3-build/gtk-4.15.3/gdk/broadway/broadway-server.c:664:5: warning[deadcode.DeadStores]: Value stored to 'p' is never read
# 662|
# 663| case BROADWAY_EVENT_POINTER_MOVE: /* Mouse move */
# 664|-> p = parse_pointer_data (p, &msg.pointer);
# 665| update_future_pointer_info (server, &msg.pointer);
# 666| break;
Error: CLANG_WARNING: [#def36]
gtk4-4.15.3-build/gtk-4.15.3/gdk/broadway/broadway-server.c:682:5: warning[deadcode.DeadStores]: Value stored to 'p' is never read
# 680|
# 681| case BROADWAY_EVENT_TOUCH:
# 682|-> p = parse_touch_data (p, &msg.touch);
# 683| break;
# 684|
Error: CLANG_WARNING: [#def37]
gtk4-4.15.3-build/gtk-4.15.3/gdk/broadway/broadway-server.c:1387:11: warning[unix.Malloc]: Potential leak of memory pointed to by 'request'
# 1385| if (!certificate)
# 1386| {
# 1387|-> g_warning ("Cannot create TLS certificate: %s", error->message);
# 1388| g_error_free (error);
# 1389| return FALSE;
Error: CLANG_WARNING: [#def38]
gtk4-4.15.3-build/gtk-4.15.3/gdk/broadway/broadway-server.c:1791:3: warning[deadcode.DeadStores]: Value stored to 'size' is never read
# 1789| g_assert (*pos < len);
# 1790|
# 1791|-> size = 0;
# 1792| n_children = 0;
# 1793| texture_offset = -1;
Error: CPPCHECK_WARNING: [#def39]
gtk4-4.15.3-build/gtk-4.15.3/gdk/broadway/broadwayd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def40]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def41]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:53: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_css_selectors_reserve’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.h:20: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssproviderprivate.h:20: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:1427:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.h:27:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:1374:21: note: in expansion of macro ‘GTK_IS_CSS_PROVIDER’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.h:27:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:1374:21: note: in expansion of macro ‘GTK_IS_CSS_PROVIDER’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:1374:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:1375:21: note: in expansion of macro ‘G_IS_FILE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:1375:21: note: in expansion of macro ‘G_IS_FILE’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:1375:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:279:1: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:286:3: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:221:1: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:243:3: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:179:1: note: in expansion of macro ‘gdk_array’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:184:7: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:187:14: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_css_selectors_reserve’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:191:10: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.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:315:57: note: in expansion of macro ‘_G_NEW’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def42]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanrealdescriptors.c:15: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:253:9: warning[unix.Malloc]: Use of memory after it is freed
# 251| {
# 252| if (additions)
# 253|-> memcpy (gdk_array(index) (self, pos),
# 254| additions,
# 255| added * sizeof (_T_));
Error: GCC_ANALYZER_WARNING (CWE-686): [#def43]
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1346:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def44]
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def45]
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1346:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def46]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c: scope_hint: In function ‘gdk_clipboard_set_valist’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboardprivate.h:20: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:21: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def47]
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1345:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1346:21: note: in expansion of macro ‘GDK_IS_TEXTURE’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1346:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def48]
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def49]
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1329:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1254:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkclipboard.c:1277:21: note: in expansion of macro ‘GDK_IS_CLIPBOARD’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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: CPPCHECK_WARNING (CWE-823): [#def50]
gtk4-4.15.3-build/gtk-4.15.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): [#def51]
gtk4-4.15.3-build/gtk-4.15.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): [#def52]
gtk4-4.15.3-build/gtk-4.15.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): [#def53]
gtk4-4.15.3-build/gtk-4.15.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: [#def54]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentformats.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def55]
gtk4-4.15.3-build/gtk-4.15.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): [#def56]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c: scope_hint: In function ‘serialize_texture_in_thread’
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c:193:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c:193:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c:193:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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): [#def57]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c: scope_hint: In function ‘file_text_serializer’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c:870:7: note: in expansion of macro ‘G_VALUE_HOLDS’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c:279:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c:279:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c:279:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c:261:25: note: in expansion of macro ‘GDK_IS_CONTENT_SERIALIZER’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def58]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcontentserializer.c:906:36: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 904| g_output_stream_write_all_async (gdk_content_serializer_get_output_stream (serializer),
# 905| path,
# 906|-> strlen (path),
# 907| gdk_content_serializer_get_priority (serializer),
# 908| gdk_content_serializer_get_cancellable (serializer),
Error: CPPCHECK_WARNING: [#def59]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkcursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def60]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdebugprivate.h:60: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 58| GDK_DEBUG_HIGH_DEPTH = 1 << 29,
# 59| GDK_DEBUG_NO_VSYNC = 1 << 30,
# 60|-> GDK_DEBUG_DMABUF_DISABLE = 1 << 31,
# 61| } GdkDebugFlags;
# 62|
Error: CPPCHECK_WARNING: [#def61]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdevice.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdisplay.c: scope_hint: In function ‘switch_to_pointer_grab’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdisplay.c:706:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 704| /* !owner_event Grabbing a surface that we're not inside, current status is
# 705| now NULL (i.e. outside grabbed surface) */
# 706|-> if (!grab->owner_events && info->surface_under_pointer != grab->surface)
# 707| _gdk_display_set_surface_under_pointer (display, device, NULL);
# 708| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdisplay.c:726:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 724| /* w is now toplevel and x,y in toplevel coords */
# 725| _gdk_display_set_surface_under_pointer (display, device, new_toplevel);
# 726|-> info->toplevel_x = x;
# 727| info->toplevel_y = y;
# 728| info->state = state;
Error: CPPCHECK_WARNING: [#def64]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdisplaymanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def65]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdmabuf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def66]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdmabufegl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def67]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdmabuftexturebuilder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def68]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdrag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def69]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdrop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def70]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkevents.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkglcontext.c: scope_hint: In function ‘gdk_gl_context_import_dmabuf’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkglcontext.c:2206:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2204| gdk_display_init_dmabuf (display);
# 2205|
# 2206|-> if (gdk_dmabuf_formats_contains (display->egl_dmabuf_formats, dmabuf->fourcc, dmabuf->modifier))
# 2207| {
# 2208| /* This is the path for modern drivers that support modifiers */
Error: CPPCHECK_WARNING: [#def72]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkgltexture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def73]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkhsla.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def74]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkkeys.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def75]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkmemoryformat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def76]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkmemorytexture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def77]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkpaintable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def78]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkrgba.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def79]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkseatdefault.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def80]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdksubsurface.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def81]
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdksurface.c:2127:3: warning[core.NullDereference]: Access to field 'g_class' results in a dereference of a null pointer (loaded from variable 'device')
# 2125| cursor = cursor_surface->cursor;
# 2126|
# 2127|-> GDK_DEVICE_GET_CLASS (device)->set_surface_cursor (device, pointer_surface, cursor);
# 2128| }
# 2129|
Error: CLANG_WARNING: [#def82]
gtk4-4.15.3-build/gtk-4.15.3/gdk/loaders/gdkjpeg.c:120:13: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 118| int c, m, y, k;
# 119|
# 120|-> c = dest[0];
# 121| m = dest[1];
# 122| y = dest[2];
Error: CPPCHECK_WARNING: [#def83]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/cursor/wayland-cursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def84]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/cursor/xcursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def85]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/gdkdevice-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def86]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/gdkdmabuf-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def87]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/gdkeventsource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def88]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/gdkkeymap-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def89]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/gdkkeymap-wayland.c:432:20: warning[core.uninitialized.Assign]: The expression is an uninitialized value. The computed value will also be garbage
# 430| {
# 431| case PANGO_DIRECTION_RTL:
# 432|-> rtl[layout]++;
# 433| break;
# 434| case PANGO_DIRECTION_LTR:
Error: CLANG_WARNING: [#def90]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/gdkkeymap-wayland.c:435:20: warning[core.uninitialized.Assign]: The expression is an uninitialized value. The computed value will also be garbage
# 433| break;
# 434| case PANGO_DIRECTION_LTR:
# 435|-> rtl[layout]--;
# 436| break;
# 437| case PANGO_DIRECTION_TTB_LTR:
Error: CPPCHECK_WARNING: [#def91]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/gdkseat-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def92]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/gdksubsurface-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def93]
gtk4-4.15.3-build/gtk-4.15.3/gdk/wayland/wm-button-layout-translation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def94]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkapplaunchcontext-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def95]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkasync.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def96]
gtk4-4.15.3-build/gtk-4.15.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): [#def97]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def98]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkclipboard-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def99]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkclipboard-x11.c:78:65: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 76| g_string_append_printf (str, "%s: %s [ ", cb->selection, prefix);
# 77| for (i = 0; i < n_atoms; i++)
# 78|-> g_string_append_printf (str, "%s%s", i > 0 ? ", " : "", gdk_x11_get_xatom_name_for_display (display , atoms[i]));
# 79| g_string_append (str, " ]");
# 80|
Error: CPPCHECK_WARNING: [#def100]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkcursor-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def101]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevice-xi2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def102]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevice-xi2.c:509:12: warning[deadcode.DeadStores]: Although the value stored to 'surface' is used in the enclosing expression, the value is never actually read from 'surface'
# 507|
# 508| if (last != root &&
# 509|-> (surface = gdk_x11_surface_lookup_for_display (display, last)) != NULL)
# 510| {
# 511| xwindow = last;
Error: CLANG_WARNING: [#def103]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevice-xi2.c:539:34: warning[core.UndefinedBinaryOperatorResult]: The left operand of '/' is a garbage value
# 537|
# 538| if (win_x)
# 539|-> *win_x = (surface) ? (xwin_x / impl->surface_scale) : -1;
# 540|
# 541| if (win_y)
Error: CLANG_WARNING: [#def104]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevice-xi2.c:542:34: warning[core.UndefinedBinaryOperatorResult]: The left operand of '/' is a garbage value
# 540|
# 541| if (win_y)
# 542|-> *win_y = (surface) ? (xwin_y / impl->surface_scale) : -1;
# 543|
# 544|
Error: CLANG_WARNING: [#def105]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevice-xi2.c:640:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 638|
# 639| if (mods_state)
# 640|-> state = mods_state->effective;
# 641|
# 642| if (buttons_state)
Error: CPPCHECK_WARNING: [#def106]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevicemanager-xi2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def107]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevicemanager-xi2.c:1543:9: warning[deadcode.DeadStores]: Value stored to 'source_device' is never read
# 1541| GUINT_TO_POINTER (xev->deviceid));
# 1542|
# 1543|-> source_device = g_hash_table_lookup (device_manager->id_table,
# 1544| GUINT_TO_POINTER (xev->sourceid));
# 1545|
Error: CLANG_WARNING: [#def108]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevicemanager-xi2.c:1648:13: warning[deadcode.DeadStores]: Value stored to 'device' is never read
# 1646| direction = GDK_SCROLL_RIGHT;
# 1647|
# 1648|-> device = g_hash_table_lookup (device_manager->id_table,
# 1649| GUINT_TO_POINTER (xev->deviceid));
# 1650|
Error: CLANG_WARNING: [#def109]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevicemanager-xi2.c:1828:9: warning[deadcode.DeadStores]: Value stored to 'source_device' is never read
# 1826| GUINT_TO_POINTER (xev->deviceid));
# 1827|
# 1828|-> source_device = g_hash_table_lookup (device_manager->id_table,
# 1829| GUINT_TO_POINTER (xev->sourceid));
# 1830|
Error: CLANG_WARNING: [#def110]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevicemanager-xi2.c:1878:9: warning[deadcode.DeadStores]: Value stored to 'source_device' is never read
# 1876| GINT_TO_POINTER (xev->deviceid));
# 1877|
# 1878|-> source_device = g_hash_table_lookup (device_manager->id_table,
# 1879| GUINT_TO_POINTER (xev->sourceid));
# 1880|
Error: CLANG_WARNING: [#def111]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdevicemanager-xi2.c:2040:9: warning[deadcode.DeadStores]: Value stored to 'source_device' is never read
# 2038| GINT_TO_POINTER (xev->deviceid));
# 2039|
# 2040|-> source_device = g_hash_table_lookup (device_manager->id_table,
# 2041| GUINT_TO_POINTER (xev->sourceid));
# 2042|
Error: GCC_ANALYZER_WARNING (CWE-685): [#def112]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdisplay-x11.c:2211: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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdisplay.h:28: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkdisplayprivate.h:20: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdisplay-x11.h:24: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdisplay-x11.c:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdisplay-x11.c:2206:3: note: in expansion of macro ‘g_string_append_c’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstring.h:198:7: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
# 2209| while ((key = va_arg (ap, const char *)))
# 2210| {
# 2211|-> value = va_arg (ap, const char *);
# 2212| if (!value)
# 2213| continue;
Error: CPPCHECK_WARNING: [#def113]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdrag-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def114]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkdrop-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def115]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkeventsource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def116]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkkeys-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def117]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkkeys-x11.c:1047:20: warning[core.NullDereference]: Access to field 'len' results in a dereference of a null pointer (loaded from variable 'key_array')
# 1045| if (keys)
# 1046| {
# 1047|-> *n_entries = key_array->len;
# 1048| *keys = (GdkKeymapKey*) g_array_free (key_array, FALSE);
# 1049| }
Error: CLANG_WARNING: [#def118]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkkeys-x11.c:1053:20: warning[core.NullDereference]: Access to field 'len' results in a dereference of a null pointer (loaded from variable 'keyval_array')
# 1051| if (keyvals)
# 1052| {
# 1053|-> *n_entries = keyval_array->len;
# 1054| *keyvals = (guint*) g_array_free (keyval_array, FALSE);
# 1055| }
Error: CLANG_WARNING: [#def119]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkkeys-x11.c:1120:5: warning[deadcode.DeadStores]: Value stored to 'col' is never read
# 1118|
# 1119| /* find the offset of the effective group */
# 1120|-> col = 0;
# 1121| effectiveGroup= XkbGroupForCoreState(mods);
# 1122| if ( effectiveGroup>=nKeyGroups ) {
Error: CPPCHECK_WARNING: [#def120]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkscreen-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def121]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkselection-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def122]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkselectionoutputstream-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def123]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkselectionoutputstream-x11.c:938:19: warning[unix.Malloc]: Use of memory after it is freed
# 936| "%s: MULTIPLE as target in MULTIPLE request would cause recursion",
# 937| selection);
# 938|-> gdk_x11_pending_selection_notify_send (notify, display, FALSE);
# 939| }
# 940| else
Error: CLANG_WARNING: [#def124]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkselectionoutputstream-x11.c:942:29: warning[unix.Malloc]: Use of memory after it is freed
# 940| else
# 941| {
# 942|-> success = gdk_x11_selection_output_streams_request (display,
# 943| notify,
# 944| formats,
Error: CPPCHECK_WARNING: [#def125]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/gdkxftdefaults.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def126]
gtk4-4.15.3-build/gtk-4.15.3/gdk/x11/xsettings-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def127]
gtk4-4.15.3-build/gtk-4.15.3/gsk/broadway/gskbroadwayrenderer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def128]
gtk4-4.15.3-build/gtk-4.15.3/gsk/broadway/gskbroadwayrenderer.c:541:5: warning[deadcode.DeadStores]: Value stored to 'colorized_list' is never read
# 539| colorized = colorized_texture_new (colorized_texture, color_matrix, color_offset);
# 540| if (colorized_list)
# 541|-> colorized_list = g_list_append (colorized_list, colorized);
# 542| else
# 543| {
Error: CPPCHECK_WARNING: [#def129]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglcompiler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def130]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglcompiler.c:396: error[legacyUninitvar]: Uninitialized variable: loc
# 394| g_return_if_reached ();
# 395|
# 396|-> if (*loc != suffix_bytes)
# 397| {
# 398| g_clear_pointer (loc, g_bytes_unref);
Error: GCC_ANALYZER_WARNING: [#def131]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglglyphlibrary.c: scope_hint: In function ‘gsk_gl_glyph_library_upload_glyph’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglglyphlibrary.c:281:32: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.15.3-build/gtk-4.15.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: [#def132]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglrenderer.c: scope_hint: In function ‘gsk_gl_renderer_render_texture’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglrenderer.c:434:14: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglrenderer.c:434:14: note: only use operands of an integer type inside the size argument
# 432| stride = width * 4;
# 433| size = stride * height;
# 434|-> data = g_malloc_n (stride, height);
# 435|
# 436| for (y = 0; y < height; y += max_size)
Error: CLANG_WARNING: [#def133]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglrenderjob.c:1445:10: warning[core.StackAddressEscape]: Address of stack memory associated with local variable 'bounds' is still referred to by the stack variable 'offscreen' upon returning to the caller. This will be a dangling reference
# 1443| *max_x = job->offset_x + node->bounds.origin.x + node->bounds.size.width + half_blur_extra;
# 1444| *min_y = job->offset_y + node->bounds.origin.y - half_blur_extra;
# 1445|-> *max_y = job->offset_y + node->bounds.origin.y + node->bounds.size.height + half_blur_extra;
# 1446| }
# 1447|
Error: CPPCHECK_WARNING: [#def134]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskgltexturelibrary.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskgltexturelibrary.c: scope_hint: In function ‘gsk_gl_texture_library_pack’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkglcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkglcontextprivate.h:23: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskgltexturelibrary.c:23: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gsk/gl/gskgltexturelibraryprivate.h:32:49: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gsk/gl/gskgltexturelibraryprivate.h:32:49: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def136]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskgluniformstate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def137]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglrenderjob.c:43: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskglcommandqueueprivate.h:28: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskgluniformstateprivate.h:510:33: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 508| if ((u = gsk_gl_uniform_state_get_value (state, program, GSK_GL_UNIFORM_FORMAT_MATRIX, 1, key, stamp, &info)))
# 509| {
# 510|-> if (info->info.initial || memcmp (u, matrix, sizeof *u) != 0)
# 511| {
# 512| GSK_GL_UNIFORM_STATE_REPLACE (info, u, graphene_matrix_t, 1);
Error: CLANG_WARNING: [#def138]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/gskgluniformstateprivate.h:513:11: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 511| {
# 512| GSK_GL_UNIFORM_STATE_REPLACE (info, u, graphene_matrix_t, 1);
# 513|-> memcpy (u, matrix, sizeof *matrix);
# 514| gsk_gl_uniform_info_changed (info, stamp);
# 515| }
Error: CPPCHECK_WARNING: [#def139]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gl/stb_rect_pack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def140]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpudevice.c:337:13: warning[deadcode.DeadStores]: Although the value stored to 'self' is used in the enclosing expression, the value is never actually read from 'self'
# 335| if (gdk_texture_get_render_data (texture, device))
# 336| gdk_texture_clear_render_data (texture);
# 337|-> else if ((self = g_hash_table_lookup (priv->texture_cache, texture)))
# 338| g_hash_table_remove (priv->texture_cache, texture);
# 339|
Error: CLANG_WARNING: [#def141]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpudownloadop.c:340:3: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 338| gdk_gl_texture_builder_set_width (builder, gsk_gpu_image_get_width (self->image));
# 339| gdk_gl_texture_builder_set_height (builder, gsk_gpu_image_get_height (self->image));
# 340|-> gdk_gl_texture_builder_set_sync (builder, data->sync);
# 341|
# 342| self->texture = gdk_gl_texture_builder_build (builder,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpuframe.c: scope_hint: In function ‘gsk_gpu_frame_sort_render_pass’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpuframe.c:301:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
# 299|
# 300| case GSK_GPU_STAGE_END_PASS:
# 301|-> pass.command.last->next = op;
# 302| pass.command.last = op;
# 303| op = op->next;
Error: CLANG_WARNING: [#def143]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpuframe.c:301:35: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from field 'last')
# 299|
# 300| case GSK_GPU_STAGE_END_PASS:
# 301|-> pass.command.last->next = op;
# 302| pass.command.last = op;
# 303| op = op->next;
Error: CLANG_WARNING: [#def144]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpuframe.c:532:7: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 530| if (size)
# 531| {
# 532|-> memcpy (priv->storage_buffer_data + offset, data, size);
# 533| priv->storage_buffer_used += size;
# 534| }
Error: CPPCHECK_WARNING: [#def145]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpunodeprocessor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def146]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpunodeprocessor.c:249:36: warning[core.UndefinedBinaryOperatorResult]: The left operand of '&' is a garbage value
# 247| GskGpuGlobals required;
# 248|
# 249|-> required = self->pending_globals & ~ignored;
# 250|
# 251| if (required & (GSK_GPU_GLOBAL_MATRIX | GSK_GPU_GLOBAL_SCALE | GSK_GPU_GLOBAL_CLIP))
Error: CLANG_WARNING: [#def147]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpunodeprocessor.c:2288:25: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
# 2286|
# 2287| other.blend = GSK_GPU_BLEND_ADD;
# 2288|-> other.pending_globals |= GSK_GPU_GLOBAL_BLEND;
# 2289| gsk_gpu_node_processor_sync_globals (&other, 0);
# 2290|
Error: CLANG_WARNING: [#def148]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpunodeprocessor.c:3202:7: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3200| glyph_origin.y - glyph_offset.y * inv_scale);
# 3201|
# 3202|-> gsk_gpu_pattern_writer_append_uint (self, tex_id);
# 3203| gsk_gpu_pattern_writer_append_rect (self,
# 3204| &GRAPHENE_RECT_INIT (
Error: CPPCHECK_WARNING: [#def149]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpushaderop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def150]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkandevice.c:1191:29: warning[core.BitwiseShift]: Left shift by '60' overflows the capacity of 'int'
# 1189| n_buffers = MAX (n_buffers, 8);
# 1190| g_assert (n_buffers <= self->max_buffers);
# 1191|-> setup.n_samplers = MIN (2 << g_bit_nth_msf (n_samplers - 1, -1), self->max_samplers);
# 1192| setup.n_buffers = MIN (2 << g_bit_nth_msf (n_buffers - 1, -1), self->max_buffers);
# 1193| setup.n_immutable_samplers = n_immutable_samplers;
Error: CLANG_WARNING: [#def151]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkandevice.c:1191:29: warning[core.BitwiseShift]: Left shift by '61' overflows the capacity of 'int'
# 1189| n_buffers = MAX (n_buffers, 8);
# 1190| g_assert (n_buffers <= self->max_buffers);
# 1191|-> setup.n_samplers = MIN (2 << g_bit_nth_msf (n_samplers - 1, -1), self->max_samplers);
# 1192| setup.n_buffers = MIN (2 << g_bit_nth_msf (n_buffers - 1, -1), self->max_buffers);
# 1193| setup.n_immutable_samplers = n_immutable_samplers;
Error: CLANG_WARNING: [#def152]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkandevice.c:1191:29: warning[core.BitwiseShift]: Left shift by '62' overflows the capacity of 'int'
# 1189| n_buffers = MAX (n_buffers, 8);
# 1190| g_assert (n_buffers <= self->max_buffers);
# 1191|-> setup.n_samplers = MIN (2 << g_bit_nth_msf (n_samplers - 1, -1), self->max_samplers);
# 1192| setup.n_buffers = MIN (2 << g_bit_nth_msf (n_buffers - 1, -1), self->max_buffers);
# 1193| setup.n_immutable_samplers = n_immutable_samplers;
Error: CLANG_WARNING: [#def153]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkandevice.c:1191:29: warning[core.BitwiseShift]: Left shift by '63' overflows the capacity of 'int'
# 1189| n_buffers = MAX (n_buffers, 8);
# 1190| g_assert (n_buffers <= self->max_buffers);
# 1191|-> setup.n_samplers = MIN (2 << g_bit_nth_msf (n_samplers - 1, -1), self->max_samplers);
# 1192| setup.n_buffers = MIN (2 << g_bit_nth_msf (n_buffers - 1, -1), self->max_buffers);
# 1193| setup.n_immutable_samplers = n_immutable_samplers;
Error: CLANG_WARNING: [#def154]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:211:33: warning[core.BitwiseShift]: Left shift by '60' overflows the capacity of 'int'
# 209| self->pool_n_sets = 4 << g_bit_nth_msf (n_sets - 1, -1);
# 210| if (n_images > self->pool_n_images)
# 211|-> self->pool_n_images = 2 << g_bit_nth_msf (n_images - 1, -1);
# 212| if (n_buffers > self->pool_n_buffers)
# 213| self->pool_n_buffers = 4 << g_bit_nth_msf (n_buffers - 1, -1);
Error: CLANG_WARNING: [#def155]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:211:33: warning[core.BitwiseShift]: Left shift by '61' overflows the capacity of 'int'
# 209| self->pool_n_sets = 4 << g_bit_nth_msf (n_sets - 1, -1);
# 210| if (n_images > self->pool_n_images)
# 211|-> self->pool_n_images = 2 << g_bit_nth_msf (n_images - 1, -1);
# 212| if (n_buffers > self->pool_n_buffers)
# 213| self->pool_n_buffers = 4 << g_bit_nth_msf (n_buffers - 1, -1);
Error: CLANG_WARNING: [#def156]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:211:33: warning[core.BitwiseShift]: Left shift by '62' overflows the capacity of 'int'
# 209| self->pool_n_sets = 4 << g_bit_nth_msf (n_sets - 1, -1);
# 210| if (n_images > self->pool_n_images)
# 211|-> self->pool_n_images = 2 << g_bit_nth_msf (n_images - 1, -1);
# 212| if (n_buffers > self->pool_n_buffers)
# 213| self->pool_n_buffers = 4 << g_bit_nth_msf (n_buffers - 1, -1);
Error: CLANG_WARNING: [#def157]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:211:33: warning[core.BitwiseShift]: Left shift by '63' overflows the capacity of 'int'
# 209| self->pool_n_sets = 4 << g_bit_nth_msf (n_sets - 1, -1);
# 210| if (n_images > self->pool_n_images)
# 211|-> self->pool_n_images = 2 << g_bit_nth_msf (n_images - 1, -1);
# 212| if (n_buffers > self->pool_n_buffers)
# 213| self->pool_n_buffers = 4 << g_bit_nth_msf (n_buffers - 1, -1);
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def158]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c: scope_hint: In function ‘gsk_vulkan_frame_prepare_descriptors’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:213:34: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘63’) >= precision of type (‘32’)
/usr/include/glib-2.0/glib/gthread.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib/gasyncqueue.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:34: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpurenderer.h:20: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskgpuframeprivate.h:3: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframeprivate.h:3: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:3: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:213:37: note: in expansion of macro ‘g_bit_nth_msf’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:213:37: note: in expansion of macro ‘g_bit_nth_msf’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c: scope_hint: In function ‘gsk_vulkan_frame_prepare_descriptors’
# 211| self->pool_n_images = 2 << g_bit_nth_msf (n_images - 1, -1);
# 212| if (n_buffers > self->pool_n_buffers)
# 213|-> self->pool_n_buffers = 4 << g_bit_nth_msf (n_buffers - 1, -1);
# 214| }
# 215|
Error: CLANG_WARNING: [#def159]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:213:34: warning[core.BitwiseShift]: Left shift by '60' overflows the capacity of 'int'
# 211| self->pool_n_images = 2 << g_bit_nth_msf (n_images - 1, -1);
# 212| if (n_buffers > self->pool_n_buffers)
# 213|-> self->pool_n_buffers = 4 << g_bit_nth_msf (n_buffers - 1, -1);
# 214| }
# 215|
Error: CLANG_WARNING: [#def160]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:213:34: warning[core.BitwiseShift]: Left shift by '61' overflows the capacity of 'int'
# 211| self->pool_n_images = 2 << g_bit_nth_msf (n_images - 1, -1);
# 212| if (n_buffers > self->pool_n_buffers)
# 213|-> self->pool_n_buffers = 4 << g_bit_nth_msf (n_buffers - 1, -1);
# 214| }
# 215|
Error: CLANG_WARNING: [#def161]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:213:34: warning[core.BitwiseShift]: Left shift by '62' overflows the capacity of 'int'
# 211| self->pool_n_images = 2 << g_bit_nth_msf (n_images - 1, -1);
# 212| if (n_buffers > self->pool_n_buffers)
# 213|-> self->pool_n_buffers = 4 << g_bit_nth_msf (n_buffers - 1, -1);
# 214| }
# 215|
Error: CLANG_WARNING: [#def162]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gpu/gskvulkanframe.c:213:34: warning[core.BitwiseShift]: Left shift by '63' overflows the capacity of 'int'
# 211| self->pool_n_images = 2 << g_bit_nth_msf (n_images - 1, -1);
# 212| if (n_buffers > self->pool_n_buffers)
# 213|-> self->pool_n_buffers = 4 << g_bit_nth_msf (n_buffers - 1, -1);
# 214| }
# 215|
Error: GCC_ANALYZER_WARNING: [#def163]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskcairorenderer.c: scope_hint: In function ‘gsk_cairo_renderer_render_texture’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskcairorenderer.c:115:14: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskcairorenderer.c:115:14: note: only use operands of an integer type inside the size argument
# 113| stride = width * 4;
# 114| size = stride * height;
# 115|-> data = g_malloc_n (stride, height);
# 116|
# 117| for (y = 0; y < height; y += MAX_IMAGE_SIZE)
Error: CPPCHECK_WARNING: [#def164]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskcontour.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def165]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskcontour.c:2036:14: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 2034|
# 2035| for (int i = 0; i < point->idx; i++)
# 2036|-> distance += sides[i];
# 2037|
# 2038| distance += point->t * sides[point->idx];
Error: CLANG_WARNING: [#def166]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskcontour.c:2038:24: warning[core.UndefinedBinaryOperatorResult]: The right operand of '*' is a garbage value
# 2036| distance += sides[i];
# 2037|
# 2038|-> distance += point->t * sides[point->idx];
# 2039|
# 2040| return distance;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendererprivate.h:23: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c:36: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c: scope_hint: In function ‘gsk_renderer_new_for_surface’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskdebugprivate.h:43:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c:791: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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gsktypes.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendererprivate.h:21: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c:772: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.15.3-build/gtk-4.15.3/gdk/gdksurface.h:44:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c:772:25: note: in expansion of macro ‘GDK_IS_SURFACE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c:772: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.15.3-build/gtk-4.15.3/gdk/gdksurface.h:44:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c:772:25: note: in expansion of macro ‘GDK_IS_SURFACE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskdebugprivate.h:30:41: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskdebugprivate.h:42:9: note: in expansion of macro ‘GSK_DEBUG_CHECK’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c:791:7: note: in expansion of macro ‘GSK_DEBUG’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskdebugprivate.h:30:41: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskdebugprivate.h:42:9: note: in expansion of macro ‘GSK_DEBUG_CHECK’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c:791:7: note: in expansion of macro ‘GSK_DEBUG’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskdebugprivate.h:43:26: note: in definition of macro ‘GSK_DEBUG’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskdebugprivate.h:43:26: note: in definition of macro ‘GSK_DEBUG’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c:791: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: CPPCHECK_WARNING: [#def168]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskdiff.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def169]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskoffload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def170]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskoffload.c: scope_hint: In function ‘push_rect_clip’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskoffload.c:299:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*rect’
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernode.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskoffloadprivate.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskoffload.c:23: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskoffload.c:709:30: note: in expansion of macro ‘GSK_ROUNDED_RECT_INIT’
# 297| {
# 298| Clip *clip = g_new0 (Clip, 1);
# 299|-> clip->rect = *rect;
# 300| clip->is_rectilinear = gsk_rounded_rect_is_rectilinear (rect);
# 301| clip->is_empty = (rect->bounds.size.width == 0 || rect->bounds.size.height == 0);
Error: CLANG_WARNING: [#def171]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskoffload.c:301:45: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 299| clip->rect = *rect;
# 300| clip->is_rectilinear = gsk_rounded_rect_is_rectilinear (rect);
# 301|-> clip->is_empty = (rect->bounds.size.width == 0 || rect->bounds.size.height == 0);
# 302|
# 303| self->clips = g_slist_prepend (self->clips, clip);
Error: CPPCHECK_WARNING: [#def172]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskpath.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def173]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskpathbuilder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def174]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskpathpoint.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def175]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskprofiler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def176]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrenderer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def177]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeimpl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def178]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeimpl.c:6045:25: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 6043| {
# 6044| /* set as the mean of the kernel */
# 6045|-> p_dest_row[0] = div_kernel_size[r];
# 6046| p_dest_row[1] = div_kernel_size[g];
# 6047| p_dest_row[2] = div_kernel_size[b];
Error: CPPCHECK_WARNING: [#def179]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-823): [#def180]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:729: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 727| do
# 728| {
# 729|-> GskShadow shadow = { GDK_RGBA("000000"), 0, 0, 0 };
# 730| double dx = 0, dy = 0, radius = 0;
# 731|
Error: CPPCHECK_WARNING (CWE-823): [#def181]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1435: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1433| create_default_render_node_with_bounds (const graphene_rect_t *rect)
# 1434| {
# 1435|-> return gsk_color_node_new (&GDK_RGBA("FF00CC"), rect);
# 1436| }
# 1437|
Error: CPPCHECK_WARNING (CWE-823): [#def182]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1469: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1467| {
# 1468| graphene_rect_t bounds = GRAPHENE_RECT_INIT (0, 0, 50, 50);
# 1469|-> GdkRGBA color = GDK_RGBA("FF00CC");
# 1470| const Declaration declarations[] = {
# 1471| { "bounds", parse_rect, NULL, &bounds },
Error: CPPCHECK_WARNING (CWE-823): [#def183]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1500: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1498| if (stops == NULL)
# 1499| {
# 1500|-> GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1501| GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1502|
Error: CPPCHECK_WARNING (CWE-823): [#def184]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1501: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1499| {
# 1500| GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1501|-> GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1502|
# 1503| stops = g_array_new (FALSE, FALSE, sizeof (GskColorStop));
Error: CPPCHECK_WARNING (CWE-823): [#def185]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1558: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1556| if (stops == NULL)
# 1557| {
# 1558|-> GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1559| GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1560|
Error: CPPCHECK_WARNING (CWE-823): [#def186]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1559: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1557| {
# 1558| GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1559|-> GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1560|
# 1561| stops = g_array_new (FALSE, FALSE, sizeof (GskColorStop));
Error: CPPCHECK_WARNING (CWE-823): [#def187]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1611: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1609| if (stops == NULL)
# 1610| {
# 1611|-> GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1612| GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1613|
Error: CPPCHECK_WARNING (CWE-823): [#def188]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1612: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1610| {
# 1611| GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1612|-> GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1613|
# 1614| stops = g_array_new (FALSE, FALSE, sizeof (GskColorStop));
Error: CPPCHECK_WARNING (CWE-823): [#def189]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1632: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 1630| {
# 1631| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1632|-> GdkRGBA color = GDK_RGBA("000000");
# 1633| double dx = 1, dy = 1, blur = 0, spread = 0;
# 1634| const Declaration declarations[] = {
Error: CPPCHECK_WARNING (CWE-823): [#def190]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1909: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1907| source = create_default_render_node ();
# 1908| if (mask == NULL)
# 1909|-> mask = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 1910|
# 1911| result = gsk_mask_node_new (source, mask, mode);
Error: CPPCHECK_WARNING (CWE-823): [#def191]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1925: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 4, which is out of bounds.
# 1923| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1924| float widths[4] = { 1, 1, 1, 1 };
# 1925|-> GdkRGBA colors[4] = { GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000") };
# 1926| const Declaration declarations[] = {
# 1927| { "outline", parse_rounded_rect, NULL, &outline },
Error: CPPCHECK_WARNING (CWE-823): [#def192]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1925: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 5, which is out of bounds.
# 1923| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1924| float widths[4] = { 1, 1, 1, 1 };
# 1925|-> GdkRGBA colors[4] = { GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000") };
# 1926| const Declaration declarations[] = {
# 1927| { "outline", parse_rounded_rect, NULL, &outline },
Error: CPPCHECK_WARNING (CWE-823): [#def193]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1925: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 6, which is out of bounds.
# 1923| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1924| float widths[4] = { 1, 1, 1, 1 };
# 1925|-> GdkRGBA colors[4] = { GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000") };
# 1926| const Declaration declarations[] = {
# 1927| { "outline", parse_rounded_rect, NULL, &outline },
Error: CPPCHECK_WARNING (CWE-823): [#def194]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:1925: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 7, which is out of bounds.
# 1923| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1924| float widths[4] = { 1, 1, 1, 1 };
# 1925|-> GdkRGBA colors[4] = { GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000") };
# 1926| const Declaration declarations[] = {
# 1927| { "outline", parse_rounded_rect, NULL, &outline },
Error: CPPCHECK_WARNING (CWE-823): [#def195]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:2034: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 2032| {
# 2033| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 2034|-> GdkRGBA color = GDK_RGBA("000000");
# 2035| double dx = 1, dy = 1, blur = 0, spread = 0;
# 2036| const Declaration declarations[] = {
Error: CPPCHECK_WARNING (CWE-823): [#def196]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:2148: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2146| parse_declarations (parser, context, declarations, G_N_ELEMENTS (declarations));
# 2147| if (start == NULL)
# 2148|-> start = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2149| if (end == NULL)
# 2150| end = create_default_render_node ();
Error: CPPCHECK_WARNING (CWE-823): [#def197]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:2176: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2174| parse_declarations (parser, context, declarations, G_N_ELEMENTS (declarations));
# 2175| if (bottom == NULL)
# 2176|-> bottom = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2177| if (top == NULL)
# 2178| top = create_default_render_node ();
Error: CPPCHECK_WARNING (CWE-823): [#def198]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:2335: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 2333| PangoFont *font = NULL;
# 2334| graphene_point_t offset = GRAPHENE_POINT_INIT (0, 0);
# 2335|-> GdkRGBA color = GDK_RGBA("000000");
# 2336| PangoGlyphString *glyphs = NULL;
# 2337| cairo_hint_style_t hint_style = CAIRO_HINT_STYLE_SLIGHT;
Error: CPPCHECK_WARNING (CWE-823): [#def199]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:2685: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 2683| if (shadows->len == 0)
# 2684| {
# 2685|-> GskShadow default_shadow = { GDK_RGBA("000000"), 1, 1, 0 };
# 2686| g_array_append_val (shadows, default_shadow);
# 2687| }
Error: CPPCHECK_WARNING (CWE-823): [#def200]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:3985: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 4, which is out of bounds.
# 3983|
# 3984| append_float_param (p, "blur", gsk_outset_shadow_node_get_blur_radius (node), 0.0f);
# 3985|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 3986| append_rgba_param (p, "color", color);
# 3987| append_float_param (p, "dx", gsk_outset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def201]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:3985: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 5, which is out of bounds.
# 3983|
# 3984| append_float_param (p, "blur", gsk_outset_shadow_node_get_blur_radius (node), 0.0f);
# 3985|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 3986| append_rgba_param (p, "color", color);
# 3987| append_float_param (p, "dx", gsk_outset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def202]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:3985: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 6, which is out of bounds.
# 3983|
# 3984| append_float_param (p, "blur", gsk_outset_shadow_node_get_blur_radius (node), 0.0f);
# 3985|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 3986| append_rgba_param (p, "color", color);
# 3987| append_float_param (p, "dx", gsk_outset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def203]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:3985: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 7, which is out of bounds.
# 3983|
# 3984| append_float_param (p, "blur", gsk_outset_shadow_node_get_blur_radius (node), 0.0f);
# 3985|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 3986| append_rgba_param (p, "color", color);
# 3987| append_float_param (p, "dx", gsk_outset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def204]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:4095: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 4093| else if (!gdk_rgba_equal (&colors[1], &colors[0]))
# 4094| n = 2;
# 4095|-> else if (!gdk_rgba_equal (&colors[0], &GDK_RGBA("000000")))
# 4096| n = 1;
# 4097| else
Error: CPPCHECK_WARNING (CWE-823): [#def205]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:4189: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 4, which is out of bounds.
# 4187|
# 4188| append_float_param (p, "blur", gsk_inset_shadow_node_get_blur_radius (node), 0.0f);
# 4189|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 4190| append_rgba_param (p, "color", color);
# 4191| append_float_param (p, "dx", gsk_inset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def206]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:4189: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 5, which is out of bounds.
# 4187|
# 4188| append_float_param (p, "blur", gsk_inset_shadow_node_get_blur_radius (node), 0.0f);
# 4189|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 4190| append_rgba_param (p, "color", color);
# 4191| append_float_param (p, "dx", gsk_inset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def207]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:4189: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 6, which is out of bounds.
# 4187|
# 4188| append_float_param (p, "blur", gsk_inset_shadow_node_get_blur_radius (node), 0.0f);
# 4189|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 4190| append_rgba_param (p, "color", color);
# 4191| append_float_param (p, "dx", gsk_inset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def208]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:4189: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 7, which is out of bounds.
# 4187|
# 4188| append_float_param (p, "blur", gsk_inset_shadow_node_get_blur_radius (node), 0.0f);
# 4189|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 4190| append_rgba_param (p, "color", color);
# 4191| append_float_param (p, "dx", gsk_inset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def209]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskrendernodeparser.c:4243: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 4241| start_node (p, "text", node_name);
# 4242|
# 4243|-> if (!gdk_rgba_equal (color, &GDK_RGBA ("000000")))
# 4244| append_rgba_param (p, "color", color);
# 4245|
Error: CPPCHECK_WARNING: [#def210]
gtk4-4.15.3-build/gtk-4.15.3/gsk/gskroundedrect.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def211]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspiaction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def212]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspicomponent.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def213]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspicontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def214]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspicontext.c:1646:15: warning[deadcode.DeadStores]: Value stored to 'kind' during its initialization is never read
# 1644| return;
# 1645|
# 1646|-> const char *kind = "";
# 1647|
# 1648| switch (change)
Error: CPPCHECK_WARNING: [#def215]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspieditabletext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def216]
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def217]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspipango.c:349:29: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 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): [#def218]
gtk4-4.15.3-build/gtk-4.15.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: [#def219]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspiroot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def220]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspiselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def221]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspitext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def222]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspitextbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def223]
gtk4-4.15.3-build/gtk-4.15.3/gtk/a11y/gtkatspiutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def224]
gtk4-4.15.3-build/gtk-4.15.3/gtk/compose/compose-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def225]
gtk4-4.15.3-build/gtk-4.15.3/gtk/css/gtkcssdataurl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def226]
gtk4-4.15.3-build/gtk-4.15.3/gtk/css/gtkcssparser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def227]
gtk4-4.15.3-build/gtk-4.15.3/gtk/css/gtkcsssection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def228]
gtk4-4.15.3-build/gtk-4.15.3/gtk/css/gtkcsstokenizer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def229]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkappchooserbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def230]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkappchooserdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def231]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkappchooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def232]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkassistant.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def233]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareabox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def234]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareabox.c:761:11: warning[core.NullDereference]: Access to field 'expand' results in a dereference of a null pointer (loaded from variable 'info')
# 759| AllocatedCell *cell;
# 760|
# 761|-> if (info->expand)
# 762| {
# 763| sizes[i].minimum_size += extra_size;
Error: CLANG_WARNING: [#def235]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareabox.c:904:8: warning[deadcode.DeadStores]: Value stored to 'position' is never read
# 902| {
# 903| avail_size = group_allocs[i].size;
# 904|-> position = cell_position = group_allocs[i].position;
# 905| }
# 906| else
Error: CLANG_WARNING: [#def236]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareabox.c:952:15: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 950| for (j = 0; j < visible_cells; j++)
# 951| {
# 952|-> CellInfo *info = sizes[j].data;
# 953| AllocatedCell *cell;
# 954|
Error: CLANG_WARNING: [#def237]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareabox.c:1598:21: warning[unix.Malloc]: Use of memory allocated with size zero
# 1596| continue;
# 1597|
# 1598|-> sizes[i].data = info;
# 1599|
# 1600| gtk_cell_area_request_renderer (area, info->renderer,
Error: CLANG_WARNING: [#def238]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareabox.c:1645:20: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1643| avail_size -= (n_sizes - 1) * priv->spacing;
# 1644| for (i = 0; i < n_sizes; i++)
# 1645|-> avail_size -= orientation_sizes[i].minimum_size;
# 1646|
# 1647| if (avail_size > 0)
Error: CPPCHECK_WARNING: [#def239]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareaboxcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def240]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareaboxcontext.c:699:3: warning[deadcode.DeadStores]: Value stored to 'priv' is never read
# 697| last_aligned_group_idx = i >= 0 ? i : 0;
# 698|
# 699|-> priv = box_context->priv;
# 700| array = get_array (box_context, orientation, for_size);
# 701|
Error: CLANG_WARNING: [#def241]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareaboxcontext.c:722:36: warning[unix.Malloc]: Use of memory allocated with size zero
# 720| _gtk_cell_area_box_group_visible (area, i)))
# 721| {
# 722|-> requests[j].data = GINT_TO_POINTER (i);
# 723| requests[j].minimum_size = size->min_size;
# 724| requests[j].natural_size = size->nat_size;
Error: CLANG_WARNING: [#def242]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellareaboxcontext.c:758:16: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 756| avail_size -= (n_groups - 1) * spacing;
# 757| for (i = 0; i < n_groups; i++)
# 758|-> avail_size -= sizes[i].minimum_size;
# 759|
# 760| if (avail_size > 0)
Error: CPPCHECK_WARNING: [#def243]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellrenderer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def244]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellrenderercombo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def245]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellrendererpixbuf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def246]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellrendererspinner.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def247]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellrenderertext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def248]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellrenderertoggle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def249]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcellview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-823): [#def250]
gtk4-4.15.3-build/gtk-4.15.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): [#def251]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def252]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcombobox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def253]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkcomboboxtext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def254]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def255]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkentrycompletion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def256]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkfontbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def257]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkiconview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def258]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkiconview.c: scope_hint: In function ‘gtk_icon_view_button_release’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkiconview.c:2256:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def259]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkliststore.c:564:29: warning[unix.Malloc]: Use of memory allocated with size zero
# 562| priv->column_headers = g_renew (GType, priv->column_headers, n_columns);
# 563| for (i = priv->n_columns; i < n_columns; i++)
# 564|-> priv->column_headers[i] = G_TYPE_INVALID;
# 565| priv->n_columns = n_columns;
# 566|
Error: CLANG_WARNING: [#def260]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkliststore.c:913:25: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'prev')
# 911| else
# 912| {
# 913|-> list = prev->next = _gtk_tree_data_list_alloc ();
# 914| list->next = NULL;
# 915| }
Error: CLANG_WARNING: [#def261]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkliststore.c:1765:7: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1763| while (!g_sequence_iter_is_end (ptr))
# 1764| {
# 1765|-> g_hash_table_insert (new_positions, ptr, GINT_TO_POINTER (order[i++]));
# 1766|
# 1767| ptr = g_sequence_iter_next (ptr);
Error: CPPCHECK_WARNING: [#def262]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkrender.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def263]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkshow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def264]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkshow.c: scope_hint: In function ‘show_uri_done’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkshow.c:183:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkshow.c:28: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtkshow.c:182:44: note: in expansion of macro ‘_’
# 181|
# 182| dialog = gtk_alert_dialog_new ("%s", _("Could not show link"));
# 183|-> gtk_alert_dialog_set_detail (dialog, error->message);
# 184| gtk_alert_dialog_show (dialog, parent);
# 185| g_object_unref (dialog);
Error: CLANG_WARNING: [#def265]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreedatalist.c:556:2: warning[deadcode.DeadStores]: Value stored to 'list' is never read
# 554| header->sort_column_id = sort_column_id;
# 555| if (list)
# 556|-> list = g_list_append (list, header);
# 557| else
# 558| header_list = g_list_append (header_list, header);
Error: CPPCHECK_WARNING: [#def266]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreednd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def267]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def268]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_update_children.part.0’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodel.h:24: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4006:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4007:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4007:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4008:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4009:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4009:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.15.3-build/gtk-4.15.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:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def269]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:1941:9: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1939| gtk_tree_model_filter_get_iter_full (GTK_TREE_MODEL (filter), &iter, path);
# 1940|
# 1941|-> level = FILTER_LEVEL (iter.user_data);
# 1942| elt = FILTER_ELT (iter.user_data2);
# 1943|
Error: CLANG_WARNING: [#def270]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:1942:7: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1940|
# 1941| level = FILTER_LEVEL (iter.user_data);
# 1942|-> elt = FILTER_ELT (iter.user_data2);
# 1943|
# 1944| /* Make sure elt is visible. elt can already be visible in case
Error: CLANG_WARNING: [#def271]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:2047:23: warning[core.NullDereference]: Access to field 'visible_siter' results in a dereference of an undefined pointer value (loaded from field 'user_data2')
# 2045| gtk_tree_model_filter_get_iter_full (GTK_TREE_MODEL (filter),
# 2046| &iter, path);
# 2047|-> current_state = FILTER_ELT (iter.user_data2)->visible_siter != NULL;
# 2048| }
# 2049| else
Error: CLANG_WARNING: [#def272]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:2518:15: warning[core.NullDereference]: Access to field 'children' results in a dereference of a null pointer (loaded from variable 'elt')
# 2516| }
# 2517|
# 2518|-> level = elt->children;
# 2519| }
# 2520|
Error: CPPCHECK_WARNING (CWE-476): [#def273]
gtk4-4.15.3-build/gtk-4.15.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): [#def274]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_get_iter_full.isra.0’
gtk4-4.15.3-build/gtk-4.15.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): [#def275]
gtk4-4.15.3-build/gtk-4.15.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): [#def276]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_get_iter’
gtk4-4.15.3-build/gtk-4.15.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): [#def277]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_real_unref_node’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:3534:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘elt’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:3534:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:3521:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:3522:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4006:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4007:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4007:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4008:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4009:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4009:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4010:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.15.3-build/gtk-4.15.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:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:1171:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def278]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c:4109:11: warning[deadcode.DeadStores]: Value stored to 'found_child' is never read
# 4107| gtk_tree_model_filter_build_level (filter, level, tmp, FALSE);
# 4108| level = tmp->children;
# 4109|-> found_child = TRUE;
# 4110| }
# 4111| else if (!found_child && !fetch_children)
Error: CPPCHECK_WARNING (CWE-476): [#def279]
gtk4-4.15.3-build/gtk-4.15.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): [#def280]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_convert_path_to_child_path’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def281]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelsort.c:1179:19: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1177| SortElt *elt = g_sequence_get (siter);
# 1178|
# 1179|-> elt->offset = tmp_array[i];
# 1180| i++;
# 1181| }
Error: COMPILER_WARNING (CWE-476): [#def282]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelsort.c: scope_hint: In function ‘gtk_tree_model_sort_get_iter’
gtk4-4.15.3-build/gtk-4.15.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): [#def283]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreemodelsort.c: scope_hint: In function ‘gtk_tree_model_sort_convert_path_to_child_path’
gtk4-4.15.3-build/gtk-4.15.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): [#def284]
gtk4-4.15.3-build/gtk-4.15.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): [#def285]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def286]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreeselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def287]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreestore.c: scope_hint: In function ‘gtk_tree_store_sort_iter_changed’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreestore.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreestore.c:3129:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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): [#def288]
gtk4-4.15.3-build/gtk-4.15.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): [#def289]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreestore.c: scope_hint: In function ‘gtk_tree_store_sort_iter_changed’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def290]
gtk4-4.15.3-build/gtk-4.15.3/gtk/deprecated/gtktreeviewcolumn.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def291]
gtk4-4.15.3-build/gtk-4.15.3/gtk/fnmatch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def292]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gdktextureutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def293]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gsettings-mapping.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def294]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gskpango.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def295]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkaboutdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def296]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkaccelgroup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def297]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def298]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkaccessiblevalue.c: scope_hint: In function ‘gtk_string_accessible_value_new’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkaccessiblevalueprivate.h:23: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkaccessiblevalue.c:43: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkaccessiblevalue.c:72:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkaccessiblevalue.c:73:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkaccessiblevalue.c:368:17: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def299]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkactionhelper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def300]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkactionmuxer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def301]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkactionmuxerprivate.h:22: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkactionmuxer.c:22: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkactionmuxer.c:90:33: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkactionmuxer.c:54: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:279:1: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:286:3: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:221:1: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:240:5: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:243:3: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.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:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:184:7: note: in expansion of macro ‘G_UNLIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:187:14: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:243:3: note: in expansion of macro ‘gdk_array’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:53:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkarrayimpl.c:55:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def302]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkapplication-dbus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def303]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkatcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def304]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbitset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def305]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbookmarksmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def306]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkboxlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def307]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkboxlayout.c:968:18: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 966| continue;
# 967|
# 968|-> child_size = sizes[i].natural_size;
# 969|
# 970| /* Assign the child's position. */
Error: CPPCHECK_WARNING: [#def308]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilder-menus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def309]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def310]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilder.c:970:11: warning[core.NullDereference]: Access to field 'len' results in a dereference of a null pointer (loaded from field 'names')
# 968| info->id);
# 969| g_assert (obj != NULL);
# 970|-> if (construct_parameters.names->len > 0)
# 971| g_warning ("Can't pass in construct-only parameters to %s", info->id);
# 972| }
Error: CLANG_WARNING: [#def311]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilder.c:2589:67: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'tmp_error')
# 2587| if (!texture)
# 2588| {
# 2589|-> g_warning ("Could not load image '%s': %s", string, tmp_error->message);
# 2590| g_error_free (tmp_error);
# 2591|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def312]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘builder_construct’
gtk4-4.15.3-build/gtk-4.15.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): [#def313]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘free_child_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:854:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
gtk4-4.15.3-build/gtk-4.15.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): [#def314]
gtk4-4.15.3-build/gtk-4.15.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): [#def315]
gtk4-4.15.3-build/gtk-4.15.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): [#def316]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘expression_info_construct’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1296:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderscope.h:26: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilder.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderprivate.h:21: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:21: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.15.3-build/gtk-4.15.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): [#def317]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1370:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:2001:41: note: in expansion of macro ‘state_pop_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:2001:41: note: in expansion of macro ‘state_pop_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:2002:33: note: in expansion of macro ‘state_peek_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.15.3-build/gtk-4.15.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): [#def318]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1876:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.15.3-build/gtk-4.15.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): [#def319]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.15.3-build/gtk-4.15.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): [#def320]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1881:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1870:33: note: in expansion of macro ‘state_pop_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1871:26: note: in expansion of macro ‘state_peek_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.15.3-build/gtk-4.15.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): [#def321]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1906:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.15.3-build/gtk-4.15.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): [#def322]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1914:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1901:38: note: in expansion of macro ‘state_pop_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1901:38: note: in expansion of macro ‘state_pop_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.15.3-build/gtk-4.15.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): [#def323]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1990:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1987:33: note: in expansion of macro ‘state_pop_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1988:46: note: in expansion of macro ‘state_peek_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:1990:34: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.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): [#def324]
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def325]
/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.15.3-build/gtk-4.15.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): [#def326]
/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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderscope.h:26: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilder.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderprivate.h:21: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:21: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.15.3-build/gtk-4.15.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): [#def327]
gtk4-4.15.3-build/gtk-4.15.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): [#def328]
gtk4-4.15.3-build/gtk-4.15.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): [#def329]
gtk4-4.15.3-build/gtk-4.15.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): [#def330]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c: scope_hint: In function ‘text’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:2119:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:2116:10: note: in expansion of macro ‘state_peek_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:2116:10: note: in expansion of macro ‘state_peek_info’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.15.3-build/gtk-4.15.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: [#def331]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def332]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcalendar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def333]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcenterlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def334]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcheckbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def335]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcolorchooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-823): [#def336]
gtk4-4.15.3-build/gtk-4.15.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): [#def337]
gtk4-4.15.3-build/gtk-4.15.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): [#def338]
gtk4-4.15.3-build/gtk-4.15.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): [#def339]
gtk4-4.15.3-build/gtk-4.15.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): [#def340]
gtk4-4.15.3-build/gtk-4.15.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): [#def341]
gtk4-4.15.3-build/gtk-4.15.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): [#def342]
gtk4-4.15.3-build/gtk-4.15.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): [#def343]
gtk4-4.15.3-build/gtk-4.15.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): [#def344]
gtk4-4.15.3-build/gtk-4.15.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): [#def345]
gtk4-4.15.3-build/gtk-4.15.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): [#def346]
gtk4-4.15.3-build/gtk-4.15.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): [#def347]
gtk4-4.15.3-build/gtk-4.15.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): [#def348]
gtk4-4.15.3-build/gtk-4.15.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): [#def349]
gtk4-4.15.3-build/gtk-4.15.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): [#def350]
gtk4-4.15.3-build/gtk-4.15.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): [#def351]
gtk4-4.15.3-build/gtk-4.15.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): [#def352]
gtk4-4.15.3-build/gtk-4.15.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): [#def353]
gtk4-4.15.3-build/gtk-4.15.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): [#def354]
gtk4-4.15.3-build/gtk-4.15.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): [#def355]
gtk4-4.15.3-build/gtk-4.15.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): [#def356]
gtk4-4.15.3-build/gtk-4.15.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): [#def357]
gtk4-4.15.3-build/gtk-4.15.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): [#def358]
gtk4-4.15.3-build/gtk-4.15.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): [#def359]
gtk4-4.15.3-build/gtk-4.15.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): [#def360]
gtk4-4.15.3-build/gtk-4.15.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): [#def361]
gtk4-4.15.3-build/gtk-4.15.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): [#def362]
gtk4-4.15.3-build/gtk-4.15.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): [#def363]
gtk4-4.15.3-build/gtk-4.15.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): [#def364]
gtk4-4.15.3-build/gtk-4.15.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): [#def365]
gtk4-4.15.3-build/gtk-4.15.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): [#def366]
gtk4-4.15.3-build/gtk-4.15.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): [#def367]
gtk4-4.15.3-build/gtk-4.15.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): [#def368]
gtk4-4.15.3-build/gtk-4.15.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): [#def369]
gtk4-4.15.3-build/gtk-4.15.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): [#def370]
gtk4-4.15.3-build/gtk-4.15.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): [#def371]
gtk4-4.15.3-build/gtk-4.15.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): [#def372]
gtk4-4.15.3-build/gtk-4.15.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): [#def373]
gtk4-4.15.3-build/gtk-4.15.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): [#def374]
gtk4-4.15.3-build/gtk-4.15.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): [#def375]
gtk4-4.15.3-build/gtk-4.15.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): [#def376]
gtk4-4.15.3-build/gtk-4.15.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): [#def377]
gtk4-4.15.3-build/gtk-4.15.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): [#def378]
gtk4-4.15.3-build/gtk-4.15.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): [#def379]
gtk4-4.15.3-build/gtk-4.15.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): [#def380]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def381]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcolorplane.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def382]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcolorutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def383]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcolumnview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def384]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcolumnviewcellwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def385]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcolumnviewcolumn.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def386]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcolumnviewrowwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def387]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcolumnviewsorter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def388]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcolumnviewtitle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def389]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcomposetable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def390]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintexpression.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def391]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintguide.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def392]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def393]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintlayout.c: scope_hint: In function ‘layout_add_constraint’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintlayout.c:849:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘constraint’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def394]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintsolver.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def395]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintvflparser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def396]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintvflparser.c: scope_hint: In function ‘gtk_constraint_vfl_parser_parse_line’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstrainttypesprivate.h:24: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintvflparserprivate.h:24: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintvflparser.c:24: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkconstraintvflparser.c:827:24: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def397]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssanimatedstyle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def398]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssanimation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def399]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssarrayvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def400]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssbordervalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def401]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssbordervalue.c: scope_hint: In function ‘gtk_css_value_border_compute’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def402]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsscalcvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def403]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsscolor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def404]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsscolorvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def405]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssdimensionvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def406]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssenumvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def407]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssfiltervalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def408]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssfontfeaturesvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def409]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssimageconic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def410]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssimagefallback.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def411]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssimagefallback.c:166:53: warning[core.NullDereference]: Array access (via field 'images') results in a null pointer dereference
# 164| for (i = 0; i < fallback->n_images; i++)
# 165| {
# 166|-> copy->images[i] = _gtk_css_image_compute (fallback->images[i],
# 167| property_id,
# 168| context);
Error: CLANG_WARNING: [#def412]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssimagefallback.c:357:56: warning[core.NullDereference]: Array access (via field 'images') results in a null pointer dereference
# 355| for (i = 0; i < fallback->n_images; i++)
# 356| {
# 357|-> resolved->images[i] = gtk_css_image_resolve (fallback->images[i], context, current_color);
# 358|
# 359| if (gtk_css_image_is_invalid (resolved->images[i]))
Error: CPPCHECK_WARNING: [#def413]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssimageicontheme.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def414]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssimagelinear.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def415]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssimageradial.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def416]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsskeyframes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def417]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsskeyframes.c:577:33: warning[core.NullDereference]: Array access (from variable 'sorted_variable_ids') results in a null pointer dereference
# 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: GCC_ANALYZER_WARNING (CWE-476): [#def418]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsskeyframes.c: scope_hint: In function ‘_gtk_css_keyframes_print’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/css/gtkcss.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsskeyframesprivate.h:22: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsskeyframes.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsskeyframes.c:524:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsskeyframes.c:525:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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:261:32: note: in definition of macro ‘_G_NEW’
gtk4-4.15.3-build/gtk-4.15.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: [#def419]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssnodedeclaration.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def420]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssnodedeclaration.c:449: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 447| for (i = 0; i < sizeof (GtkStateFlags) * 8; i++)
# 448| {
# 449|-> if (decl->state & (1 << i))
# 450| {
# 451| const char *name = gtk_css_pseudoclass_name (1 << i);
Error: CPPCHECK_WARNING: [#def421]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssnumbervalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def422]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssnumbervalue.c:975:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'values'
# 973| }
# 974|
# 975|-> return gtk_css_math_value_new (type, 0, values, value->calc.n_terms);
# 976| }
# 977|
Error: CPPCHECK_WARNING: [#def423]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsspositionvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def424]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssprovider.c:550:43: warning[core.NullDereference]: Dereference of null pointer
# 548| for (j = 0; j < ruleset->n_styles; j++)
# 549| {
# 550|-> GtkCssStyleProperty *prop = ruleset->styles[j].property;
# 551| guint id = _gtk_css_style_property_get_id (prop);
# 552|
Error: CPPCHECK_WARNING: [#def425]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssreferencevalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def426]
gtk4-4.15.3-build/gtk-4.15.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): [#def427]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def428]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssselector.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def429]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssselector.c:134:14: warning[core.UndefinedBinaryOperatorResult]: The right operand of '==' is a garbage value
# 132| {
# 133| return
# 134|-> a->class == b->class &&
# 135| a->class->compare_one (a, b) == 0;
# 136| }
Error: CLANG_WARNING: [#def430]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssselector.c:191:16: warning[core.UndefinedBinaryOperatorResult]: The right operand of '!=' is a garbage value
# 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: COMPILER_WARNING (CWE-476): [#def431]
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def432]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssselector.c:1848:13: warning[core.NullDereference]: Dereference of null pointer (loaded from variable '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): [#def433]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def434]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssshadowvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def435]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssshorthandproperty.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def436]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssshorthandpropertyimpl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def437]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssstaticstyle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def438]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssstyle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def439]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsstransformvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def440]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsspalettevalue.c:20: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsspalettevalueprivate.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssvalueprivate.h:114:25: warning[core.NullDereference]: Access to field 'ref_count' results in a dereference of a null pointer (loaded from variable 'value_base')
# 112| GtkCssValueBase *value_base = (GtkCssValueBase *) value;
# 113|
# 114|-> value_base->ref_count += 1;
# 115|
# 116| return value;
Error: CLANG_WARNING: [#def441]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsspositionvalue.c:20: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcsspositionvalueprivate.h:25: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssvalueprivate.h:141:10: warning[core.NullDereference]: Access to field 'is_computed' results in a dereference of a null pointer (loaded from variable 'value_base')
# 139| GtkCssValueBase *value_base = (GtkCssValueBase *) value;
# 140|
# 141|-> return value_base->is_computed;
# 142| }
# 143|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def442]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssvalueprivate.h:141:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
gtk4-4.15.3-build/gtk-4.15.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): [#def443]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssvalueprivate.h:141:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘y’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def444]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkcssvariableset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def445]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkdragicon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def446]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkdropcontrollermotion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def447]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkdropdown.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def448]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkdroptarget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def449]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeditable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def450]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeditable.c: scope_hint: In function ‘gtk_editable_delegate_get_property’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkaccessible.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeditable.h:32: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeditable.c:161: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkeditable.h:39:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def451]
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkeditable.h:39:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeditable.c:684:25: note: in expansion of macro ‘GTK_IS_EDITABLE’
gtk4-4.15.3-build/gtk-4.15.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): [#def452]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkemojichooser.c: scope_hint: In function ‘keynav_failed’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkemojichooser.c:1215: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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:37: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkemojichooser.h:24: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkemojichooser.c:20: included_from: Included from here.
# 1213| while (TRUE)
# 1214| {
# 1215|-> next = find_next_section (chooser, next->box, TRUE);
# 1216| if (next == NULL)
# 1217| return FALSE;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkemojichooser.c:1251:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next’
# 1249| while (TRUE)
# 1250| {
# 1251|-> next = find_next_section (chooser, next->box, FALSE);
# 1252| if (next == NULL)
# 1253| return FALSE;
Error: CPPCHECK_WARNING: [#def454]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkemojicompletion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def455]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def456]
/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.15.3-build/gtk-4.15.3/gtk/gtkaccessible.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeditable.h:32: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.h:36: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentryprivate.h:20: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:31: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_paintable’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.15.3-build/gtk-4.15.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:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2433:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2433:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2434:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.15.3-build/gtk-4.15.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): [#def457]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_icon_name’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2505:37: note: in expansion of macro ‘GTK_IMAGE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2494:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2494:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2495:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.15.3-build/gtk-4.15.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): [#def458]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_gicon’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2560:33: note: in expansion of macro ‘GTK_IMAGE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2550:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2550:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2551:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.15.3-build/gtk-4.15.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): [#def459]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_activatable’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2606:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2598:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2598:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2599:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.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): [#def460]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_sensitive’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2755:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2749:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2749:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2750:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.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): [#def461]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_drag_source’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2896:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2889:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2889:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:2890:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.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): [#def462]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_tooltip_text’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:3076:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:3070:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:3070:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:3071:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.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): [#def463]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_tooltip_markup’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:3152:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_info’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:3146:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:3146:21: note: in expansion of macro ‘GTK_IS_ENTRY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:3147:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def464]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkentrybuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def465]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeventcontrollerfocus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def466]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeventcontrollerkey.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def467]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeventcontrollermotion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def468]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkeventcontrollerscroll.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def469]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkexpander.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def470]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkexpression.c:1020:3: warning[unix.Malloc]: Use of memory after it is freed
# 1018| }
# 1019|
# 1020|-> g_clear_pointer (&self->guard, weak_ref_guard_unref);
# 1021| g_weak_ref_clear (&self->object_wr);
# 1022|
Error: CLANG_WARNING: [#def471]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkexpression.c:2158:7: warning[deadcode.DeadStores]: Although the value stored to 'binds' is used in the enclosing expression, the value is never actually read from 'binds'
# 2156| GSList *l, *binds;
# 2157|
# 2158|-> l = binds = g_object_get_data (object, "gtk-expression-binds");
# 2159| while (l)
# 2160| {
Error: CPPCHECK_WARNING: [#def472]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfilechoosernativeportal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def473]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfilechooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def474]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfiledialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def475]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfilefilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def476]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfilesystemmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def477]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfilterlistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def478]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfixedlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def479]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkflattenlistmodel.c: scope_hint: In function ‘gtk_flatten_list_model_model_items_changed_cb’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def480]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkflowbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def481]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_above_focusable’
gtk4-4.15.3-build/gtk-4.15.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): [#def482]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_below_focusable’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def483]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfontchooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def484]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfontchooserwidget.c:585:7: warning[deadcode.DeadStores]: Value stored to 'lang' is never read
# 583| g_hash_table_contains (langs, alt_default))
# 584| {
# 585|-> lang = default_lang;
# 586| }
# 587| else
Error: CPPCHECK_WARNING: [#def485]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfontdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def486]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkfontdialogbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def487]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def488]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkgesture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def489]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkgesturesingle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def490]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-126): [#def491]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c: scope_hint: In function ‘release_dmabuf’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:735:29: 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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:1569: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.15.3-build/gtk-4.15.3/gtk/gtkglarea.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:1569:21: note: in expansion of macro ‘GTK_IS_GL_AREA’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:1569: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.15.3-build/gtk-4.15.3/gtk/gtkglarea.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:1569:21: note: in expansion of macro ‘GTK_IS_GL_AREA’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:577: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.15.3-build/gtk-4.15.3/gtk/gtkglarea.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:577:21: note: in expansion of macro ‘GTK_IS_GL_AREA’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:577: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.15.3-build/gtk-4.15.3/gtk/gtkglarea.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:577:21: note: in expansion of macro ‘GTK_IS_GL_AREA’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkglarea.c:735:29: note: read of 4 bytes from after the end of ‘dmabuf’
# └───────────────────────┘
# ^
# 733| #ifndef G_OS_WIN32
# 734| for (unsigned int i = 0; i < dmabuf->n_planes; i++)
# 735|-> close (dmabuf->planes[i].fd);
# 736| #endif
# 737| }
Error: CPPCHECK_WARNING: [#def492]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkgridlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def493]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkgridview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def494]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkgridview.c:800:7: warning[deadcode.DeadStores]: Value stored to 'i' is never read
# 798|
# 799| /* Not a multirow tile */
# 800|-> i = 0;
# 801| row_height = 0;
# 802|
Error: CPPCHECK_WARNING: [#def495]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkiconcache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def496]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkiconcachevalidator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def497]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkimage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def498]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkimcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def499]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkimcontextwayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def500]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkinscription.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def501]
/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.15.3-build/gtk-4.15.3/gtk/gtkjoinedmenuprivate.h:22: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkjoinedmenu.c:22: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_attributes’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def502]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_iterate_item_attributes’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def503]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_attribute_value’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def504]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_links’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def505]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_iterate_item_links’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def506]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_link’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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: [#def507]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklabel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def508]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklabel.c:2176: error[legacyUninitvar]: Uninitialized variable: success
# 2174| g_assert_not_reached ();
# 2175|
# 2176|-> if (!success)
# 2177| {
# 2178| g_warning ("Failed to launch handler: %s", error->message);
Error: CPPCHECK_WARNING: [#def509]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklayoutmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def510]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklevelbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def511]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def512]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistbase.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def513]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def514]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def515]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def516]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c:388:11: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable '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): [#def517]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_tile_get_header’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def518]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c:440:11: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'tile')
# 438| }
# 439|
# 440|-> if (tile->type == GTK_LIST_TILE_FOOTER ||
# 441| tile->type == GTK_LIST_TILE_UNMATCHED_FOOTER)
# 442| return tile;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def519]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_tile_get_footer’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def520]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c:721:7: warning[core.NullDereference]: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'tile')
# 719| {
# 720| g_assert (tile != NULL);
# 721|-> if (tile->type == type)
# 722| return;
# 723|
Error: COMPILER_WARNING (CWE-476): [#def521]
gtk4-4.15.3-build/gtk-4.15.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): [#def522]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_remove_items.part.0’
gtk4-4.15.3-build/gtk-4.15.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): [#def523]
gtk4-4.15.3-build/gtk-4.15.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): [#def524]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_release_items’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def525]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c:1504:28: warning[core.NullDereference]: Access to field 'n_items' results in a dereference of a null pointer (loaded from variable 'tile')
# 1502| }
# 1503|
# 1504|-> while (offset >= tile->n_items)
# 1505| {
# 1506| offset -= tile->n_items;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def526]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_model_sections_changed_cb.part.0’
gtk4-4.15.3-build/gtk-4.15.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): [#def527]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistitemmanagerprivate.h:108:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def528]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistlistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def529]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtklistview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def530]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmagnifier.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def531]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmaplistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def532]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmaplistmodel.c: scope_hint: In function ‘gtk_map_list_model_items_changed_cb’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def533]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmediacontrols.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def534]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmenubutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def535]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmenusectionbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def536]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmenutracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def537]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmenutrackeritem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def538]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmenutrackeritem.c: scope_hint: In function ‘gtk_menu_tracker_opener_new’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkactionobserverprivate.h:22: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkactionobservableprivate.h:22: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmenutrackeritemprivate.h:22: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmenutrackeritem.c:22: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmenutrackeritem.c:1007:3: note: in expansion of macro ‘g_set_weak_pointer’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/gtkmenutrackeritem.c:1012:30: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.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: [#def539]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmessagedialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def540]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmodelbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def541]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmountoperation-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def542]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmountoperation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def543]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkmultiselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def544]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtknative.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def545]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtknotebook.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def546]
gtk4-4.15.3-build/gtk-4.15.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): [#def547]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtknotebook.c: scope_hint: In function ‘measure_tab’
gtk4-4.15.3-build/gtk-4.15.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): [#def548]
gtk4-4.15.3-build/gtk-4.15.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): [#def549]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtknotebook.c: scope_hint: In function ‘allocate_tab’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING (CWE-476): [#def550]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtknotebook.c:4502: warning[nullPointer]: Possible null pointer dereference: list
# 4500| else
# 4501| {
# 4502|-> list = list->prev;
# 4503| }
# 4504| while (list)
Error: CPPCHECK_WARNING: [#def551]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtknumericsorter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def552]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkopenuriportal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def553]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkoverlaylayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def554]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkpadcontroller.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def555]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkpaned.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def556]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkpanedhandle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def557]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkpango.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def558]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkpasswordentry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def559]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkpathbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def560]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkpicture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def561]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkplacessidebar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def562]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkplacessidebar.c:1695:11: warning[deadcode.DeadStores]: Value stored to 'x' is never read
# 1693| &GRAPHENE_POINT_INIT (x, y), &p))
# 1694| graphene_point_init (&p, x, y);
# 1695|-> x = p.x;
# 1696| y = p.y;
# 1697|
Error: CPPCHECK_WARNING: [#def563]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkplacesview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def564]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkplacesviewrow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def565]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkpopover.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def566]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkpopovermenubar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def567]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkprintdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def568]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkprogressbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def569]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrange.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def570]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrbtree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-476): [#def571]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrbtree.c: scope_hint: In function ‘gtk_rb_tree_insert_fixup’
gtk4-4.15.3-build/gtk-4.15.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): [#def572]
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def573]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrbtree.c:445:18: warning[core.NullDereference]: Access to field 'left' results in a dereference of a null pointer (loaded from variable 'w')
# 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): [#def574]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def575]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrecentmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def576]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrenderbackground.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def577]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrenderborder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def578]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrendericon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def579]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrenderlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def580]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkrevealer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def581]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkscale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def582]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkscrolledwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def583]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksearchbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def584]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksectionmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def585]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def586]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c:174:11: warning[core.NullDereference]: Dereference of null pointer
# 172| g_assert (stack);
# 173| ptr = *stack;
# 174|-> *stack = *(void**)ptr;
# 175| return ptr;
# 176|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def587]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c:174:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptr’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c: scope_hint: In function ‘pool_alloc’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c:1148:9: note: in expansion of macro ‘DO_LOCK’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def588]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c:308:6: warning[core.NullDereference]: Access to field 'used' results in a dereference of a null pointer (loaded from variable 'pool')
# 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-476): [#def589]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c:308:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pool’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c:1287:9: note: in expansion of macro ‘DO_LOCK’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.15.3-build/gtk-4.15.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): [#def590]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.15.3-build/gtk-4.15.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): [#def591]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksecurememory.c: scope_hint: In function ‘gtk_secure_strndup_full’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def592]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcutaction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def593]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcutcontroller.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def594]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcutlabel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def595]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcutssection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def596]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcutssection.c:624:3: warning[deadcode.DeadStores]: Value stored to 'n_pages' is never read
# 622| n_rows = 0;
# 623| n_columns = 0;
# 624|-> n_pages = 0;
# 625| for (g = groups; g; g = g->next)
# 626| {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def597]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcutssection.c: scope_hint: In function ‘gtk_shortcuts_section_reflow_groups’
gtk4-4.15.3-build/gtk-4.15.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): [#def598]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcutssection.c: scope_hint: In function ‘gtk_shortcuts_section_reflow_groups’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def599]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcutssection.c:725:16: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'g')
# 723|
# 724| g_assert (g);
# 725|-> for (g = g->next; g; g = g->next)
# 726| {
# 727| GtkShortcutsGroup *group = g->data;
Error: CPPCHECK_WARNING: [#def600]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcutswindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def601]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkshortcuttrigger.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def602]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksidebarrow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def603]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksingleselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def604]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksizerequest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-121): [#def605]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksizerequest.c: scope_hint: In function ‘gtk_distribute_natural_allocation’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksizerequest.h:24: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksizerequest.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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: [#def606]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksizerequestcache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def607]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksnapshot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def608]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksnapshot.c:2025:3: warning[deadcode.DeadStores]: Value stored to 'node' is never read
# 2023| }
# 2024|
# 2025|-> node = gtk_snapshot_pop_one (snapshot);
# 2026| g_assert (node == NULL);
# 2027| }
Error: CPPCHECK_WARNING: [#def609]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtksortlistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def610]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkspinbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def611]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkstack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def612]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkstringlist.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def613]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def614]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def615]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextattributes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def616]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_char_is_invisible’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbuffer.h:31: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbtreeprivate.h:37: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbtree.c:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
gtk4-4.15.3-build/gtk-4.15.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): [#def617]
gtk4-4.15.3-build/gtk-4.15.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): [#def618]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_first_could_contain_tag’
gtk4-4.15.3-build/gtk-4.15.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): [#def619]
gtk4-4.15.3-build/gtk-4.15.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): [#def620]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_last_could_contain_tag’
gtk4-4.15.3-build/gtk-4.15.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): [#def621]
gtk4-4.15.3-build/gtk-4.15.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): [#def622]
gtk4-4.15.3-build/gtk-4.15.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): [#def623]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_char_index’
gtk4-4.15.3-build/gtk-4.15.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): [#def624]
gtk4-4.15.3-build/gtk-4.15.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): [#def625]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_next_could_contain_tag’
gtk4-4.15.3-build/gtk-4.15.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): [#def626]
gtk4-4.15.3-build/gtk-4.15.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): [#def627]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_previous_could_contain_tag’
gtk4-4.15.3-build/gtk-4.15.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): [#def628]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextbtree.c: scope_hint: In function ‘gtk_text_line_destroy’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def629]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextchild.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-131): [#def630]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_paintable_segment_new’
gtk4-4.15.3-build/gtk-4.15.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): [#def631]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_widget_segment_new’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def632]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktexthandle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def633]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextiter.c:1993:23: warning[core.NullDereference]: Access to field 'char_count' results in a dereference of a null pointer (loaded from field 'segment')
# 1991| if (real->line_char_offset >= 0)
# 1992| {
# 1993|-> chars_skipped = real->segment->char_count - real->segment_char_offset;
# 1994| g_assert (chars_skipped > 0);
# 1995| }
Error: CLANG_WARNING: [#def634]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextiter.c:2001:23: warning[core.NullDereference]: Access to field 'byte_count' results in a dereference of a null pointer (loaded from field 'segment')
# 1999| if (real->line_byte_offset >= 0)
# 2000| {
# 2001|-> bytes_skipped = real->segment->byte_count - real->segment_byte_offset;
# 2002| g_assert (bytes_skipped > 0);
# 2003| }
Error: CLANG_WARNING: [#def635]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextiter.c:2008:13: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from field 'segment')
# 2006|
# 2007| /* Get first segment of any kind */
# 2008|-> any_seg = real->segment->next;
# 2009| /* skip non-indexable segments, if any */
# 2010| seg = any_seg;
Error: CLANG_WARNING: [#def636]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextiter.c:5375:28: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 5373| */
# 5374| if (!case_insensitive)
# 5375|-> first_line_match = g_strrstr (*win.lines, *lines);
# 5376| else
# 5377| first_line_match = utf8_strrcasestr (*win.lines, *lines);
Error: CLANG_WARNING: [#def637]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextiter.c:5377:28: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 5375| first_line_match = g_strrstr (*win.lines, *lines);
# 5376| else
# 5377|-> first_line_match = utf8_strrcasestr (*win.lines, *lines);
# 5378|
# 5379| if (first_line_match &&
Error: CPPCHECK_WARNING: [#def638]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def639]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:998:11: warning[deadcode.DeadStores]: Value stored to 'last_line' is never read
# 996| first_line_y = seen - top_ink;
# 997| }
# 998|-> last_line = line;
# 999| last_line_y = seen + new_height + bottom_ink;
# 1000| }
Error: CLANG_WARNING: [#def640]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:2542:13: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'seg')
# 2540| g_error ("Unknown segment type: %s", seg->type->name);
# 2541|
# 2542|-> seg = seg->next;
# 2543| }
# 2544|
Error: CLANG_WARNING: [#def641]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:3700:8: warning[deadcode.DeadStores]: Value stored to 'line_byte' is never read
# 3698| new_index < display->insert_index + layout->preedit_len)
# 3699| {
# 3700|-> line_byte = display->insert_index;
# 3701| extra_back = 1;
# 3702| }
Error: CLANG_WARNING: [#def642]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:3924:11: warning[core.NullDereference]: Access to field 'alpha' results in a dereference of a null pointer (loaded from variable 'selection')
# 3922| if (selection_start_index < byte_offset &&
# 3923| selection_end_index > pango_layout_line_get_length (line) + byte_offset &&
# 3924|-> selection->alpha >= 1)
# 3925| {
# 3926| gtk_snapshot_append_color (crenderer->snapshot,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def643]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c: scope_hint: In function ‘render_para’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:3924:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘selection’
/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.15.3-build/gtk-4.15.3/gtk/css/gtkcss.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtk.h:29: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayoutprivate.h:80: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:80: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4126: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.15.3-build/gtk-4.15.3/gtk/gtktextlayoutprivate.h:94:43: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4126:21: note: in expansion of macro ‘GTK_IS_TEXT_LAYOUT’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4126: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.15.3-build/gtk-4.15.3/gtk/gtktextlayoutprivate.h:94:43: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4126:21: note: in expansion of macro ‘GTK_IS_TEXT_LAYOUT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4127:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4128:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4128:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4129:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4129:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:4131:10: note: in expansion of macro ‘GTK_TEXT_LAYOUT_GET_PRIVATE’
/usr/include/glib-2.0/gobject/gtype.h:2295:11: note: in expansion of macro ‘G_STRUCT_MEMBER_P’
/usr/include/glib-2.0/gobject/gtype.h:2337:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1870:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:188:1: note: in expansion of macro ‘G_DEFINE_TYPE_WITH_PRIVATE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c: scope_hint: In function ‘render_para’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:689: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.15.3-build/gtk-4.15.3/gtk/gtktextlayoutprivate.h:94:43: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:689:21: note: in expansion of macro ‘GTK_IS_TEXT_LAYOUT’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:689: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.15.3-build/gtk-4.15.3/gtk/gtktextlayoutprivate.h:94:43: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlayout.c:689:21: note: in expansion of macro ‘GTK_IS_TEXT_LAYOUT’
# 3922| if (selection_start_index < byte_offset &&
# 3923| selection_end_index > pango_layout_line_get_length (line) + byte_offset &&
# 3924|-> selection->alpha >= 1)
# 3925| {
# 3926| gtk_snapshot_append_color (crenderer->snapshot,
Error: CPPCHECK_WARNING: [#def644]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextlinedisplaycache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-131): [#def645]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextsegment.c: scope_hint: In function ‘_gtk_toggle_segment_new’
gtk4-4.15.3-build/gtk-4.15.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: [#def646]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktexttag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def647]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktextutil.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def648]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktogglebutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def649]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktooltip.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def650]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktooltipwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def651]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktreelistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def652]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtktreelistrowsorter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def653]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkvideo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def654]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkwidgetfocus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def655]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkwidgetfocus.c:188:27: warning[core.UndefinedBinaryOperatorResult]: The left operand of '/' is a garbage value
# 186| get_axis_info (&bounds2, compare->axis, &start2, &end2);
# 187|
# 188|-> start1 = start1 + (end1 / 2);
# 189| start2 = start2 + (end2 / 2);
# 190|
Error: CPPCHECK_WARNING: [#def656]
gtk4-4.15.3-build/gtk-4.15.3/gtk/gtkwindowcontrols.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def657]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/baselineoverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def658]
gtk4-4.15.3-build/gtk-4.15.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): [#def659]
gtk4-4.15.3-build/gtk-4.15.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: [#def660]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/css-node-tree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def661]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/fpsoverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def662]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/general.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def663]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/gtkdataviewer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def664]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/measuregraph.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def665]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/misc-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def666]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/object-tree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def667]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/prop-editor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def668]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/prop-list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def669]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/recorder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def670]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/resource-list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-823): [#def671]
gtk4-4.15.3-build/gtk-4.15.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): [#def672]
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def673]
gtk4-4.15.3-build/gtk-4.15.3/gtk/inspector/visual.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def674]
gtk4-4.15.3-build/gtk-4.15.3/gtk/language-names.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def675]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpagesetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def676]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpagesetupunixdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def677]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def678]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ppd’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:29: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:933:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:954:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:954:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:955:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:955:3: note: in expansion of macro ‘GET_DOUBLE’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245: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.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:328:7: note: in expansion of macro ‘g_str_has_suffix’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.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): [#def679]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ipp’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:455:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:485:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def680]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c:627:24: warning[core.NullDereference]: Access to field 'name' results in a dereference of a null pointer (loaded from field 'info')
# 625| return size->name;
# 626| g_assert (size->info != NULL);
# 627|-> return paper_names + size->info->name;
# 628| }
# 629|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def681]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_get_display_name.part.0’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def682]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def683]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinter.c:1343:7: warning[unix.Malloc]: Potential leak of memory pointed to by 'printer_list'
# 1341| {
# 1342| printer_list->loop = g_main_loop_new (NULL, FALSE);
# 1343|-> g_main_loop_run (printer_list->loop);
# 1344| }
# 1345| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def684]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinter.c: scope_hint: In function ‘match_printer_name’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinter.c:1354:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def685]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinteroptionwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def686]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinteroptionwidget.c: scope_hint: In function ‘filter_numeric’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinteroptionwidget.c:731: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.15.3-build/gtk-4.15.3/gtk/print/gtkprinteroptionwidget.c:24: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinteroptionwidget.c:597:18: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinteroptionwidget.c: scope_hint: In function ‘filter_numeric’
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprinteroptionwidget.c:597:18: note: in expansion of macro ‘g_strdup’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 729| char *filtered_val;
# 730| int i, j;
# 731|-> int len = strlen (val);
# 732| gboolean dec_set = FALSE;
# 733|
Error: CPPCHECK_WARNING: [#def687]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprintjob.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def688]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprintoperation-portal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def689]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprintoperation-unix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def690]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprintoperation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def691]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprintunixdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def692]
gtk4-4.15.3-build/gtk-4.15.3/gtk/print/gtkprintunixdialog.c:2860: warning[nullPointer]: Possible null pointer dereference: enum_value
# 2858|
# 2859| g_assert (enum_value != NULL);
# 2860|-> gtk_printer_option_set (option, enum_value->value_nick);
# 2861| g_type_class_unref (enum_class);
# 2862|
Error: CPPCHECK_WARNING: [#def693]
gtk4-4.15.3-build/gtk-4.15.3/modules/media/gtkgstsink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def694]
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkcupssecretsutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def695]
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkcupsutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def696]
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendcups.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def697]
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendcups.c: scope_hint: In function ‘cups_printer_get_options’
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendcups.c:5800:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendcups.c:44: included_from: Included from here.
/usr/include/glib-2.0/glib/gi18n-lib.h:32:59: note: in definition of macro ‘_’
/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/gprintf.h:23: included_from: Included from here.
/usr/include/glib-2.0/glib/gstdio.h:24: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendcups.c:43: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendcups.c:5797:22: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendcups.c: scope_hint: In function ‘cups_printer_get_options’
/usr/include/cups/http.h:21: included_from: Included from here.
/usr/include/cups/ipp.h:19: included_from: Included from here.
/usr/include/cups/cups.h:28: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendcups.c:34: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
# 5798| value = NULL;
# 5799| for (j = 0; j < G_N_ELEMENTS (cover_default); j++)
# 5800|-> if (strcmp (cover_default[j], cover[i]) == 0)
# 5801| {
# 5802| value = cover_display_default[j];
Error: CPPCHECK_WARNING: [#def698]
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendfile.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def699]
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendfile.c:707:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 705| }
# 706|
# 707|-> uri = output_file_from_settings (settings, supported_formats[current_format]);
# 708|
# 709| option = gtk_printer_option_new ("gtk-main-page-custom-input", _("File"),
Error: CPPCHECK_WARNING: [#def700]
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def701]
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintbackendutils.c:63:15: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 61| end = strptime (local_time, formats_0[i], &local_print_time);
# 62| else
# 63|-> end = strptime (local_time, formats_1[i], &local_print_time);
# 64|
# 65| if (end != NULL && end[0] == '\0')
Error: CPPCHECK_WARNING: [#def702]
gtk4-4.15.3-build/gtk-4.15.3/modules/printbackends/gtkprintercups.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def703]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/gtk/gtkdbusgenerated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def704]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/gtk/gtkmarshalers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def705]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/gtk/xdp-dbus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def706]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspect41oq43e6/GdkWayland-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def707]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspect41oq43e6/GdkWayland-4.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Error: CPPCHECK_WARNING: [#def708]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspectdkbiiscu/Gdk-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def709]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspectdkbiiscu/Gdk-4.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Error: CPPCHECK_WARNING: [#def710]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspectj3uego54/Gsk-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def711]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspectj3uego54/Gsk-4.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Error: CPPCHECK_WARNING: [#def712]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspectp1nm0ri0/Gtk-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def713]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspectp1nm0ri0/Gtk-4.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Error: CPPCHECK_WARNING: [#def714]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspectydp7_vng/GdkX11-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def715]
gtk4-4.15.3-build/gtk-4.15.3/redhat-linux-build/tmp-introspectydp7_vng/GdkX11-4.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Error: CPPCHECK_WARNING: [#def716]
gtk4-4.15.3-build/gtk-4.15.3/testsuite/reftests/reftest-compare.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-682): [#def717]
gtk4-4.15.3-build/gtk-4.15.3/testsuite/reftests/reftest-compare.c:49: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 47| const guint32 *row_a = (const guint32 *) (buf_a + y * stride_a);
# 48| const guint32 *row_b = (const guint32 *) (buf_b + y * stride_b);
# 49|-> guint32 *row = (guint32 *) (buf_diff + y * stride_diff);
# 50|
# 51| for (x = 0; x < width; x++)
Error: CPPCHECK_WARNING: [#def718]
gtk4-4.15.3-build/gtk-4.15.3/tools/encodesymbolic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def719]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-builder-tool-enumerate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def720]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-builder-tool-preview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def721]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-builder-tool-screenshot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def722]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-builder-tool-simplify.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def723]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-builder-tool-validate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def724]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-builder-tool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def725]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-launch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def726]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-launch.c: scope_hint: In function ‘main’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/tools/gtk-launch.c:28: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-launch.c:121:14: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-launch.c: scope_hint: In function ‘main’
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-launch.c:122:7: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-launch.c:124:27: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.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: CPPCHECK_WARNING: [#def727]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-path-tool-decompose.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def728]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-path-tool-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def729]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-path-tool-render.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def730]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-path-tool-restrict.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def731]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-path-tool-show.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def732]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-path-tool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def733]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-query-settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def734]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-rendernode-tool-benchmark.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def735]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-rendernode-tool-compare.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def736]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-rendernode-tool-render.c: scope_hint: In function ‘render_file’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/tools/gtk-rendernode-tool-render.c:26: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def737]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-rendernode-tool-render.c:184:58: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 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): [#def738]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-rendernode-tool-render.c:196:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.15.3-build/gtk-4.15.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: CLANG_WARNING: [#def739]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-rendernode-tool-render.c:196:58: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 194| if (bytes == NULL)
# 195| {
# 196|-> g_printerr (_("Failed to generate SVG: %s\n"), error->message);
# 197| exit (1);
# 198| }
Error: CPPCHECK_WARNING: [#def740]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-rendernode-tool-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def741]
gtk4-4.15.3-build/gtk-4.15.3/tools/gtk-rendernode-tool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def742]
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def743]
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c:451:7: warning[-Wanalyzer-null-argument]: use of NULL ‘path2’ where non-null expected
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c: scope_hint: In function ‘follow_links’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245: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.15.3-build/gtk-4.15.3/tools/updateiconcache.c:654:15: note: in expansion of macro ‘g_str_has_suffix’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245: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.15.3-build/gtk-4.15.3/tools/updateiconcache.c:465:8: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.15.3-build/gtk-4.15.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): [#def744]
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c: scope_hint: In function ‘follow_links’
gtk4-4.15.3-build/gtk-4.15.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.15.3-build/gtk-4.15.3/tools/updateiconcache.c:38: included_from: Included from here.
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.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:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245: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.15.3-build/gtk-4.15.3/tools/updateiconcache.c:654:15: note: in expansion of macro ‘g_str_has_suffix’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245: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.15.3-build/gtk-4.15.3/tools/updateiconcache.c:465:8: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c:428:11: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.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): [#def745]
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c: scope_hint: In function ‘scan_directory’
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c:667:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c: scope_hint: In function ‘scan_directory’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245: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.15.3-build/gtk-4.15.3/tools/updateiconcache.c:654:15: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.15.3-build/gtk-4.15.3/tools/updateiconcache.c:666:22: note: in expansion of macro ‘g_strdup’
gtk4-4.15.3-build/gtk-4.15.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|
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-28.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | gtk4-4.15.3-1.fc41 |
store-results-to | /tmp/tmpvko7xknb/gtk4-4.15.3-1.fc41.tar.xz |
time-created | 2024-07-03 13:56:09 |
time-finished | 2024-07-03 14:22:53 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpvko7xknb/gtk4-4.15.3-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpvko7xknb/gtk4-4.15.3-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |