gtk4-4.14.2-2.fc40
List of Defects
Error: CPPCHECK_WARNING: [#def1]
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/demos/gtk-demo/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-670): [#def19]
gtk4-4.14.2-build/gtk-4.14.2/demos/gtk-demo/main.c: scope_hint: In function ‘activate_about’
gtk4-4.14.2-build/gtk-4.14.2/demos/gtk-demo/main.c:203:74: warning[-Wduplicated-branches]: this condition has identical branches
# 203 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 201| PACKAGE_VERSION,
# 202| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 203|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 204| gtk_get_major_version (),
# 205| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670): [#def20]
gtk4-4.14.2-build/gtk-4.14.2/demos/gtk-demo/main.c: scope_hint: In function ‘print_version’
gtk4-4.14.2-build/gtk-4.14.2/demos/gtk-demo/main.c:1090:56: warning[-Wduplicated-branches]: this condition has identical branches
# 1090 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 1088| PACKAGE_VERSION,
# 1089| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 1090|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 1091| }
# 1092|
Error: CLANG_WARNING: [#def21]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def22]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def23]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def24]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def25]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def26]
gtk4-4.14.2-build/gtk-4.14.2/demos/gtk-demo/path_walk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def27]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def28]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def29]
gtk4-4.14.2-build/gtk-4.14.2/demos/gtk-demo/singular_value_decomposition.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def30]
gtk4-4.14.2-build/gtk-4.14.2/demos/gtk-demo/sliding_puzzle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def31]
gtk4-4.14.2-build/gtk-4.14.2/demos/gtk-demo/suggestionentry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-670): [#def32]
gtk4-4.14.2-build/gtk-4.14.2/demos/icon-browser/iconbrowserapp.c: scope_hint: In function ‘about_activated’
gtk4-4.14.2-build/gtk-4.14.2/demos/icon-browser/iconbrowserapp.c:83:74: warning[-Wduplicated-branches]: this condition has identical branches
# 83 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 81| PACKAGE_VERSION,
# 82| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 83|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 84| gtk_get_major_version (),
# 85| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670): [#def33]
gtk4-4.14.2-build/gtk-4.14.2/demos/node-editor/node-editor-application.c: scope_hint: In function ‘activate_about’
gtk4-4.14.2-build/gtk-4.14.2/demos/node-editor/node-editor-application.c:104:74: warning[-Wduplicated-branches]: this condition has identical branches
# 104 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 102| PACKAGE_VERSION,
# 103| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 104|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 105| gtk_get_major_version (),
# 106| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670): [#def34]
gtk4-4.14.2-build/gtk-4.14.2/demos/node-editor/node-editor-application.c: scope_hint: In function ‘print_version’
gtk4-4.14.2-build/gtk-4.14.2/demos/node-editor/node-editor-application.c:258:56: warning[-Wduplicated-branches]: this condition has identical branches
# 258 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 256| PACKAGE_VERSION,
# 257| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 258|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 259| }
# 260|
Error: CPPCHECK_WARNING: [#def35]
gtk4-4.14.2-build/gtk-4.14.2/demos/node-editor/node-editor-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def36]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def37]
gtk4-4.14.2-build/gtk-4.14.2/demos/node-editor/node-editor-window.c: scope_hint: In function ‘export_image_response_cb’
gtk4-4.14.2-build/gtk-4.14.2/demos/node-editor/node-editor-window.c:916:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
# 914|
# 915| alert = gtk_alert_dialog_new ("Exporting to image failed");
# 916|-> gtk_alert_dialog_set_detail (alert, error->message);
# 917| gtk_alert_dialog_show (alert, NULL);
# 918| g_object_unref (alert);
Error: COMPILER_WARNING (CWE-670): [#def38]
gtk4-4.14.2-build/gtk-4.14.2/demos/print-editor/print-editor.c: scope_hint: In function ‘activate_about’
gtk4-4.14.2-build/gtk-4.14.2/demos/print-editor/print-editor.c:623:74: warning[-Wduplicated-branches]: this condition has identical branches
# 623 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 621| PACKAGE_VERSION,
# 622| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 623|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 624| gtk_get_major_version (),
# 625| gtk_get_minor_version (),
Error: CPPCHECK_WARNING: [#def39]
gtk4-4.14.2-build/gtk-4.14.2/demos/widget-factory/widget-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-670): [#def40]
gtk4-4.14.2-build/gtk-4.14.2/demos/widget-factory/widget-factory.c: scope_hint: In function ‘activate_about’
gtk4-4.14.2-build/gtk-4.14.2/demos/widget-factory/widget-factory.c:338:74: warning[-Wduplicated-branches]: this condition has identical branches
# 338 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# | ^
# 336| PACKAGE_VERSION,
# 337| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 338|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "",
# 339| gtk_get_major_version (),
# 340| gtk_get_minor_version (),
Error: COMPILER_WARNING (CWE-670): [#def41]
gtk4-4.14.2-build/gtk-4.14.2/demos/widget-factory/widget-factory.c: scope_hint: In function ‘print_version’
gtk4-4.14.2-build/gtk-4.14.2/demos/widget-factory/widget-factory.c:2509:56: warning[-Wduplicated-branches]: this condition has identical branches
# 2509 | g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# | ^
# 2507| PACKAGE_VERSION,
# 2508| g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
# 2509|-> g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
# 2510| }
# 2511|
Error: CPPCHECK_WARNING: [#def42]
gtk4-4.14.2-build/gtk-4.14.2/gdk/broadway/broadway-server.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def43]
gtk4-4.14.2-build/gtk-4.14.2/gdk/broadway/broadwayd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def44]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def45]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:50: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c: scope_hint: In function ‘gtk_css_selectors_reserve’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:192: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.h:20: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssproviderprivate.h:20: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1240: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1187: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.h:27:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1187: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1187: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.h:27:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1187: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1187: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1188: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1188: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1188: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1188: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.14.2-build/gtk-4.14.2/gtk/gtkcssprovider.c:1188:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:272:1: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:279:3: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:214:1: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:236:3: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:177:1: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:185:10: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:191:21: note: in expansion of macro ‘g_new’
# 190| {
# 191| self->start = g_new (_T_, new_size);
# 192|-> memcpy (self->start, self->preallocated, sizeof (_T_) * GDK_ARRAY_REAL_SIZE (size));
# 193| }
# 194| else
Error: CLANG_WARNING: [#def46]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkanrealdescriptors.c:15: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:246:9: warning[unix.Malloc]: Use of memory after it is freed
# 244| {
# 245| if (additions)
# 246|-> memcpy (gdk_array(index) (self, pos),
# 247| additions,
# 248| added * sizeof (_T_));
Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:303:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v.start’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c: scope_hint: In function ‘free_int_array_test_splice’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c:55:1: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c:62:3: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c: scope_hint: In function ‘free_int_array_test_splice’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c:67:24: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c: scope_hint: In function ‘free_int_array_test_splice’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c:80:7: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:214:1: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:228:10: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c: scope_hint: In function ‘free_int_array_test_splice’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:236:3: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:177:1: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:182:12: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c: scope_hint: In function ‘free_int_array_test_splice’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:236:3: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c:80:7: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c:83:25: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c: scope_hint: In function ‘free_int_array_test_splice’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/arrayimpl.c:84:20: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:303:12: note: in expansion of macro ‘gdk_array’
# 301| gsize pos)
# 302| {
# 303|-> return *gdk_array(index) (self, pos);
# 304| }
# 305| #endif
Error: GCC_ANALYZER_WARNING (CWE-686): [#def48]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1291| g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1292|
# 1293|-> G_VALUE_COLLECT_INIT (&value, type,
# 1294| args, G_VALUE_NOCOPY_CONTENTS,
# 1295| &error);
Error: GCC_ANALYZER_WARNING (CWE-686): [#def49]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1291| g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1292|
# 1293|-> G_VALUE_COLLECT_INIT (&value, type,
# 1294| args, G_VALUE_NOCOPY_CONTENTS,
# 1295| &error);
Error: GCC_ANALYZER_WARNING (CWE-686): [#def50]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1291| g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1292|
# 1293|-> G_VALUE_COLLECT_INIT (&value, type,
# 1294| args, G_VALUE_NOCOPY_CONTENTS,
# 1295| &error);
Error: GCC_ANALYZER_WARNING (CWE-686): [#def51]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c: scope_hint: In function ‘gdk_clipboard_set_valist’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:25: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboardprivate.h:20: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1291| g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1292|
# 1293|-> G_VALUE_COLLECT_INIT (&value, type,
# 1294| args, G_VALUE_NOCOPY_CONTENTS,
# 1295| &error);
Error: GCC_ANALYZER_WARNING (CWE-686): [#def52]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1359: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdktexture.h:33:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1360: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1291| g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1292|
# 1293|-> G_VALUE_COLLECT_INIT (&value, type,
# 1294| args, G_VALUE_NOCOPY_CONTENTS,
# 1295| &error);
Error: GCC_ANALYZER_WARNING (CWE-686): [#def53]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
# 1291| g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1292|
# 1293|-> G_VALUE_COLLECT_INIT (&value, type,
# 1294| args, G_VALUE_NOCOPY_CONTENTS,
# 1295| &error);
Error: GCC_ANALYZER_WARNING (CWE-685): [#def54]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1343: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1268: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.h:31:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1291: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293: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.14.2-build/gtk-4.14.2/gdk/gdkclipboard.c:1293:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’ (24) ‘args’ has no more arguments (1 consumed)
# 1291| g_return_if_fail (GDK_IS_CLIPBOARD (clipboard));
# 1292|
# 1293|-> G_VALUE_COLLECT_INIT (&value, type,
# 1294| args, G_VALUE_NOCOPY_CONTENTS,
# 1295| &error);
Error: CPPCHECK_WARNING (CWE-823): [#def55]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentdeserializer.c:867: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 4, which is out of bounds.
# 865| else if (written == 0)
# 866| {
# 867|-> GdkRGBA black = GDK_RGBA ("000");
# 868|
# 869| /* Never return NULL, we only return that on error */
Error: CPPCHECK_WARNING (CWE-823): [#def56]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentdeserializer.c:867: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 5, which is out of bounds.
# 865| else if (written == 0)
# 866| {
# 867|-> GdkRGBA black = GDK_RGBA ("000");
# 868|
# 869| /* Never return NULL, we only return that on error */
Error: CPPCHECK_WARNING (CWE-823): [#def57]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentdeserializer.c:867: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 6, which is out of bounds.
# 865| else if (written == 0)
# 866| {
# 867|-> GdkRGBA black = GDK_RGBA ("000");
# 868|
# 869| /* Never return NULL, we only return that on error */
Error: CPPCHECK_WARNING (CWE-823): [#def58]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentdeserializer.c:867: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 7, which is out of bounds.
# 865| else if (written == 0)
# 866| {
# 867|-> GdkRGBA black = GDK_RGBA ("000");
# 868|
# 869| /* Never return NULL, we only return that on error */
Error: CPPCHECK_WARNING: [#def59]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentformats.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def60]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.c:654: error[legacyUninitvar]: Uninitialized variable: pixbuf
# 652| }
# 653|
# 654|-> gdk_pixbuf_save_to_stream_async (pixbuf,
# 655| gdk_content_serializer_get_output_stream (serializer),
# 656| name,
Error: GCC_ANALYZER_WARNING (CWE-688): [#def61]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.c: scope_hint: In function ‘serialize_texture_in_thread’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.c:699: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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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
# 697| if (strcmp (gdk_content_serializer_get_mime_type (serializer), "image/png") == 0)
# 698| bytes = gdk_save_png (texture);
# 699|-> else if (strcmp (gdk_content_serializer_get_mime_type (serializer), "image/tiff") == 0)
# 700| bytes = gdk_save_tiff (texture);
# 701| else if (strcmp (gdk_content_serializer_get_mime_type (serializer), "image/jpeg") == 0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def62]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.c: scope_hint: In function ‘file_text_serializer’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.c:907: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.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.c:873: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.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.c:873: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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.h:30:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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
# 905| g_assert (path != NULL);
# 906|
# 907|-> g_output_stream_write_all_async (gdk_content_serializer_get_output_stream (serializer),
# 908| path,
# 909| strlen (path),
Error: CLANG_WARNING: [#def63]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcontentserializer.c:909:36: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 907| g_output_stream_write_all_async (gdk_content_serializer_get_output_stream (serializer),
# 908| path,
# 909|-> strlen (path),
# 910| gdk_content_serializer_get_priority (serializer),
# 911| gdk_content_serializer_get_cancellable (serializer),
Error: CPPCHECK_WARNING: [#def64]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkcursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def65]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def66]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdevice.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdisplay.c: scope_hint: In function ‘switch_to_pointer_grab’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def68]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def69]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdisplaymanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def70]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdmabuf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def71]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdmabufegl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def72]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdmabuftexturebuilder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def73]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdrag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def74]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdrop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def75]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkevents.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkglcontext.c: scope_hint: In function ‘gdk_gl_context_import_dmabuf’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkglcontext.c:2201:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2199| gdk_display_init_dmabuf (display);
# 2200|
# 2201|-> if (!gdk_dmabuf_formats_contains (display->egl_external_formats, dmabuf->fourcc, dmabuf->modifier))
# 2202| {
# 2203| texture_id = gdk_gl_context_import_dmabuf_for_target (self,
Error: CPPCHECK_WARNING: [#def77]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkgltexture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def78]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkhsla.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def79]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkkeys.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def80]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkmemoryformat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def81]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkmemorytexture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def82]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkpaintable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def83]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkrgba.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def84]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkseatdefault.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def85]
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdksubsurface.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def86]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def87]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def88]
gtk4-4.14.2-build/gtk-4.14.2/gdk/wayland/cursor/wayland-cursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def89]
gtk4-4.14.2-build/gtk-4.14.2/gdk/wayland/cursor/xcursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def90]
gtk4-4.14.2-build/gtk-4.14.2/gdk/wayland/gdkdevice-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def91]
gtk4-4.14.2-build/gtk-4.14.2/gdk/wayland/gdkeventsource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def92]
gtk4-4.14.2-build/gtk-4.14.2/gdk/wayland/gdkkeymap-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def93]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def94]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def95]
gtk4-4.14.2-build/gtk-4.14.2/gdk/wayland/gdkseat-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def96]
gtk4-4.14.2-build/gtk-4.14.2/gdk/wayland/gdksubsurface-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def97]
gtk4-4.14.2-build/gtk-4.14.2/gdk/wayland/wm-button-layout-translation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def98]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkapplaunchcontext-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def99]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkasync.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def100]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def101]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def102]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkclipboard-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def103]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def104]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkcursor-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def105]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkdevice-xi2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def106]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def107]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def108]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def109]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def110]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkdevicemanager-xi2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def111]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def112]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def113]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def114]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def115]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def116]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkdisplay-x11.c:2217: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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdisplay.h:28: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkdisplayprivate.h:20: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkdisplay-x11.h:24: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkdisplay-x11.c:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkdisplay-x11.c:2212: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.14.2-build/gtk-4.14.2/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
# 2215| while ((key = va_arg (ap, const char *)))
# 2216| {
# 2217|-> value = va_arg (ap, const char *);
# 2218| if (!value)
# 2219| continue;
Error: CPPCHECK_WARNING: [#def117]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkdrag-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def118]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkdrop-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def119]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkeventsource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def120]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkglcontext-glx.c:576:11: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 574| }
# 575|
# 576|-> if (ctx == NULL)
# 577| {
# 578| GDK_DISPLAY_DEBUG (display, OPENGL, "Failed to create a GLX context");
Error: CPPCHECK_WARNING: [#def121]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkkeys-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def122]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def123]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def124]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def125]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkscreen-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def126]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkselection-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def127]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkselectionoutputstream-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def128]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def129]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def130]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/gdkxftdefaults.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def131]
gtk4-4.14.2-build/gtk-4.14.2/gdk/x11/xsettings-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def132]
gtk4-4.14.2-build/gtk-4.14.2/gsk/broadway/gskbroadwayrenderer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def133]
gtk4-4.14.2-build/gtk-4.14.2/gsk/broadway/gskbroadwayrenderer.c:534:5: warning[deadcode.DeadStores]: Value stored to 'colorized_list' is never read
# 532| colorized = colorized_texture_new (colorized_texture, color_matrix, color_offset);
# 533| if (colorized_list)
# 534|-> colorized_list = g_list_append (colorized_list, colorized);
# 535| else
# 536| {
Error: CPPCHECK_WARNING: [#def134]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskglcompiler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def135]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def136]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskglglyphlibrary.c: scope_hint: In function ‘gsk_gl_glyph_library_upload_glyph’
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskglglyphlibrary.c:281:32: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.14.2-build/gtk-4.14.2/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: [#def137]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskglrenderer.c: scope_hint: In function ‘gsk_gl_renderer_render_texture’
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskglrenderer.c:425:14: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskglrenderer.c:425:14: note: only use operands of an integer type inside the size argument
# 423| stride = width * 4;
# 424| size = stride * height;
# 425|-> data = g_malloc_n (stride, height);
# 426|
# 427| for (y = 0; y < height; y += max_size)
Error: CLANG_WARNING: [#def138]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def139]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskgltexturelibrary.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskgltexturelibrary.c: scope_hint: In function ‘gsk_gl_texture_library_pack’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkglcontext.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkglcontextprivate.h:23: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gsk/gl/gskgltexturelibraryprivate.h:32:49: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gsk/gl/gskgltexturelibraryprivate.h:32:49: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def141]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskgluniformstate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def142]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskglrenderjob.c:43: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/gskglcommandqueueprivate.h:28: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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: [#def143]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def144]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gl/stb_rect_pack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def145]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def146]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskgpudownloadop.c:284:3: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 282| gdk_gl_texture_builder_set_width (builder, gsk_gpu_image_get_width (self->image));
# 283| gdk_gl_texture_builder_set_height (builder, gsk_gpu_image_get_height (self->image));
# 284|-> gdk_gl_texture_builder_set_sync (builder, data->sync);
# 285|
# 286| self->texture = gdk_gl_texture_builder_build (builder,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskgpuframe.c: scope_hint: In function ‘gsk_gpu_frame_sort_render_pass’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def148]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def149]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def150]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskgpunodeprocessor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def151]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def152]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def153]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def154]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskgpushaderop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def155]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkandevice.c:1153:29: warning[core.BitwiseShift]: Left shift by '60' overflows the capacity of 'int'
# 1151| n_buffers = MAX (n_buffers, 8);
# 1152| g_assert (n_buffers <= self->max_buffers);
# 1153|-> setup.n_samplers = MIN (2 << g_bit_nth_msf (n_samplers - 1, -1), self->max_samplers);
# 1154| setup.n_buffers = MIN (2 << g_bit_nth_msf (n_buffers - 1, -1), self->max_buffers);
# 1155| setup.n_immutable_samplers = n_immutable_samplers;
Error: CLANG_WARNING: [#def156]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkandevice.c:1153:29: warning[core.BitwiseShift]: Left shift by '61' overflows the capacity of 'int'
# 1151| n_buffers = MAX (n_buffers, 8);
# 1152| g_assert (n_buffers <= self->max_buffers);
# 1153|-> setup.n_samplers = MIN (2 << g_bit_nth_msf (n_samplers - 1, -1), self->max_samplers);
# 1154| setup.n_buffers = MIN (2 << g_bit_nth_msf (n_buffers - 1, -1), self->max_buffers);
# 1155| setup.n_immutable_samplers = n_immutable_samplers;
Error: CLANG_WARNING: [#def157]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkandevice.c:1153:29: warning[core.BitwiseShift]: Left shift by '62' overflows the capacity of 'int'
# 1151| n_buffers = MAX (n_buffers, 8);
# 1152| g_assert (n_buffers <= self->max_buffers);
# 1153|-> setup.n_samplers = MIN (2 << g_bit_nth_msf (n_samplers - 1, -1), self->max_samplers);
# 1154| setup.n_buffers = MIN (2 << g_bit_nth_msf (n_buffers - 1, -1), self->max_buffers);
# 1155| setup.n_immutable_samplers = n_immutable_samplers;
Error: CLANG_WARNING: [#def158]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkandevice.c:1153:29: warning[core.BitwiseShift]: Left shift by '63' overflows the capacity of 'int'
# 1151| n_buffers = MAX (n_buffers, 8);
# 1152| g_assert (n_buffers <= self->max_buffers);
# 1153|-> setup.n_samplers = MIN (2 << g_bit_nth_msf (n_samplers - 1, -1), self->max_samplers);
# 1154| setup.n_buffers = MIN (2 << g_bit_nth_msf (n_buffers - 1, -1), self->max_buffers);
# 1155| setup.n_immutable_samplers = n_immutable_samplers;
Error: CLANG_WARNING: [#def159]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def160]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def161]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def162]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def163]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkanframe.c: scope_hint: In function ‘gsk_vulkan_frame_prepare_descriptors’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskgpurenderer.h:20: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskgpuframeprivate.h:3: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkanframeprivate.h:3: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkanframe.c:3: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkanframe.c:213:37: note: in expansion of macro ‘g_bit_nth_msf’
gtk4-4.14.2-build/gtk-4.14.2/gsk/gpu/gskvulkanframe.c:213:37: note: in expansion of macro ‘g_bit_nth_msf’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def164]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def165]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def166]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def167]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def168]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskcairorenderer.c: scope_hint: In function ‘gsk_cairo_renderer_render_texture’
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskcairorenderer.c:115:14: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
gtk4-4.14.2-build/gtk-4.14.2/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: [#def169]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskcontour.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def170]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def171]
gtk4-4.14.2-build/gtk-4.14.2/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: CLANG_WARNING: [#def172]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskcurve.c:247:3: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
# 245| }
# 246|
# 247|-> return t;
# 248| }
# 249| /* }}} */
Error: GCC_ANALYZER_WARNING (CWE-457): [#def173]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskcurve.c: scope_hint: In function ‘get_t_by_bisection’
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskcurve.c:247:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘t’
# 245| }
# 246|
# 247|-> return t;
# 248| }
# 249| /* }}} */
Error: CPPCHECK_WARNING: [#def174]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskdiff.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def175]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskoffload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def176]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskoffload.c: scope_hint: In function ‘push_rect_clip’
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskoffload.c:229:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*rect’
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernode.h:25: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskoffloadprivate.h:25: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskoffload.c:23: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskoffload.c:633:30: note: in expansion of macro ‘GSK_ROUNDED_RECT_INIT’
# 227| {
# 228| Clip *clip = g_new0 (Clip, 1);
# 229|-> clip->rect = *rect;
# 230| clip->is_rectilinear = gsk_rounded_rect_is_rectilinear (rect);
# 231| clip->is_empty = (rect->bounds.size.width == 0 || rect->bounds.size.height == 0);
Error: CLANG_WARNING: [#def177]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskoffload.c:231:45: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 229| clip->rect = *rect;
# 230| clip->is_rectilinear = gsk_rounded_rect_is_rectilinear (rect);
# 231|-> clip->is_empty = (rect->bounds.size.width == 0 || rect->bounds.size.height == 0);
# 232|
# 233| self->clips = g_slist_prepend (self->clips, clip);
Error: CPPCHECK_WARNING: [#def178]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskpath.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def179]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskpathbuilder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def180]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskpathpoint.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def181]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskprofiler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def182]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrenderer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def183]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeimpl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def184]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeimpl.c:6042:25: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 6040| {
# 6041| /* set as the mean of the kernel */
# 6042|-> p_dest_row[0] = div_kernel_size[r];
# 6043| p_dest_row[1] = div_kernel_size[g];
# 6044| p_dest_row[2] = div_kernel_size[b];
Error: CPPCHECK_WARNING: [#def185]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-823): [#def186]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:727: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 725| do
# 726| {
# 727|-> GskShadow shadow = { GDK_RGBA("000000"), 0, 0, 0 };
# 728| double dx = 0, dy = 0, radius = 0;
# 729|
Error: CPPCHECK_WARNING (CWE-823): [#def187]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1450: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1448| create_default_render_node_with_bounds (const graphene_rect_t *rect)
# 1449| {
# 1450|-> return gsk_color_node_new (&GDK_RGBA("FF00CC"), rect);
# 1451| }
# 1452|
Error: CPPCHECK_WARNING (CWE-823): [#def188]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1484: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1482| {
# 1483| graphene_rect_t bounds = GRAPHENE_RECT_INIT (0, 0, 50, 50);
# 1484|-> GdkRGBA color = GDK_RGBA("FF00CC");
# 1485| const Declaration declarations[] = {
# 1486| { "bounds", parse_rect, NULL, &bounds },
Error: CPPCHECK_WARNING (CWE-823): [#def189]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1515: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1513| if (stops == NULL)
# 1514| {
# 1515|-> GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1516| GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1517|
Error: CPPCHECK_WARNING (CWE-823): [#def190]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1516: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1514| {
# 1515| GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1516|-> GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1517|
# 1518| stops = g_array_new (FALSE, FALSE, sizeof (GskColorStop));
Error: CPPCHECK_WARNING (CWE-823): [#def191]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1573: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1571| if (stops == NULL)
# 1572| {
# 1573|-> GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1574| GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1575|
Error: CPPCHECK_WARNING (CWE-823): [#def192]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1574: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1572| {
# 1573| GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1574|-> GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1575|
# 1576| stops = g_array_new (FALSE, FALSE, sizeof (GskColorStop));
Error: CPPCHECK_WARNING (CWE-823): [#def193]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1626: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1624| if (stops == NULL)
# 1625| {
# 1626|-> GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1627| GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1628|
Error: CPPCHECK_WARNING (CWE-823): [#def194]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1627: error[arrayIndexOutOfBounds]: Array '"FF00CC"[7]' accessed at index 7, which is out of bounds.
# 1625| {
# 1626| GskColorStop from = { 0.0, GDK_RGBA("AAFF00") };
# 1627|-> GskColorStop to = { 1.0, GDK_RGBA("FF00CC") };
# 1628|
# 1629| stops = g_array_new (FALSE, FALSE, sizeof (GskColorStop));
Error: CPPCHECK_WARNING (CWE-823): [#def195]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1647: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 1645| {
# 1646| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1647|-> GdkRGBA color = GDK_RGBA("000000");
# 1648| double dx = 1, dy = 1, blur = 0, spread = 0;
# 1649| const Declaration declarations[] = {
Error: CPPCHECK_WARNING (CWE-823): [#def196]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1924: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 1922| source = create_default_render_node ();
# 1923| if (mask == NULL)
# 1924|-> mask = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 1925|
# 1926| result = gsk_mask_node_new (source, mask, mode);
Error: CPPCHECK_WARNING (CWE-823): [#def197]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1940: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 4, which is out of bounds.
# 1938| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1939| float widths[4] = { 1, 1, 1, 1 };
# 1940|-> GdkRGBA colors[4] = { GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000") };
# 1941| const Declaration declarations[] = {
# 1942| { "outline", parse_rounded_rect, NULL, &outline },
Error: CPPCHECK_WARNING (CWE-823): [#def198]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1940: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 5, which is out of bounds.
# 1938| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1939| float widths[4] = { 1, 1, 1, 1 };
# 1940|-> GdkRGBA colors[4] = { GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000") };
# 1941| const Declaration declarations[] = {
# 1942| { "outline", parse_rounded_rect, NULL, &outline },
Error: CPPCHECK_WARNING (CWE-823): [#def199]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1940: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 6, which is out of bounds.
# 1938| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1939| float widths[4] = { 1, 1, 1, 1 };
# 1940|-> GdkRGBA colors[4] = { GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000") };
# 1941| const Declaration declarations[] = {
# 1942| { "outline", parse_rounded_rect, NULL, &outline },
Error: CPPCHECK_WARNING (CWE-823): [#def200]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:1940: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 7, which is out of bounds.
# 1938| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 1939| float widths[4] = { 1, 1, 1, 1 };
# 1940|-> GdkRGBA colors[4] = { GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000"), GDK_RGBA("000") };
# 1941| const Declaration declarations[] = {
# 1942| { "outline", parse_rounded_rect, NULL, &outline },
Error: CPPCHECK_WARNING (CWE-823): [#def201]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:2049: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 2047| {
# 2048| GskRoundedRect outline = GSK_ROUNDED_RECT_INIT (0, 0, 50, 50);
# 2049|-> GdkRGBA color = GDK_RGBA("000000");
# 2050| double dx = 1, dy = 1, blur = 0, spread = 0;
# 2051| const Declaration declarations[] = {
Error: CPPCHECK_WARNING (CWE-823): [#def202]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:2163: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2161| parse_declarations (parser, context, declarations, G_N_ELEMENTS (declarations));
# 2162| if (start == NULL)
# 2163|-> start = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2164| if (end == NULL)
# 2165| end = create_default_render_node ();
Error: CPPCHECK_WARNING (CWE-823): [#def203]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:2191: error[arrayIndexOutOfBounds]: Array '"AAFF00"[7]' accessed at index 7, which is out of bounds.
# 2189| parse_declarations (parser, context, declarations, G_N_ELEMENTS (declarations));
# 2190| if (bottom == NULL)
# 2191|-> bottom = gsk_color_node_new (&GDK_RGBA("AAFF00"), &GRAPHENE_RECT_INIT (0, 0, 50, 50));
# 2192| if (top == NULL)
# 2193| top = create_default_render_node ();
Error: CPPCHECK_WARNING (CWE-823): [#def204]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:2325: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 2323| PangoFont *font = NULL;
# 2324| graphene_point_t offset = GRAPHENE_POINT_INIT (0, 0);
# 2325|-> GdkRGBA color = GDK_RGBA("000000");
# 2326| PangoGlyphString *glyphs = NULL;
# 2327| cairo_hint_style_t hint_style = CAIRO_HINT_STYLE_SLIGHT;
Error: CPPCHECK_WARNING (CWE-823): [#def205]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:2673: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 2671| if (shadows->len == 0)
# 2672| {
# 2673|-> GskShadow default_shadow = { GDK_RGBA("000000"), 1, 1, 0 };
# 2674| g_array_append_val (shadows, default_shadow);
# 2675| }
Error: CPPCHECK_WARNING (CWE-823): [#def206]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:3923: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 4, which is out of bounds.
# 3921|
# 3922| append_float_param (p, "blur", gsk_outset_shadow_node_get_blur_radius (node), 0.0f);
# 3923|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 3924| append_rgba_param (p, "color", color);
# 3925| append_float_param (p, "dx", gsk_outset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def207]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:3923: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 5, which is out of bounds.
# 3921|
# 3922| append_float_param (p, "blur", gsk_outset_shadow_node_get_blur_radius (node), 0.0f);
# 3923|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 3924| append_rgba_param (p, "color", color);
# 3925| append_float_param (p, "dx", gsk_outset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def208]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:3923: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 6, which is out of bounds.
# 3921|
# 3922| append_float_param (p, "blur", gsk_outset_shadow_node_get_blur_radius (node), 0.0f);
# 3923|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 3924| append_rgba_param (p, "color", color);
# 3925| append_float_param (p, "dx", gsk_outset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def209]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:3923: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 7, which is out of bounds.
# 3921|
# 3922| append_float_param (p, "blur", gsk_outset_shadow_node_get_blur_radius (node), 0.0f);
# 3923|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 3924| append_rgba_param (p, "color", color);
# 3925| append_float_param (p, "dx", gsk_outset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def210]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:4033: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 4031| else if (!gdk_rgba_equal (&colors[1], &colors[0]))
# 4032| n = 2;
# 4033|-> else if (!gdk_rgba_equal (&colors[0], &GDK_RGBA("000000")))
# 4034| n = 1;
# 4035| else
Error: CPPCHECK_WARNING (CWE-823): [#def211]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:4127: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 4, which is out of bounds.
# 4125|
# 4126| append_float_param (p, "blur", gsk_inset_shadow_node_get_blur_radius (node), 0.0f);
# 4127|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 4128| append_rgba_param (p, "color", color);
# 4129| append_float_param (p, "dx", gsk_inset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def212]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:4127: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 5, which is out of bounds.
# 4125|
# 4126| append_float_param (p, "blur", gsk_inset_shadow_node_get_blur_radius (node), 0.0f);
# 4127|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 4128| append_rgba_param (p, "color", color);
# 4129| append_float_param (p, "dx", gsk_inset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def213]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:4127: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 6, which is out of bounds.
# 4125|
# 4126| append_float_param (p, "blur", gsk_inset_shadow_node_get_blur_radius (node), 0.0f);
# 4127|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 4128| append_rgba_param (p, "color", color);
# 4129| append_float_param (p, "dx", gsk_inset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def214]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:4127: error[arrayIndexOutOfBounds]: Array '"000"[4]' accessed at index 7, which is out of bounds.
# 4125|
# 4126| append_float_param (p, "blur", gsk_inset_shadow_node_get_blur_radius (node), 0.0f);
# 4127|-> if (!gdk_rgba_equal (color, &GDK_RGBA("000")))
# 4128| append_rgba_param (p, "color", color);
# 4129| append_float_param (p, "dx", gsk_inset_shadow_node_get_dx (node), 1.0f);
Error: CPPCHECK_WARNING (CWE-823): [#def215]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskrendernodeparser.c:4181: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 4179| start_node (p, "text", node_name);
# 4180|
# 4181|-> if (!gdk_rgba_equal (color, &GDK_RGBA ("000000")))
# 4182| append_rgba_param (p, "color", color);
# 4183|
Error: CPPCHECK_WARNING: [#def216]
gtk4-4.14.2-build/gtk-4.14.2/gsk/gskroundedrect.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def217]
gtk4-4.14.2-build/gtk-4.14.2/gtk/a11y/gtkatspiaction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def218]
gtk4-4.14.2-build/gtk-4.14.2/gtk/a11y/gtkatspicomponent.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def219]
gtk4-4.14.2-build/gtk-4.14.2/gtk/a11y/gtkatspicontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def220]
gtk4-4.14.2-build/gtk-4.14.2/gtk/a11y/gtkatspicontext.c:1635:15: warning[deadcode.DeadStores]: Value stored to 'kind' during its initialization is never read
# 1633| return;
# 1634|
# 1635|-> const char *kind = "";
# 1636|
# 1637| switch (change)
Error: CPPCHECK_WARNING: [#def221]
gtk4-4.14.2-build/gtk-4.14.2/gtk/a11y/gtkatspieditabletext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def222]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def223]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def224]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def225]
gtk4-4.14.2-build/gtk-4.14.2/gtk/a11y/gtkatspiroot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def226]
gtk4-4.14.2-build/gtk-4.14.2/gtk/a11y/gtkatspiselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def227]
gtk4-4.14.2-build/gtk-4.14.2/gtk/a11y/gtkatspitext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def228]
gtk4-4.14.2-build/gtk-4.14.2/gtk/a11y/gtkatspitextbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def229]
gtk4-4.14.2-build/gtk-4.14.2/gtk/compose/compose-parse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def230]
gtk4-4.14.2-build/gtk-4.14.2/gtk/css/gtkcssdataurl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def231]
gtk4-4.14.2-build/gtk-4.14.2/gtk/css/gtkcssparser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def232]
gtk4-4.14.2-build/gtk-4.14.2/gtk/css/gtkcsstokenizer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def233]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkappchooserbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def234]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkappchooserdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def235]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkappchooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def236]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkassistant.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def237]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcellareabox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def238]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def239]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def240]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def241]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def242]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def243]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcellareaboxcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def244]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def245]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def246]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def247]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcellrenderer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def248]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcellrenderercombo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def249]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcellrendererpixbuf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def250]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcellrendererspinner.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def251]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcellrenderertext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def252]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcellrenderertoggle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def253]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcellview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-823): [#def254]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def255]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def256]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcombobox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def257]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkcomboboxtext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def258]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def259]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkentrycompletion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def260]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkfontbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def261]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkiconview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def262]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkiconview.c: scope_hint: In function ‘gtk_icon_view_button_release’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkiconview.c:2224:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkiconview.c: scope_hint: In function ‘gtk_icon_view_button_release’
# 2222| {
# 2223| GtkTreePath *path;
# 2224|-> path = gtk_tree_path_new_from_indices (item->index, -1);
# 2225| gtk_icon_view_item_activated (icon_view, path);
# 2226| gtk_tree_path_free (path);
Error: CLANG_WARNING: [#def263]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def264]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def265]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def266]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkrender.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def267]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkshow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def268]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkshow.c: scope_hint: In function ‘show_uri_done’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkshow.c:184:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkshow.c:28: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtkshow.c:183:44: note: in expansion of macro ‘_’
# 182|
# 183| dialog = gtk_alert_dialog_new ("%s", _("Could not show link"));
# 184|-> gtk_alert_dialog_set_detail (dialog, error->message);
# 185| gtk_alert_dialog_show (dialog, parent);
# 186| g_object_unref (dialog);
Error: CLANG_WARNING: [#def269]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def270]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreednd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def271]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def272]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_update_children.part.0’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:1823: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodel.h:24: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.h:25: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3995: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3995: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3995: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3995: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3996: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3997: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3997: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3998: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3998: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3999: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3999: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:4000: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:4000:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:4002: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:1160: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:1160:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1821| gtk_tree_model_filter_convert_iter_to_child_iter (filter, &c_iter, &iter);
# 1822|
# 1823|-> if ((!level->parent_level || level->parent_level->ext_ref_count > 0) &&
# 1824| gtk_tree_model_iter_has_child (filter->priv->child_model, &c_iter))
# 1825| {
Error: CLANG_WARNING: [#def273]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:1931:9: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1929| gtk_tree_model_filter_get_iter_full (GTK_TREE_MODEL (filter), &iter, path);
# 1930|
# 1931|-> level = FILTER_LEVEL (iter.user_data);
# 1932| elt = FILTER_ELT (iter.user_data2);
# 1933|
Error: CLANG_WARNING: [#def274]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:1932:7: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1930|
# 1931| level = FILTER_LEVEL (iter.user_data);
# 1932|-> elt = FILTER_ELT (iter.user_data2);
# 1933|
# 1934| /* Make sure elt is visible. elt can already be visible in case
Error: CLANG_WARNING: [#def275]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:2037:23: warning[core.NullDereference]: Access to field 'visible_siter' results in a dereference of an undefined pointer value (loaded from field 'user_data2')
# 2035| gtk_tree_model_filter_get_iter_full (GTK_TREE_MODEL (filter),
# 2036| &iter, path);
# 2037|-> current_state = FILTER_ELT (iter.user_data2)->visible_siter != NULL;
# 2038| }
# 2039| else
Error: CLANG_WARNING: [#def276]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:2508:15: warning[core.NullDereference]: Access to field 'children' results in a dereference of a null pointer (loaded from variable 'elt')
# 2506| }
# 2507|
# 2508|-> level = elt->children;
# 2509| }
# 2510|
Error: CPPCHECK_WARNING (CWE-476): [#def277]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3006: warning[nullPointer]: Possible null pointer dereference: elt
# 3004| g_assert (elt);
# 3005|
# 3006|-> if (!elt->children)
# 3007| gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 3008| level = elt->children;
Error: COMPILER_WARNING (CWE-476): [#def278]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_get_iter_full.isra.0’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3006:15: warning[-Wnull-dereference]: potential null pointer dereference
# 3006 | if (!elt->children)
# | ~~~^~~~~~~~~~
# 3004| g_assert (elt);
# 3005|
# 3006|-> if (!elt->children)
# 3007| gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 3008| level = elt->children;
Error: CPPCHECK_WARNING (CWE-476): [#def279]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3076: warning[nullPointer]: Possible null pointer dereference: elt
# 3074| elt = GET_ELT (siter);
# 3075| g_assert (elt);
# 3076|-> if (!elt->children)
# 3077| gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 3078| level = elt->children;
Error: COMPILER_WARNING (CWE-476): [#def280]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_get_iter’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3076:15: warning[-Wnull-dereference]: potential null pointer dereference
# 3076 | if (!elt->children)
# | ~~~^~~~~~~~~~
# 3074| elt = GET_ELT (siter);
# 3075| g_assert (elt);
# 3076|-> if (!elt->children)
# 3077| gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 3078| level = elt->children;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def281]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_real_unref_node’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3524: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3524: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3510: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3510: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3510: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3510: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3511: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3512: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3512: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3995: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3995: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3995: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.h:32:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3995: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3996: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3997: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3997: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3998: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3998: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3999: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3999: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:4000: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:4000:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:4002: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:1160: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:1161: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:1161:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:1161: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.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:3524:3: note: in expansion of macro ‘g_return_if_fail’
# 3522| elt = iter->user_data2;
# 3523|
# 3524|-> g_return_if_fail (elt->ref_count > 0);
# 3525| #ifdef MODEL_FILTER_DEBUG
# 3526| g_assert (elt->ref_count >= elt->ext_ref_count);
Error: CLANG_WARNING: [#def282]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:4099:11: warning[deadcode.DeadStores]: Value stored to 'found_child' is never read
# 4097| gtk_tree_model_filter_build_level (filter, level, tmp, FALSE);
# 4098| level = tmp->children;
# 4099|-> found_child = TRUE;
# 4100| }
# 4101| else if (!found_child && !fetch_children)
Error: CPPCHECK_WARNING (CWE-476): [#def283]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:4212: warning[nullPointer]: Possible null pointer dereference: elt
# 4210| elt = GET_ELT (siter);
# 4211| g_assert (elt);
# 4212|-> if (elt->children == NULL)
# 4213| gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 4214|
Error: COMPILER_WARNING (CWE-476): [#def284]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_convert_path_to_child_path’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelfilter.c:4212:14: warning[-Wnull-dereference]: potential null pointer dereference
# 4212 | if (elt->children == NULL)
# | ~~~^~~~~~~~~~
# 4210| elt = GET_ELT (siter);
# 4211| g_assert (elt);
# 4212|-> if (elt->children == NULL)
# 4213| gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 4214|
Error: CLANG_WARNING: [#def285]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelsort.c:1173:19: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1171| SortElt *elt = g_sequence_get (siter);
# 1172|
# 1173|-> elt->offset = tmp_array[i];
# 1174| i++;
# 1175| }
Error: COMPILER_WARNING (CWE-476): [#def286]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelsort.c: scope_hint: In function ‘gtk_tree_model_sort_get_iter’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelsort.c:1288:14: warning[-Wnull-dereference]: potential null pointer dereference
# 1288 | if (elt->children == NULL)
# | ~~~^~~~~~~~~~
# 1286| elt = GET_ELT (siter);
# 1287| g_assert (elt);
# 1288|-> if (elt->children == NULL)
# 1289| gtk_tree_model_sort_build_level (tree_model_sort, level, elt);
# 1290|
Error: COMPILER_WARNING (CWE-476): [#def287]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelsort.c: scope_hint: In function ‘gtk_tree_model_sort_convert_path_to_child_path’
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreemodelsort.c:2407:14: warning[-Wnull-dereference]: potential null pointer dereference
# 2407 | if (elt->children == NULL)
# | ~~~^~~~~~~~~~
# 2405| elt = GET_ELT (siter);
# 2406| g_assert (elt);
# 2407|-> if (elt->children == NULL)
# 2408| gtk_tree_model_sort_build_level (tree_model_sort, level, elt);
# 2409|
Error: COMPILER_WARNING (CWE-476): [#def288]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def289]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def290]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreeselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def291]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreestore.c: scope_hint: In function ‘gtk_tree_store_sort_iter_changed’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def292]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def293]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreestore.c: scope_hint: In function ‘gtk_tree_store_sort_iter_changed’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def294]
gtk4-4.14.2-build/gtk-4.14.2/gtk/deprecated/gtktreeviewcolumn.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def295]
gtk4-4.14.2-build/gtk-4.14.2/gtk/fnmatch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def296]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gdktextureutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def297]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gsettings-mapping.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def298]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gskpango.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def299]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkaboutdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def300]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkaccelgroup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def301]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def302]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkaccessiblevalue.c: scope_hint: In function ‘gtk_string_accessible_value_new’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkaccessiblevalueprivate.h:23: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkaccessiblevalue.c:368:17: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def303]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkactionhelper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def304]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkactionmuxer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def305]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkactionmuxerprivate.h:22: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkactionmuxer.c:22: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkactionmuxer.c:90:33: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkactionmuxer.c:54: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:272:1: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:279:3: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:214:1: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:233:5: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:279:3: note: in expansion of macro ‘gdk_array’
/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: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: [#def306]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkapplication-dbus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def307]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkatcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def308]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/bitmask.c:22: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbitmaskprivate.h:63: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbitmaskprivateimpl.h:134:58: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'gsize'
# 132| else
# 133| {
# 134|-> gsize invert = (((gsize) 1) << end) - (((gsize) 1) << start);
# 135|
# 136| return _gtk_bitmask_from_bits (_gtk_bitmask_to_bits (mask) ^ invert);
Error: CLANG_WARNING: [#def309]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbitmaskprivateimpl.h:134:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'gsize'
# 132| else
# 133| {
# 134|-> gsize invert = (((gsize) 1) << end) - (((gsize) 1) << start);
# 135|
# 136| return _gtk_bitmask_from_bits (_gtk_bitmask_to_bits (mask) ^ invert);
Error: CPPCHECK_WARNING: [#def310]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbitset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def311]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbookmarksmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def312]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkboxlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def313]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def314]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilder-menus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def315]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def316]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def317]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def318]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c: scope_hint: In function ‘builder_construct’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def319]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c: scope_hint: In function ‘free_child_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:854:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def320]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def321]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def322]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c: scope_hint: In function ‘expression_info_construct’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1296:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderscope.h:26: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilder.h:25: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderprivate.h:21: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:21: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def323]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1370:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:2001:41: note: in expansion of macro ‘state_pop_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:2001:41: note: in expansion of macro ‘state_pop_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:2002:33: note: in expansion of macro ‘state_peek_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def324]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1876:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def325]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def326]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1881:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1870:33: note: in expansion of macro ‘state_pop_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1871:26: note: in expansion of macro ‘state_peek_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def327]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1906:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def328]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1914:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1901:38: note: in expansion of macro ‘state_pop_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1901:38: note: in expansion of macro ‘state_pop_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def329]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1990:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1987:33: note: in expansion of macro ‘state_pop_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1988:46: note: in expansion of macro ‘state_peek_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:1990:34: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def330]
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def331]
/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.14.2-build/gtk-4.14.2/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): [#def332]
/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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderscope.h:26: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilder.h:25: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderprivate.h:21: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:21: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def333]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def334]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def335]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def336]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c: scope_hint: In function ‘text’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:2119:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:2116:10: note: in expansion of macro ‘state_peek_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:2116:10: note: in expansion of macro ‘state_peek_info’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbuilderparser.c:389:10: note: in expansion of macro ‘g_ptr_array_index’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def337]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def338]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcalendar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def339]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcenterlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def340]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcheckbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-682): [#def341]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcheckbutton.c:148: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 146| static GParamSpec *props[LAST_PROP] = { NULL, };
# 147|
# 148|-> G_DEFINE_TYPE_WITH_CODE (GtkCheckButton, gtk_check_button, GTK_TYPE_WIDGET,
# 149| G_ADD_PRIVATE (GtkCheckButton)
# 150| G_IMPLEMENT_INTERFACE (GTK_TYPE_ACTIONABLE, gtk_check_button_actionable_iface_init))
Error: CPPCHECK_WARNING: [#def342]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-823): [#def343]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:430: error[arrayIndexOutOfBounds]: Array '"1a5fb4"[7]' accessed at index 7, which is out of bounds.
# 428| {
# 429| GdkRGBA colors[9*5] = {
# 430|-> GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
Error: CPPCHECK_WARNING (CWE-823): [#def344]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:430: error[arrayIndexOutOfBounds]: Array '"1c71d8"[7]' accessed at index 7, which is out of bounds.
# 428| {
# 429| GdkRGBA colors[9*5] = {
# 430|-> GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
Error: CPPCHECK_WARNING (CWE-823): [#def345]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:430: error[arrayIndexOutOfBounds]: Array '"3584e4"[7]' accessed at index 7, which is out of bounds.
# 428| {
# 429| GdkRGBA colors[9*5] = {
# 430|-> GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
Error: CPPCHECK_WARNING (CWE-823): [#def346]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:430: error[arrayIndexOutOfBounds]: Array '"62a0ea"[7]' accessed at index 7, which is out of bounds.
# 428| {
# 429| GdkRGBA colors[9*5] = {
# 430|-> GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
Error: CPPCHECK_WARNING (CWE-823): [#def347]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:430: error[arrayIndexOutOfBounds]: Array '"99c1f1"[7]' accessed at index 7, which is out of bounds.
# 428| {
# 429| GdkRGBA colors[9*5] = {
# 430|-> GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
Error: CPPCHECK_WARNING (CWE-823): [#def348]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:431: error[arrayIndexOutOfBounds]: Array '"26a269"[7]' accessed at index 7, which is out of bounds.
# 429| GdkRGBA colors[9*5] = {
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431|-> GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
Error: CPPCHECK_WARNING (CWE-823): [#def349]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:431: error[arrayIndexOutOfBounds]: Array '"2ec27e"[7]' accessed at index 7, which is out of bounds.
# 429| GdkRGBA colors[9*5] = {
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431|-> GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
Error: CPPCHECK_WARNING (CWE-823): [#def350]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:431: error[arrayIndexOutOfBounds]: Array '"33d17a"[7]' accessed at index 7, which is out of bounds.
# 429| GdkRGBA colors[9*5] = {
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431|-> GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
Error: CPPCHECK_WARNING (CWE-823): [#def351]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:431: error[arrayIndexOutOfBounds]: Array '"57e389"[7]' accessed at index 7, which is out of bounds.
# 429| GdkRGBA colors[9*5] = {
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431|-> GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
Error: CPPCHECK_WARNING (CWE-823): [#def352]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:431: error[arrayIndexOutOfBounds]: Array '"8ff0a4"[7]' accessed at index 7, which is out of bounds.
# 429| GdkRGBA colors[9*5] = {
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431|-> GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
Error: CPPCHECK_WARNING (CWE-823): [#def353]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:432: error[arrayIndexOutOfBounds]: Array '"e5a50a"[7]' accessed at index 7, which is out of bounds.
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432|-> GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
Error: CPPCHECK_WARNING (CWE-823): [#def354]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:432: error[arrayIndexOutOfBounds]: Array '"f5c211"[7]' accessed at index 7, which is out of bounds.
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432|-> GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
Error: CPPCHECK_WARNING (CWE-823): [#def355]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:432: error[arrayIndexOutOfBounds]: Array '"f6d32d"[7]' accessed at index 7, which is out of bounds.
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432|-> GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
Error: CPPCHECK_WARNING (CWE-823): [#def356]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:432: error[arrayIndexOutOfBounds]: Array '"f8e45c"[7]' accessed at index 7, which is out of bounds.
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432|-> GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
Error: CPPCHECK_WARNING (CWE-823): [#def357]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:432: error[arrayIndexOutOfBounds]: Array '"f9f06b"[7]' accessed at index 7, which is out of bounds.
# 430| GDK_RGBA("99c1f1"), GDK_RGBA("62a0ea"), GDK_RGBA("3584e4"), GDK_RGBA("1c71d8"), GDK_RGBA("1a5fb4"), /* Blue */
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432|-> GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
Error: CPPCHECK_WARNING (CWE-823): [#def358]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:433: error[arrayIndexOutOfBounds]: Array '"c64600"[7]' accessed at index 7, which is out of bounds.
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433|-> GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
Error: CPPCHECK_WARNING (CWE-823): [#def359]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:433: error[arrayIndexOutOfBounds]: Array '"e66100"[7]' accessed at index 7, which is out of bounds.
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433|-> GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
Error: CPPCHECK_WARNING (CWE-823): [#def360]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:433: error[arrayIndexOutOfBounds]: Array '"ff7800"[7]' accessed at index 7, which is out of bounds.
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433|-> GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
Error: CPPCHECK_WARNING (CWE-823): [#def361]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:433: error[arrayIndexOutOfBounds]: Array '"ffa348"[7]' accessed at index 7, which is out of bounds.
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433|-> GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
Error: CPPCHECK_WARNING (CWE-823): [#def362]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:433: error[arrayIndexOutOfBounds]: Array '"ffbe6f"[7]' accessed at index 7, which is out of bounds.
# 431| GDK_RGBA("8ff0a4"), GDK_RGBA("57e389"), GDK_RGBA("33d17a"), GDK_RGBA("2ec27e"), GDK_RGBA("26a269"), /* Green */
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433|-> GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
Error: CPPCHECK_WARNING (CWE-823): [#def363]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:434: error[arrayIndexOutOfBounds]: Array '"a51d2d"[7]' accessed at index 7, which is out of bounds.
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434|-> GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
Error: CPPCHECK_WARNING (CWE-823): [#def364]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:434: error[arrayIndexOutOfBounds]: Array '"c01c28"[7]' accessed at index 7, which is out of bounds.
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434|-> GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
Error: CPPCHECK_WARNING (CWE-823): [#def365]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:434: error[arrayIndexOutOfBounds]: Array '"e01b24"[7]' accessed at index 7, which is out of bounds.
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434|-> GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
Error: CPPCHECK_WARNING (CWE-823): [#def366]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:434: error[arrayIndexOutOfBounds]: Array '"ed333b"[7]' accessed at index 7, which is out of bounds.
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434|-> GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
Error: CPPCHECK_WARNING (CWE-823): [#def367]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:434: error[arrayIndexOutOfBounds]: Array '"f66151"[7]' accessed at index 7, which is out of bounds.
# 432| GDK_RGBA("f9f06b"), GDK_RGBA("f8e45c"), GDK_RGBA("f6d32d"), GDK_RGBA("f5c211"), GDK_RGBA("e5a50a"), /* Yellow */
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434|-> GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
Error: CPPCHECK_WARNING (CWE-823): [#def368]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:435: error[arrayIndexOutOfBounds]: Array '"613583"[7]' accessed at index 7, which is out of bounds.
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435|-> GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
Error: CPPCHECK_WARNING (CWE-823): [#def369]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:435: error[arrayIndexOutOfBounds]: Array '"813d9c"[7]' accessed at index 7, which is out of bounds.
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435|-> GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
Error: CPPCHECK_WARNING (CWE-823): [#def370]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:435: error[arrayIndexOutOfBounds]: Array '"9141ac"[7]' accessed at index 7, which is out of bounds.
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435|-> GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
Error: CPPCHECK_WARNING (CWE-823): [#def371]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:435: error[arrayIndexOutOfBounds]: Array '"c061cb"[7]' accessed at index 7, which is out of bounds.
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435|-> GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
Error: CPPCHECK_WARNING (CWE-823): [#def372]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:435: error[arrayIndexOutOfBounds]: Array '"dc8add"[7]' accessed at index 7, which is out of bounds.
# 433| GDK_RGBA("ffbe6f"), GDK_RGBA("ffa348"), GDK_RGBA("ff7800"), GDK_RGBA("e66100"), GDK_RGBA("c64600"), /* Orange */
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435|-> GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
Error: CPPCHECK_WARNING (CWE-823): [#def373]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:436: error[arrayIndexOutOfBounds]: Array '"63452c"[7]' accessed at index 7, which is out of bounds.
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436|-> GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
Error: CPPCHECK_WARNING (CWE-823): [#def374]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:436: error[arrayIndexOutOfBounds]: Array '"865e3c"[7]' accessed at index 7, which is out of bounds.
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436|-> GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
Error: CPPCHECK_WARNING (CWE-823): [#def375]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:436: error[arrayIndexOutOfBounds]: Array '"986a44"[7]' accessed at index 7, which is out of bounds.
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436|-> GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
Error: CPPCHECK_WARNING (CWE-823): [#def376]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:436: error[arrayIndexOutOfBounds]: Array '"b5835a"[7]' accessed at index 7, which is out of bounds.
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436|-> GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
Error: CPPCHECK_WARNING (CWE-823): [#def377]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:436: error[arrayIndexOutOfBounds]: Array '"cdab8f"[7]' accessed at index 7, which is out of bounds.
# 434| GDK_RGBA("f66151"), GDK_RGBA("ed333b"), GDK_RGBA("e01b24"), GDK_RGBA("c01c28"), GDK_RGBA("a51d2d"), /* Red */
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436|-> GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
Error: CPPCHECK_WARNING (CWE-823): [#def378]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:437: error[arrayIndexOutOfBounds]: Array '"9a9996"[7]' accessed at index 7, which is out of bounds.
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437|-> GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
Error: CPPCHECK_WARNING (CWE-823): [#def379]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:437: error[arrayIndexOutOfBounds]: Array '"c0bfbc"[7]' accessed at index 7, which is out of bounds.
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437|-> GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
Error: CPPCHECK_WARNING (CWE-823): [#def380]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:437: error[arrayIndexOutOfBounds]: Array '"deddda"[7]' accessed at index 7, which is out of bounds.
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437|-> GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
Error: CPPCHECK_WARNING (CWE-823): [#def381]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:437: error[arrayIndexOutOfBounds]: Array '"f6f5f4"[7]' accessed at index 7, which is out of bounds.
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437|-> GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
Error: CPPCHECK_WARNING (CWE-823): [#def382]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:437: error[arrayIndexOutOfBounds]: Array '"ffffff"[7]' accessed at index 7, which is out of bounds.
# 435| GDK_RGBA("dc8add"), GDK_RGBA("c061cb"), GDK_RGBA("9141ac"), GDK_RGBA("813d9c"), GDK_RGBA("613583"), /* Purple */
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437|-> GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438| GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
Error: CPPCHECK_WARNING (CWE-823): [#def383]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"000000"[7]' accessed at index 7, which is out of bounds.
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438|-> GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
# 440| const char *color_names[] = {
Error: CPPCHECK_WARNING (CWE-823): [#def384]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"241f31"[7]' accessed at index 7, which is out of bounds.
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438|-> GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
# 440| const char *color_names[] = {
Error: CPPCHECK_WARNING (CWE-823): [#def385]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"3d3846"[7]' accessed at index 7, which is out of bounds.
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438|-> GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
# 440| const char *color_names[] = {
Error: CPPCHECK_WARNING (CWE-823): [#def386]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"5e5c64"[7]' accessed at index 7, which is out of bounds.
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438|-> GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
# 440| const char *color_names[] = {
Error: CPPCHECK_WARNING (CWE-823): [#def387]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorchooserwidget.c:438: error[arrayIndexOutOfBounds]: Array '"77767b"[7]' accessed at index 7, which is out of bounds.
# 436| GDK_RGBA("cdab8f"), GDK_RGBA("b5835a"), GDK_RGBA("986a44"), GDK_RGBA("865e3c"), GDK_RGBA("63452c"), /* Brown */
# 437| GDK_RGBA("ffffff"), GDK_RGBA("f6f5f4"), GDK_RGBA("deddda"), GDK_RGBA("c0bfbc"), GDK_RGBA("9a9996"), /* Light */
# 438|-> GDK_RGBA("77767b"), GDK_RGBA("5e5c64"), GDK_RGBA("3d3846"), GDK_RGBA("241f31"), GDK_RGBA("000000") /* Dark */
# 439| };
# 440| const char *color_names[] = {
Error: CPPCHECK_WARNING: [#def388]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorplane.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def389]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolorutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def390]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolumnview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def391]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolumnviewcellwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def392]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolumnviewcolumn.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def393]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolumnviewrowwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def394]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolumnviewsorter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def395]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcolumnviewtitle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def396]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcomposetable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def397]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintexpression.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def398]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintguide.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def399]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def400]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintlayout.c: scope_hint: In function ‘layout_add_constraint’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintlayout.c:849:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘constraint’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def401]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintsolver.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def402]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintvflparser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def403]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintvflparser.c: scope_hint: In function ‘gtk_constraint_vfl_parser_parse_line’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktypes.h:31: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstrainttypesprivate.h:24: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintvflparserprivate.h:24: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintvflparser.c:24: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkconstraintvflparser.c:827:24: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def404]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssanimatedstyle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def405]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssarrayvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def406]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssbordervalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def407]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssbordervalue.c: scope_hint: In function ‘gtk_css_value_border_compute’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssbordervalue.c:79:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘values[3]’
# 77| }
# 78|
# 79|-> computed = _gtk_css_border_value_new (values[0], values[1], values[2], values[3]);
# 80| computed->fill = value->fill;
# 81|
Error: CPPCHECK_WARNING: [#def408]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssdimensionvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def409]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssenumvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def410]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssfiltervalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def411]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssfontfeaturesvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def412]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssimageconic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def413]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssimagefallback.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def414]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssimagefallback.c:167:53: warning[core.NullDereference]: Array access (via field 'images') results in a null pointer dereference
# 165| for (i = 0; i < fallback->n_images; i++)
# 166| {
# 167|-> copy->images[i] = _gtk_css_image_compute (fallback->images[i],
# 168| property_id,
# 169| provider,
Error: CPPCHECK_WARNING: [#def415]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssimagelinear.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def416]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssimageradial.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def417]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcsskeyframes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def418]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssnodedeclaration.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def419]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def420]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcsspositionvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def421]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def422]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def423]
gtk4-4.14.2-build/gtk-4.14.2/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: GCC_ANALYZER_WARNING (CWE-457): [#def424]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selector_compare_one’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c:191:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*b.class’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selector_compare_one’
# 189| gtk_css_selector_compare_one (const GtkCssSelector *a, const GtkCssSelector *b)
# 190| {
# 191|-> if (a->class != b->class)
# 192| return strcmp (a->class->name, b->class->name);
# 193| else
Error: GCC_ANALYZER_WARNING (CWE-476): [#def425]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c:1798:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘found’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:114:1: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:51:57: note: in definition of macro ‘gdk_array_paste_more’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:30: note: in expansion of macro ‘gdk_array_paste’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:53:47: note: in expansion of macro ‘GDK_ARRAY_NAME’
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkarrayimpl.c:122:3: note: in expansion of macro ‘gdk_array’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c:119:44: note: in expansion of macro ‘G_MAXINT32’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c:2120:12: note: in expansion of macro ‘GTK_CSS_SELECTOR_TREE_EMPTY_OFFSET’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_skip_initial_selector’
# 1796| g_assert (found != NULL && gtk_css_selector_is_simple (found));
# 1797|
# 1798|-> tmp = *found;
# 1799| *found = *selector;
# 1800| *selector = tmp;
Error: COMPILER_WARNING (CWE-476): [#def426]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c:1798:11: warning[-Wnull-dereference]: potential null pointer dereference
# 1798 | tmp = *found;
# | ~~~~^~~~~~~~
# 1796| g_assert (found != NULL && gtk_css_selector_is_simple (found));
# 1797|
# 1798|-> tmp = *found;
# 1799| *found = *selector;
# 1800| *selector = tmp;
Error: CLANG_WARNING: [#def427]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c:1798:13: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'found')
# 1796| g_assert (found != NULL && gtk_css_selector_is_simple (found));
# 1797|
# 1798|-> tmp = *found;
# 1799| *found = *selector;
# 1800| *selector = tmp;
Error: COMPILER_WARNING (CWE-476): [#def428]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssselector.c:1799:14: warning[-Wnull-dereference]: potential null pointer dereference
# 1799 | *found = *selector;
# | ~~~~~~~^~~~~~~~~~~
# 1797|
# 1798| tmp = *found;
# 1799|-> *found = *selector;
# 1800| *selector = tmp;
# 1801| }
Error: CPPCHECK_WARNING: [#def429]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssshadowvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def430]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssshorthandproperty.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def431]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssshorthandpropertyimpl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def432]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssstaticstyle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def433]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcssstyle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def434]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkcsstransformvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def435]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkdragicon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def436]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkdropcontrollermotion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def437]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkdropdown.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def438]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkdroptarget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def439]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkeditable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def440]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkeditable.c: scope_hint: In function ‘gtk_editable_delegate_get_property’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkaccessible.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkeditable.h:32: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkeditable.h:39:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def441]
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkeditable.h:39:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkeditable.c:684:25: note: in expansion of macro ‘GTK_IS_EDITABLE’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def442]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkemojichooser.c: scope_hint: In function ‘keynav_failed’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkemojichooser.c:1202: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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:37: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkemojichooser.h:24: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkemojichooser.c:20: included_from: Included from here.
# 1200| while (TRUE)
# 1201| {
# 1202|-> next = find_next_section (chooser, next->box, TRUE);
# 1203| if (next == NULL)
# 1204| return FALSE;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def443]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkemojichooser.c:1238:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next’
# 1236| while (TRUE)
# 1237| {
# 1238|-> next = find_next_section (chooser, next->box, FALSE);
# 1239| if (next == NULL)
# 1240| return FALSE;
Error: CPPCHECK_WARNING: [#def444]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkemojicompletion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def445]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def446]
/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.14.2-build/gtk-4.14.2/gtk/gtkaccessible.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkeditable.h:32: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.h:36: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentryprivate.h:20: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c:31: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_paintable’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def447]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_icon_name’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def448]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_from_gicon’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkimage.h:39:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def449]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_activatable’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def450]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_sensitive’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def451]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_drag_source’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def452]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_tooltip_text’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def453]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentry.c: scope_hint: In function ‘gtk_entry_set_icon_tooltip_markup’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.h:48:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkentry.c:1608:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def454]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkentrybuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def455]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkeventcontrollerfocus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def456]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkeventcontrollerkey.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def457]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkeventcontrollermotion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def458]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkeventcontrollerscroll.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def459]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkexpander.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def460]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def461]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def462]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfilechoosernativeportal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def463]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfilechooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def464]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfiledialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def465]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfilefilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def466]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfilesystemmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def467]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfilterlistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def468]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfixedlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkflattenlistmodel.c: scope_hint: In function ‘gtk_flatten_list_model_model_items_changed_cb’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def470]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkflowbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def471]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_above_focusable’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkflowbox.c:1211:13: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1209| {
# 1210| i = 0;
# 1211|-> while (i < BOX_PRIV (box)->cur_children_per_line)
# 1212| {
# 1213| if (g_sequence_iter_is_begin (iter))
Error: GCC_ANALYZER_WARNING (CWE-835): [#def472]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_below_focusable’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkflowbox.c:1237:13: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1235| {
# 1236| i = 0;
# 1237|-> while (i < BOX_PRIV (box)->cur_children_per_line)
# 1238| {
# 1239| iter = g_sequence_iter_next (iter);
Error: CPPCHECK_WARNING: [#def473]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfontchooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def474]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfontchooserwidget.c:637:7: warning[deadcode.DeadStores]: Value stored to 'lang' is never read
# 635| g_hash_table_contains (langs, alt_default))
# 636| {
# 637|-> lang = default_lang;
# 638| }
# 639| else
Error: CPPCHECK_WARNING: [#def475]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfontdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def476]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkfontdialogbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def477]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def478]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkgesture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def479]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkgesturesingle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def480]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkglarea.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def481]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkgridlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def482]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkgridview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def483]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkgridview.c:793:7: warning[deadcode.DeadStores]: Value stored to 'i' is never read
# 791|
# 792| /* Not a multirow tile */
# 793|-> i = 0;
# 794| row_height = 0;
# 795|
Error: CPPCHECK_WARNING: [#def484]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkiconcache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def485]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkiconcachevalidator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def486]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkimage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def487]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkimcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def488]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkimcontextwayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def489]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkinscription.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def490]
/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.14.2-build/gtk-4.14.2/gtk/gtkjoinedmenuprivate.h:22: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkjoinedmenu.c:22: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_attributes’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def491]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_iterate_item_attributes’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def492]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_attribute_value’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def493]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_links’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def494]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_iterate_item_links’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def495]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkjoinedmenu.c: scope_hint: In function ‘gtk_joined_menu_get_item_link’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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: [#def496]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklabel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def497]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklayoutmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def498]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklevelbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def499]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistbase.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def500]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def501]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistitem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def502]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistitemmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def503]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def504]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_tile_get_header’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def505]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def506]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_tile_get_footer’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def507]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def508]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def509]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_remove_items.part.0’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def510]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def511]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_release_items’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def512]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def513]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistitemmanager.c: scope_hint: In function ‘gtk_list_item_manager_model_sections_changed_cb.part.0’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def514]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistitemmanagerprivate.h:108:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tile’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def515]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistlistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def516]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtklistview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def517]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmagnifier.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def518]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmaplistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def519]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmaplistmodel.c: scope_hint: In function ‘gtk_map_list_model_items_changed_cb’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def520]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmediacontrols.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def521]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmenubutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def522]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmenusectionbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def523]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmenutracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def524]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmenutrackeritem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def525]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmenutrackeritem.c: scope_hint: In function ‘gtk_menu_tracker_opener_new’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkactionobserverprivate.h:22: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkactionobservableprivate.h:22: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmenutrackeritemprivate.h:22: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmenutrackeritem.c:22: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmenutrackeritem.c:1007:3: note: in expansion of macro ‘g_set_weak_pointer’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtkmenutrackeritem.c:1012:30: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def526]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmessagedialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def527]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmodelbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def528]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmountoperation-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def529]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmountoperation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def530]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkmultiselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def531]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknative.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def532]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknotebook.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def533]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknotebook.c:3910: warning[nullPointer]: Possible null pointer dereference: page
# 3908| g_assert (page != NULL);
# 3909|
# 3910|-> gtk_widget_measure (page->tab_label,
# 3911| orientation,
# 3912| for_size,
Error: COMPILER_WARNING (CWE-476): [#def534]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknotebook.c: scope_hint: In function ‘measure_tab’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknotebook.c:3910:3: warning[-Wnull-dereference]: potential null pointer dereference
# 3910 | gtk_widget_measure (page->tab_label,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3911 | orientation,
# | ~~~~~~~~~~~~
# 3912 | for_size,
# | ~~~~~~~~~
# 3913 | minimum, natural,
# | ~~~~~~~~~~~~~~~~~
# 3914 | minimum_baseline, natural_baseline);
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3908| g_assert (page != NULL);
# 3909|
# 3910|-> gtk_widget_measure (page->tab_label,
# 3911| orientation,
# 3912| for_size,
Error: CPPCHECK_WARNING (CWE-476): [#def535]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknotebook.c:3942: warning[nullPointer]: Possible null pointer dereference: page
# 3940| child_allocation = (GtkAllocation) {0, 0, width, height};
# 3941|
# 3942|-> if (!page->fill)
# 3943| {
# 3944| if (notebook->tab_pos == GTK_POS_TOP || notebook->tab_pos == GTK_POS_BOTTOM)
Error: COMPILER_WARNING (CWE-476): [#def536]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknotebook.c: scope_hint: In function ‘allocate_tab’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknotebook.c:3942:7: warning[-Wnull-dereference]: potential null pointer dereference
# 3942 | if (!page->fill)
# | ^~~~~~~~~~~
# 3940| child_allocation = (GtkAllocation) {0, 0, width, height};
# 3941|
# 3942|-> if (!page->fill)
# 3943| {
# 3944| if (notebook->tab_pos == GTK_POS_TOP || notebook->tab_pos == GTK_POS_BOTTOM)
Error: CPPCHECK_WARNING (CWE-476): [#def537]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknotebook.c:4409: warning[nullPointer]: Possible null pointer dereference: list
# 4407| else
# 4408| {
# 4409|-> list = list->prev;
# 4410| }
# 4411| while (list)
Error: CPPCHECK_WARNING: [#def538]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtknumericsorter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def539]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkopenuriportal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def540]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkoverlaylayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def541]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkpadcontroller.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def542]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkpaned.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def543]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkpanedhandle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def544]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkpango.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def545]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkpasswordentry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def546]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkpathbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def547]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkpicture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def548]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkplacessidebar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def549]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkplacesview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def550]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkplacesviewrow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def551]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkpopover.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def552]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkpopovermenubar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def553]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkprintdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def554]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkprogressbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def555]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkrange.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def556]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkrbtree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-476): [#def557]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkrbtree.c: scope_hint: In function ‘gtk_rb_tree_insert_fixup’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def558]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def559]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def560]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def561]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkrecentmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def562]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkrenderbackground.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def563]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkrenderborder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def564]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkrendericon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def565]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkrenderlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def566]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkrevealer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def567]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkscale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def568]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkscrolledwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def569]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksearchbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def570]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksectionmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def571]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def572]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def573]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c:174:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ptr’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c: scope_hint: In function ‘pool_alloc’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c:1148:9: note: in expansion of macro ‘DO_LOCK’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def574]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def575]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c:308:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pool’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c:1287:9: note: in expansion of macro ‘DO_LOCK’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def576]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c: scope_hint: In function ‘pool_free’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def577]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksecurememory.c: scope_hint: In function ‘gtk_secure_strndup_full’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def578]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutaction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def579]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutcontroller.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def580]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutlabel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def581]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutssection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def582]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutssection.c:603:3: warning[deadcode.DeadStores]: Value stored to 'n_pages' is never read
# 601| n_rows = 0;
# 602| n_columns = 0;
# 603|-> n_pages = 0;
# 604| for (g = groups; g; g = g->next)
# 605| {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def583]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutssection.c: scope_hint: In function ‘gtk_shortcuts_section_reflow_groups’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutssection.c:704:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g’
# 702|
# 703| g_assert (g);
# 704|-> for (g = g->next; g; g = g->next)
# 705| {
# 706| GtkShortcutsGroup *group = g->data;
Error: COMPILER_WARNING (CWE-476): [#def584]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutssection.c: scope_hint: In function ‘gtk_shortcuts_section_reflow_groups’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutssection.c:704:14: warning[-Wnull-dereference]: potential null pointer dereference
# 704 | for (g = g->next; g; g = g->next)
# | ~~^~~~~~~~~
# 702|
# 703| g_assert (g);
# 704|-> for (g = g->next; g; g = g->next)
# 705| {
# 706| GtkShortcutsGroup *group = g->data;
Error: CLANG_WARNING: [#def585]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutssection.c:704:16: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'g')
# 702|
# 703| g_assert (g);
# 704|-> for (g = g->next; g; g = g->next)
# 705| {
# 706| GtkShortcutsGroup *group = g->data;
Error: CPPCHECK_WARNING: [#def586]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcutswindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def587]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkshortcuttrigger.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def588]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksidebarrow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def589]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksingleselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def590]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksizerequest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-121): [#def591]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksizerequest.c: scope_hint: In function ‘gtk_distribute_natural_allocation’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksizerequest.h:24: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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: [#def592]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksizerequestcache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def593]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksnapshot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def594]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksnapshot.c:2024:3: warning[deadcode.DeadStores]: Value stored to 'node' is never read
# 2022| }
# 2023|
# 2024|-> node = gtk_snapshot_pop_one (snapshot);
# 2025| g_assert (node == NULL);
# 2026| }
Error: CPPCHECK_WARNING: [#def595]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtksortlistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def596]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkspinbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def597]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkstack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def598]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkstringlist.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def599]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def600]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktext.c:4882: error[legacyUninitvar]: Uninitialized variable: old_pos
# 4880| g_assert_not_reached ();
# 4881|
# 4882|-> if (tmp_pos != *old_pos)
# 4883| {
# 4884| *old_pos = tmp_pos;
Error: CPPCHECK_WARNING: [#def601]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextattributes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def602]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_char_is_invisible’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gdk/gdktypes.h:33: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdkapplaunchcontext.h:27: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gdk/gdk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkwidget.h:31: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextbuffer.h:31: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextbtreeprivate.h:37: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def603]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def604]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_first_could_contain_tag’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def605]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def606]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_btree_last_could_contain_tag’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def607]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def608]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def609]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_char_index’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def610]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def611]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_next_could_contain_tag’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def612]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def613]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextbtree.c: scope_hint: In function ‘_gtk_text_line_previous_could_contain_tag’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def614]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextbtree.c: scope_hint: In function ‘gtk_text_line_destroy’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def615]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextchild.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-131): [#def616]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_paintable_segment_new’
gtk4-4.14.2-build/gtk-4.14.2/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): [#def617]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_widget_segment_new’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def618]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktexthandle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def619]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def620]
gtk4-4.14.2-build/gtk-4.14.2/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: GCC_ANALYZER_WARNING (CWE-476): [#def621]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c: scope_hint: In function ‘allocate_child_widgets’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:1956:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘widgets’
# 1954| for (i = 0; i < n_widgets; i++)
# 1955| {
# 1956|-> GtkWidget *child = widgets[i];
# 1957| PangoRectangle extents;
# 1958|
Error: CLANG_WARNING: [#def622]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:2532:13: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'seg')
# 2530| g_error ("Unknown segment type: %s", seg->type->name);
# 2531|
# 2532|-> seg = seg->next;
# 2533| }
# 2534|
Error: CLANG_WARNING: [#def623]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:3690:8: warning[deadcode.DeadStores]: Value stored to 'line_byte' is never read
# 3688| new_index < display->insert_index + layout->preedit_len)
# 3689| {
# 3690|-> line_byte = display->insert_index;
# 3691| extra_back = 1;
# 3692| }
Error: CLANG_WARNING: [#def624]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:3914:11: warning[core.NullDereference]: Access to field 'alpha' results in a dereference of a null pointer (loaded from variable 'selection')
# 3912| if (selection_start_index < byte_offset &&
# 3913| selection_end_index > pango_layout_line_get_length (line) + byte_offset &&
# 3914|-> selection->alpha >= 1)
# 3915| {
# 3916| gtk_snapshot_append_color (crenderer->snapshot,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def625]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c: scope_hint: In function ‘render_para’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:3914: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.14.2-build/gtk-4.14.2/gtk/css/gtkcss.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayoutprivate.h:80: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4111: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.14.2-build/gtk-4.14.2/gtk/gtktextlayoutprivate.h:94:43: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4111: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.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4111: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.14.2-build/gtk-4.14.2/gtk/gtktextlayoutprivate.h:94:43: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4111: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.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4112: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.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4113: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.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4113: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.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4114: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.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4114:3: note: in expansion of macro ‘g_return_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:4116: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.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:188:1: note: in expansion of macro ‘G_DEFINE_TYPE_WITH_PRIVATE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtktextlayoutprivate.h:94:43: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/gtktextlayoutprivate.h:94:43: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlayout.c:689:21: note: in expansion of macro ‘GTK_IS_TEXT_LAYOUT’
# 3912| if (selection_start_index < byte_offset &&
# 3913| selection_end_index > pango_layout_line_get_length (line) + byte_offset &&
# 3914|-> selection->alpha >= 1)
# 3915| {
# 3916| gtk_snapshot_append_color (crenderer->snapshot,
Error: CPPCHECK_WARNING: [#def626]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextlinedisplaycache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-131): [#def627]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextsegment.c: scope_hint: In function ‘_gtk_toggle_segment_new’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def628]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktexttag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def629]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktextutil.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def630]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktogglebutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-682): [#def631]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktogglebutton.c:141: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 139| static GParamSpec *toggle_button_props[NUM_PROPERTIES] = { NULL, };
# 140|
# 141|-> G_DEFINE_TYPE_WITH_CODE (GtkToggleButton, gtk_toggle_button, GTK_TYPE_BUTTON,
# 142| G_ADD_PRIVATE (GtkToggleButton))
# 143|
Error: CPPCHECK_WARNING: [#def632]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktooltip.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def633]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktooltipwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def634]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktreelistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def635]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtktreelistrowsorter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def636]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkvideo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def637]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkwidgetfocus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def638]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def639]
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtkwindowcontrols.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def640]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/baselineoverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def641]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def642]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def643]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/fpsoverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def644]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/general.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def645]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/gtkdataviewer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def646]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/measuregraph.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def647]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/misc-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def648]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/object-tree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def649]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/prop-editor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def650]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/prop-list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def651]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/recorder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def652]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/resource-list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def653]
gtk4-4.14.2-build/gtk-4.14.2/gtk/inspector/visual.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def654]
gtk4-4.14.2-build/gtk-4.14.2/gtk/language-names.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def655]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkpagesetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def656]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkpagesetupunixdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def657]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkpapersize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def658]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ppd’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/print/gtkpapersize.c:933:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkpapersize.c:954:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkpapersize.c:954:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkpapersize.c:955:3: note: in expansion of macro ‘GET_DOUBLE’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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): [#def659]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ipp’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/print/gtkpapersize.c:485:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def660]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def661]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_get_display_name.part.0’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def662]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprinter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def663]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprinter.c:1337:7: warning[unix.Malloc]: Potential leak of memory pointed to by 'printer_list'
# 1335| {
# 1336| printer_list->loop = g_main_loop_new (NULL, FALSE);
# 1337|-> g_main_loop_run (printer_list->loop);
# 1338| }
# 1339| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def664]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprinter.c: scope_hint: In function ‘match_printer_name’
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprinter.c:1348:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.14.2-build/gtk-4.14.2/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
# 1346| gpointer data)
# 1347| {
# 1348|-> if (strcmp (gtk_printer_get_name (printer), (const char *)data) == 0)
# 1349| {
# 1350| found_printer = g_object_ref (printer);
Error: CPPCHECK_WARNING: [#def665]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprinteroptionwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def666]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprinteroptionwidget.c: scope_hint: In function ‘filter_numeric’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/gtk/print/gtkprinteroptionwidget.c:24: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprinteroptionwidget.c:597:18: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprinteroptionwidget.c: scope_hint: In function ‘filter_numeric’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def667]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprintjob.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def668]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprintoperation-portal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def669]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprintoperation-unix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def670]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprintoperation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def671]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprintunixdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def672]
gtk4-4.14.2-build/gtk-4.14.2/gtk/print/gtkprintunixdialog.c:2858: warning[nullPointer]: Possible null pointer dereference: enum_value
# 2856|
# 2857| g_assert (enum_value != NULL);
# 2858|-> gtk_printer_option_set (option, enum_value->value_nick);
# 2859| g_type_class_unref (enum_class);
# 2860|
Error: CPPCHECK_WARNING: [#def673]
gtk4-4.14.2-build/gtk-4.14.2/modules/printbackends/gtkcupssecretsutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def674]
gtk4-4.14.2-build/gtk-4.14.2/modules/printbackends/gtkcupsutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def675]
gtk4-4.14.2-build/gtk-4.14.2/modules/printbackends/gtkprintbackendcups.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def676]
gtk4-4.14.2-build/gtk-4.14.2/modules/printbackends/gtkprintbackendfile.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def677]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def678]
gtk4-4.14.2-build/gtk-4.14.2/modules/printbackends/gtkprintbackendutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def679]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def680]
gtk4-4.14.2-build/gtk-4.14.2/modules/printbackends/gtkprintercups.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def681]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/gtk/gtkdbusgenerated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def682]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/gtk/gtkmarshalers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def683]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/gtk/xdp-dbus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def684]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspect5m4e3p81/GdkX11-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def685]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspect5m4e3p81/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: [#def686]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspectacr03wkm/Gdk-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def687]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspectacr03wkm/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: [#def688]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspectgotznmz3/GdkWayland-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def689]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspectgotznmz3/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: [#def690]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspectgqd4om26/Gtk-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def691]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspectgqd4om26/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: [#def692]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspectpsm1mj5v/Gsk-4.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def693]
gtk4-4.14.2-build/gtk-4.14.2/redhat-linux-build/tmp-introspectpsm1mj5v/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 (CWE-682): [#def694]
gtk4-4.14.2-build/gtk-4.14.2/tests/gtkgears.c:596: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 594| /* Set up the position of the attributes in the vertex buffer object */
# 595| glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), NULL);
# 596|-> glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), (GLfloat *) 0 + 3);
# 597|
# 598| /* Enable the attributes */
Error: CLANG_WARNING: [#def695]
gtk4-4.14.2-build/gtk-4.14.2/tests/gtkgears.c:924:5: warning[deadcode.DeadStores]: Value stored to 'previous_frame_time' is never read
# 922| gdk_frame_timings_get_frame_counter (timings) - 1);
# 923| if (previous_timings != NULL)
# 924|-> previous_frame_time = gdk_frame_timings_get_frame_time (previous_timings);
# 925|
# 926| return G_SOURCE_CONTINUE;
Error: CPPCHECK_WARNING: [#def696]
gtk4-4.14.2-build/gtk-4.14.2/tests/rendernode-create-tests.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def697]
gtk4-4.14.2-build/gtk-4.14.2/tests/rendernode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def698]
gtk4-4.14.2-build/gtk-4.14.2/tests/showrendernode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def699]
gtk4-4.14.2-build/gtk-4.14.2/tests/testbaseline.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def700]
gtk4-4.14.2-build/gtk-4.14.2/tests/testbaseline.c:157:3: warning[deadcode.DeadStores]: Value stored to 'grid_hbox' is never read
# 155| }
# 156|
# 157|-> grid_hbox = hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
# 158| gtk_box_append (GTK_BOX (vbox), hbox);
# 159|
Error: CPPCHECK_WARNING: [#def701]
gtk4-4.14.2-build/gtk-4.14.2/tests/testcellarea.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def702]
gtk4-4.14.2-build/gtk-4.14.2/tests/testcolumnview.c:303:7: warning[deadcode.DeadStores]: Value stored to 'result' is never read
# 301| {
# 302| g_string_append_printf (string, " (%u directories remaining)", active + g_slist_length (pending));
# 303|-> result = G_SOURCE_CONTINUE;
# 304| }
# 305| result = G_SOURCE_CONTINUE;
Error: CPPCHECK_WARNING (CWE-664): [#def703]
gtk4-4.14.2-build/gtk-4.14.2/tests/testcombochange.c:66: error[va_end_missing]: va_list 'vap' was opened but not closed by va_end().
# 64|
# 65| g_free (msg);
# 66|-> }
# 67|
# 68| static void
Error: CLANG_WARNING: [#def704]
gtk4-4.14.2-build/gtk-4.14.2/tests/testdialog.c:345:3: warning[deadcode.DeadStores]: Value stored to 'button' is never read
# 343| gtk_flow_box_insert (GTK_FLOW_BOX (box), button, -1);
# 344|
# 345|-> button = gtk_button_new_with_label ("Builtin");
# 346| button = gtk_button_new_with_label ("Builtin");
# 347| g_signal_connect_swapped (button, "clicked", G_CALLBACK (show_color_chooser), window);
Error: CLANG_WARNING: [#def705]
gtk4-4.14.2-build/gtk-4.14.2/tests/testdialog.c:374:3: warning[deadcode.DeadStores]: Value stored to 'button' is never read
# 372| gtk_flow_box_insert (GTK_FLOW_BOX (box), button, -1);
# 373|
# 374|-> button = gtk_button_new_with_label ("Template");
# 375| button = gtk_button_new_with_label ("Template");
# 376| g_signal_connect_swapped (button, "clicked", G_CALLBACK (show_dialog_from_template), window);
Error: CPPCHECK_WARNING: [#def706]
gtk4-4.14.2-build/gtk-4.14.2/tests/testdmabuf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def707]
gtk4-4.14.2-build/gtk-4.14.2/tests/testdmabuf.c:149: error[uninitvar]: Uninitialized variable: vk_memory
# 147| },
# 148| NULL,
# 149|-> &vk_memory) != VK_SUCCESS)
# 150| return -1;
# 151|
Error: CPPCHECK_WARNING (CWE-457): [#def708]
gtk4-4.14.2-build/gtk-4.14.2/tests/testdmabuf.c:158: error[uninitvar]: Uninitialized variable: fd
# 156| .handleType = VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT,
# 157| },
# 158|-> &fd) != VK_SUCCESS)
# 159| return -1;
# 160|
Error: COMPILER_WARNING (CWE-252): [#def709]
gtk4-4.14.2-build/gtk-4.14.2/tests/testdmabuf.c: scope_hint: In function ‘allocate_memfd’
gtk4-4.14.2-build/gtk-4.14.2/tests/testdmabuf.c:192:3: warning[-Wunused-result]: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’
# 192 | ftruncate (fd, size);
# | ^~~~~~~~~~~~~~~~~~~~
# 190| g_error ("memfd allocation failed");
# 191|
# 192|-> ftruncate (fd, size);
# 193|
# 194| return fd;
Error: CPPCHECK_WARNING: [#def710]
gtk4-4.14.2-build/gtk-4.14.2/tests/testdropdown.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def711]
gtk4-4.14.2-build/gtk-4.14.2/tests/testfilechooser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def712]
gtk4-4.14.2-build/gtk-4.14.2/tests/testfiledialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def713]
gtk4-4.14.2-build/gtk-4.14.2/tests/testgmenu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def714]
gtk4-4.14.2-build/gtk-4.14.2/tests/testgtk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def715]
gtk4-4.14.2-build/gtk-4.14.2/tests/testmountoperation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def716]
gtk4-4.14.2-build/gtk-4.14.2/tests/testscale.c:178:3: warning[deadcode.DeadStores]: Value stored to 'box2' is never read
# 176|
# 177| frame = gtk_frame_new ("Labeled marks");
# 178|-> box2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
# 179|
# 180| scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 1);
Error: CPPCHECK_WARNING: [#def717]
gtk4-4.14.2-build/gtk-4.14.2/tests/testsections.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def718]
gtk4-4.14.2-build/gtk-4.14.2/tests/testtreecolumns.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def719]
gtk4-4.14.2-build/gtk-4.14.2/tests/testtreecolumnsizing.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def720]
gtk4-4.14.2-build/gtk-4.14.2/tests/video-timer.c: scope_hint: In function ‘on_update’
gtk4-4.14.2-build/gtk-4.14.2/tests/video-timer.c:322:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 320| g_assert (pending_frame);
# 321|
# 322|-> if (stream_time_to_clock_time (pending_frame->stream_time)
# 323| < predicted_presentation_time + refresh_interval / 2)
# 324| {
Error: COMPILER_WARNING (CWE-476): [#def721]
gtk4-4.14.2-build/gtk-4.14.2/tests/video-timer.c: scope_hint: In function ‘on_update’
gtk4-4.14.2-build/gtk-4.14.2/tests/video-timer.c:322:7: warning[-Wnull-dereference]: potential null pointer dereference
# 322 | if (stream_time_to_clock_time (pending_frame->stream_time)
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 320| g_assert (pending_frame);
# 321|
# 322|-> if (stream_time_to_clock_time (pending_frame->stream_time)
# 323| < predicted_presentation_time + refresh_interval / 2)
# 324| {
Error: CLANG_WARNING: [#def722]
gtk4-4.14.2-build/gtk-4.14.2/tests/video-timer.c:335:15: warning[deadcode.DeadStores]: Value stored to 'pending_frame' is never read
# 333| n_frames++;
# 334| dropped_frames++;
# 335|-> pending_frame = next_frame;
# 336| }
# 337| else
Error: COMPILER_WARNING (CWE-476): [#def723]
gtk4-4.14.2-build/gtk-4.14.2/tests/video-timer.c:347:35: warning[-Wnull-dereference]: potential null pointer dereference
# 347 | displayed_frame->clock_time = stream_time_to_clock_time (displayed_frame->stream_time);
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 345| displayed_frame = unqueue_frame ();
# 346| g_assert (displayed_frame);
# 347|-> displayed_frame->clock_time = stream_time_to_clock_time (displayed_frame->stream_time);
# 348|
# 349| displayed_frame->frame_counter = gdk_frame_timings_get_frame_counter (timings);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def724]
gtk4-4.14.2-build/gtk-4.14.2/tests/video-timer.c:347:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 345| displayed_frame = unqueue_frame ();
# 346| g_assert (displayed_frame);
# 347|-> displayed_frame->clock_time = stream_time_to_clock_time (displayed_frame->stream_time);
# 348|
# 349| displayed_frame->frame_counter = gdk_frame_timings_get_frame_counter (timings);
Error: COMPILER_WARNING (CWE-476): [#def725]
gtk4-4.14.2-build/gtk-4.14.2/tests/video-timer.c:347:37: warning[-Wnull-dereference]: potential null pointer dereference
# 347 | displayed_frame->clock_time = stream_time_to_clock_time (displayed_frame->stream_time);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 345| displayed_frame = unqueue_frame ();
# 346| g_assert (displayed_frame);
# 347|-> displayed_frame->clock_time = stream_time_to_clock_time (displayed_frame->stream_time);
# 348|
# 349| displayed_frame->frame_counter = gdk_frame_timings_get_frame_counter (timings);
Error: COMPILER_WARNING (CWE-476): [#def726]
gtk4-4.14.2-build/gtk-4.14.2/tests/video-timer.c:349:38: warning[-Wnull-dereference]: potential null pointer dereference
# 349 | displayed_frame->frame_counter = gdk_frame_timings_get_frame_counter (timings);
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 347| displayed_frame->clock_time = stream_time_to_clock_time (displayed_frame->stream_time);
# 348|
# 349|-> displayed_frame->frame_counter = gdk_frame_timings_get_frame_counter (timings);
# 350| variable_add (&time_factor_stats, time_factor);
# 351|
Error: CPPCHECK_WARNING: [#def727]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/a11y/inscription.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def728]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/a11y/label.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def729]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/a11y/text.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def730]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/a11y/textview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def731]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/change/test-css-change.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def732]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/data.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def733]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/nodes/test-css-nodes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def734]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/parser/test-css-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def735]
/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.14.2-build/gtk-4.14.2/testsuite/css/parser/test-css-parser.c:26: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/parser/test-css-parser.c: scope_hint: In function ‘test_get_errors_file’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/parser/test-css-parser.c:61:42: warning[-Wanalyzer-null-argument]: use of NULL ‘css_file’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:247:42: note: in definition of macro ‘g_string_append_len’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/parser/test-css-parser.c:48:7: note: in expansion of macro ‘g_string_free’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/parser/test-css-parser.c:49:14: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/parser/test-css-parser.c: scope_hint: In function ‘test_get_errors_file’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/parser/test-css-parser.c:49:14: note: in expansion of macro ‘g_strdup’
/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.14.2-build/gtk-4.14.2/testsuite/css/parser/test-css-parser.c:60:7: note: in expansion of macro ‘g_str_has_suffix’
/usr/include/glib-2.0/glib/gstring.h:247:42: note: in definition of macro ‘g_string_append_len’
/usr/include/glib-2.0/glib/gstring.h:247:42: note: in definition of macro ‘g_string_append_len’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 59|
# 60| if (g_str_has_suffix (css_file, ".css"))
# 61|-> g_string_append_len (file, css_file, strlen (css_file) - 4);
# 62| else
# 63| g_string_append (file, css_file);
Error: CPPCHECK_WARNING: [#def736]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/style/test-css-style.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def737]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/css/transition.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def738]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/array.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def739]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/clipboard-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def740]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/clipboard.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def741]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/contentformats.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def742]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/contentserializer.c:401:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'data'
# 399| g_value_take_boxed (value, data);
# 400|
# 401|-> gdk_content_deserializer_return_success (deserializer);
# 402| }
# 403|
Error: CPPCHECK_WARNING: [#def743]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/dmabufformats.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def744]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/dmabuftexture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def745]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/glcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def746]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/gltexture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def747]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/image.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def748]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/image.c:65: error[legacyUninitvar]: Uninitialized variable: texture
# 63| g_assert_cmpint (gdk_texture_get_height (texture), ==, 32);
# 64|
# 65|-> g_object_unref (texture);
# 66| g_bytes_unref (bytes);
# 67| g_object_unref (file);
Error: CPPCHECK_WARNING: [#def749]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/keysyms.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def750]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/memorytexture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def751]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/popuplayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def752]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/seat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def753]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/subsurface.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def754]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/texture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def755]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gdk/toplevellayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def756]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/compare-render.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def757]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/curve.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def758]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/half-float.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def759]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-686): [#def760]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘GskRenderNode *’ {aka ‘struct _GskRenderNode *’} for variadic argument 1 of ‘ap’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
# 48|
# 49| va_start (ap, node);
# 50|-> G_VALUE_COLLECT (&value, ap, 0, &err);
# 51| va_end (ap);
# 52|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def761]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘void *’ for variadic argument 2 of ‘ap’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
# 48|
# 49| va_start (ap, node);
# 50|-> G_VALUE_COLLECT (&value, ap, 0, &err);
# 51| va_end (ap);
# 52|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def762]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c: scope_hint: In function ‘test_collect_varargs’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘GskRenderNode *’ {aka ‘struct _GskRenderNode *’} for variadic argument 1 of ‘ap’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:4: included_from: Included from here.
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
# 48|
# 49| va_start (ap, node);
# 50|-> G_VALUE_COLLECT (&value, ap, 0, &err);
# 51| va_end (ap);
# 52|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def763]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘void *’ for variadic argument 2 of ‘ap’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
# 48|
# 49| va_start (ap, node);
# 50|-> G_VALUE_COLLECT (&value, ap, 0, &err);
# 51| va_end (ap);
# 52|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def764]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘GskRenderNode *’ {aka ‘struct _GskRenderNode *’} for variadic argument 1 of ‘ap’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
# 48|
# 49| va_start (ap, node);
# 50|-> G_VALUE_COLLECT (&value, ap, 0, &err);
# 51| va_end (ap);
# 52|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def765]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘void *’ for variadic argument 2 of ‘ap’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
/usr/include/glib-2.0/gobject/gvaluecollector.h:85:5: note: in expansion of macro ‘G_VALUE_COLLECT_INIT2’
/usr/include/glib-2.0/gobject/gvaluecollector.h:174:3: note: in expansion of macro ‘G_VALUE_COLLECT_INIT’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/misc.c:50:3: note: in expansion of macro ‘G_VALUE_COLLECT’
# 48|
# 49| va_start (ap, node);
# 50|-> G_VALUE_COLLECT (&value, ap, 0, &err);
# 51| va_end (ap);
# 52|
Error: CPPCHECK_WARNING: [#def766]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def767]
/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.14.2-build/gtk-4.14.2/gtk/css/gtkcss.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c:23: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c: scope_hint: In function ‘test_get_errors_file’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c:52:43: warning[-Wanalyzer-null-argument]: use of NULL ‘node_file’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:247:42: note: in definition of macro ‘g_string_append_len’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c: scope_hint: In function ‘test_get_errors_file’
/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:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:255:49: note: in expansion of macro ‘G_LIKELY’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c:176:3: note: in expansion of macro ‘g_assert_nonnull’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c:39:7: note: in expansion of macro ‘g_string_free’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c:40:14: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c: scope_hint: In function ‘test_get_errors_file’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c:40:14: note: in expansion of macro ‘g_strdup’
/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.
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c:206:3: note: in expansion of macro ‘g_clear_pointer’
/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.14.2-build/gtk-4.14.2/testsuite/gsk/node-parser.c:51:7: note: in expansion of macro ‘g_str_has_suffix’
/usr/include/glib-2.0/glib/gstring.h:247:42: note: in definition of macro ‘g_string_append_len’
/usr/include/glib-2.0/glib/gstring.h:247:42: note: in definition of macro ‘g_string_append_len’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 50|
# 51| if (g_str_has_suffix (node_file, ".node"))
# 52|-> g_string_append_len (file, node_file, strlen (node_file) - 5);
# 53| else
# 54| g_string_append (file, node_file);
Error: CPPCHECK_WARNING: [#def768]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/offload.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def769]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/path-special-cases.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def770]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/path-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def771]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/path.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def772]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/rounded-rect.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def773]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/scaling.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def774]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/shader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def775]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gsk/transform.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def776]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/accel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def777]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/accessor-apis.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def778]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/action.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def779]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/bitmask.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def780]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/bitset.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def781]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/builder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def782]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/builder.c:2077:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
# 2075| error = NULL;
# 2076| builder = gtk_builder_new ();
# 2077|-> ret = gtk_builder_add_objects_from_string (builder, buffer, -1, objects, &error);
# 2078| g_assert_no_error (error);
# 2079| obj = gtk_builder_get_object (builder, "window");
Error: GCC_ANALYZER_WARNING (CWE-688): [#def783]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/builderparser.c: scope_hint: In function ‘get_expected_filename’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/builderparser.c:68:7: 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.14.2-build/gtk-4.14.2/gtk/css/gtkcss.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/gtk/gtk.h:29: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/builderparser.c:23: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/builderparser.c:67:7: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/builderparser.c: scope_hint: In function ‘get_expected_filename’
<built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null
# 66|
# 67| f = g_strdup (filename);
# 68|-> p = strstr (f, ".ui");
# 69| if (p)
# 70| *p = 0;
Error: CPPCHECK_WARNING: [#def784]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/colorutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def785]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/composetable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def786]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/defaultvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def787]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/expression.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def788]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filterlistmodel-exhaustive.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def789]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filterlistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def790]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filtermodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def791]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filtermodel.c:5579:3: warning[deadcode.DeadStores]: Value stored to 'rowref' is never read
# 5577|
# 5578| path = gtk_tree_path_new_from_indices (3, 0, 0, 0, -1);
# 5579|-> rowref = gtk_tree_row_reference_new (sort, path);
# 5580| gtk_tree_path_free (path);
# 5581|
Error: CLANG_WARNING: [#def792]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filtermodel.c:5583:3: warning[deadcode.DeadStores]: Value stored to 'rowref' is never read
# 5581|
# 5582| path = gtk_tree_path_new_from_indices (3, 0, 0, 0, -1);
# 5583|-> rowref = gtk_tree_row_reference_new (sort, path);
# 5584| gtk_tree_path_free (path);
# 5585|
Error: CLANG_WARNING: [#def793]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filtermodel.c:5587:3: warning[deadcode.DeadStores]: Value stored to 'rowref' is never read
# 5585|
# 5586| path = gtk_tree_path_new_from_indices (3, 0, -1);
# 5587|-> rowref = gtk_tree_row_reference_new (sort, path);
# 5588| gtk_tree_path_free (path);
# 5589|
Error: CLANG_WARNING: [#def794]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filtermodel.c:5628:3: warning[deadcode.DeadStores]: Value stored to 'rowref' is never read
# 5626|
# 5627| path = gtk_tree_path_new_from_indices (3, 0, 0, 0, -1);
# 5628|-> rowref = gtk_tree_row_reference_new (filter, path);
# 5629| gtk_tree_path_free (path);
# 5630|
Error: CLANG_WARNING: [#def795]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filtermodel.c:5632:3: warning[deadcode.DeadStores]: Value stored to 'rowref' is never read
# 5630|
# 5631| path = gtk_tree_path_new_from_indices (3, 0, 0, 0, -1);
# 5632|-> rowref = gtk_tree_row_reference_new (filter, path);
# 5633| gtk_tree_path_free (path);
# 5634|
Error: CLANG_WARNING: [#def796]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filtermodel.c:5636:3: warning[deadcode.DeadStores]: Value stored to 'rowref' is never read
# 5634|
# 5635| path = gtk_tree_path_new_from_indices (3, 0, -1);
# 5636|-> rowref = gtk_tree_row_reference_new (filter, path);
# 5637| gtk_tree_path_free (path);
# 5638|
Error: CLANG_WARNING: [#def797]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filtermodel.c:5681:3: warning[deadcode.DeadStores]: Value stored to 'rowref' is never read
# 5679|
# 5680| path = gtk_tree_path_new_from_indices (0, 0, -1);
# 5681|-> rowref = gtk_tree_row_reference_new (filter, path);
# 5682| gtk_tree_path_free (path);
# 5683|
Error: CLANG_WARNING: [#def798]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/filtermodel.c:5685:3: warning[deadcode.DeadStores]: Value stored to 'rowref' is never read
# 5683|
# 5684| path = gtk_tree_path_new_from_indices (0, 0, -1);
# 5685|-> rowref = gtk_tree_row_reference_new (filter, path);
# 5686| gtk_tree_path_free (path);
# 5687|
Error: CPPCHECK_WARNING: [#def799]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/flattenlistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def800]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/gtktreemodelrefcount.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def801]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/icontheme.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def802]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/label.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def803]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/listbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def804]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/multiselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def805]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/notify.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def806]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/object.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def807]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/objects-finalize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def808]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/papersize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def809]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/rbtree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def810]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/recentmanager.c:336:3: warning[deadcode.DeadStores]: Value stored to 'n' is never read
# 334| /* purge, add 1, purge again and check that 1 item has been purged */
# 335| error = NULL;
# 336|-> n = gtk_recent_manager_purge_items (manager, &error);
# 337| g_assert_null (error);
# 338|
Error: CPPCHECK_WARNING: [#def811]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/scrolledwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def812]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/shortcuts.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def813]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/sorter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def814]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/sortlistmodel-exhaustive.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def815]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/test-focus-chain.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def816]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/textbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def817]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/timsort.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def818]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/treelistmodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def819]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/gtk/treepath.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def820]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/reftests/gtk-reftest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def821]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/reftests/gtk-reftest.c:293:60: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 291| if (filename == NULL)
# 292| {
# 293|-> g_test_message ("Not storing test result image: %s", error->message);
# 294| g_error_free (error);
# 295| return;
Error: CLANG_WARNING: [#def822]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/reftests/gtk-reftest.c:318:59: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 316| if (filename == NULL)
# 317| {
# 318|-> g_test_message ("Not storing test result node: %s", error->message);
# 319| g_error_free (error);
# 320| return;
Error: CPPCHECK_WARNING: [#def823]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/reftests/image-compare.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def824]
gtk4-4.14.2-build/gtk-4.14.2/testsuite/reftests/reftest-compare.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-682): [#def825]
gtk4-4.14.2-build/gtk-4.14.2/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: [#def826]
gtk4-4.14.2-build/gtk-4.14.2/tools/encodesymbolic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def827]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-builder-tool-enumerate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def828]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-builder-tool-preview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def829]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-builder-tool-screenshot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def830]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-builder-tool-simplify.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def831]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-builder-tool-validate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def832]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-builder-tool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def833]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-launch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def834]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-launch.c: scope_hint: In function ‘main’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/tools/gtk-launch.c:28: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-launch.c:121:14: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-launch.c: scope_hint: In function ‘main’
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-launch.c:122:7: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-launch.c:124:27: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/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: [#def835]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-path-tool-decompose.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def836]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-path-tool-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def837]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-path-tool-render.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def838]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-path-tool-restrict.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def839]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-path-tool-show.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def840]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-path-tool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def841]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-query-settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def842]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-rendernode-tool-benchmark.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def843]
gtk4-4.14.2-build/gtk-4.14.2/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): [#def844]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-rendernode-tool-render.c: scope_hint: In function ‘render_file’
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-rendernode-tool-render.c:137: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.14.2-build/gtk-4.14.2/tools/gtk-rendernode-tool-render.c:26: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-rendernode-tool-render.c:132:7: note: in expansion of macro ‘g_str_has_suffix’
# 135| if (bytes == NULL)
# 136| {
# 137|-> g_printerr (_("Failed to generate SVG: %s\n"), error->message);
# 138| exit (1);
# 139| }
Error: CLANG_WARNING: [#def845]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-rendernode-tool-render.c:137:58: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 135| if (bytes == NULL)
# 136| {
# 137|-> g_printerr (_("Failed to generate SVG: %s\n"), error->message);
# 138| exit (1);
# 139| }
Error: CPPCHECK_WARNING: [#def846]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-rendernode-tool-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def847]
gtk4-4.14.2-build/gtk-4.14.2/tools/gtk-rendernode-tool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def848]
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def849]
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c: scope_hint: In function ‘follow_links’
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:451:7: warning[-Wanalyzer-null-argument]: use of NULL ‘path2’ 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.14.2-build/gtk-4.14.2/tools/updateiconcache.c:38: included_from: Included from here.
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/tools/updateiconcache.c:465:8: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:428:11: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:23: included_from: Included from here.
/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): [#def850]
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:451:7: warning[-Wanalyzer-null-argument]: use of NULL ‘path’ where non-null expected
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/tools/updateiconcache.c:465:8: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:428:11: note: in expansion of macro ‘g_strdup’
/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): [#def851]
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c: scope_hint: In function ‘scan_directory’
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:667:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:639:25: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-build/gtk-4.14.2/tools/updateiconcache.c:654:15: note: in expansion of macro ‘g_str_has_suffix’
gtk4-4.14.2-build/gtk-4.14.2/tools/updateiconcache.c:666:22: note: in expansion of macro ‘g_strdup’
gtk4-4.14.2-build/gtk-4.14.2/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.14.2-2.fc40 |
store-results-to | /tmp/tmp3rgiokoz/gtk4-4.14.2-2.fc40.tar.xz |
time-created | 2024-07-03 13:08:06 |
time-finished | 2024-07-03 13:55:33 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp3rgiokoz/gtk4-4.14.2-2.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp3rgiokoz/gtk4-4.14.2-2.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |