gtk3-3.24.42-2.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/event_axes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def2]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/event_axes.c: scope_hint: In function ‘update_axes_from_event’
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/event_axes.c:181:7: warning[-Wdeprecated-declarations]: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead
/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.h:23: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/event_axes.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
# 179| {
# 180| info->axes =
# 181|-> g_memdup (event->motion.axes,
# 182| sizeof (gdouble) * gdk_device_get_n_axes (source_device));
# 183| }
Error: COMPILER_WARNING (CWE-477): [#def3]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/event_axes.c:188:7: warning[-Wdeprecated-declarations]: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead
/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here
# 186| {
# 187| info->axes =
# 188|-> g_memdup (event->button.axes,
# 189| sizeof (gdouble) * gdk_device_get_n_axes (source_device));
# 190| }
Error: CPPCHECK_WARNING: [#def4]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/font_features.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def5]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/foreigndrawing.c:235:15: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>' is a garbage value
# 233| *width = MAX (*width, min_width);
# 234| if (height)
# 235|-> *height = MAX (*height, min_height);
# 236| }
# 237|
Error: CLANG_WARNING: [#def6]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/foreigndrawing.c:798:7: warning[deadcode.DeadStores]: Value stored to 'button_width' is never read
# 796| else
# 797| {
# 798|-> button_width = width;
# 799| draw_style_common (button_context, cr, x, y, width, *height,
# 800| &contents_x, &contents_y, &contents_width, &contents_height);
Error: CPPCHECK_WARNING: [#def7]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/gtkfishbowl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def8]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/list_store.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def9]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/listbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def10]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def11]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/textview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def12]
gtk3-3.24.42-build/gtk+-3.24.42/demos/gtk-demo/toolpalette.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def13]
gtk3-3.24.42-build/gtk+-3.24.42/docs/tools/shadow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def14]
gtk3-3.24.42-build/gtk+-3.24.42/docs/tools/shooter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def15]
gtk3-3.24.42-build/gtk+-3.24.42/docs/tools/shooter.c: scope_hint: In function ‘take_window_shot’
gtk3-3.24.42-build/gtk+-3.24.42/docs/tools/shooter.c:173:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:50: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/docs/tools/shooter.c:1: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkmain.h:108:6: note: declared here
# 171| }
# 172|
# 173|-> if (x_orig + width > gdk_screen_width ())
# 174| width = gdk_screen_width () - x_orig;
# 175|
Error: COMPILER_WARNING (CWE-477): [#def16]
gtk3-3.24.42-build/gtk+-3.24.42/docs/tools/shooter.c:174:5: warning[-Wdeprecated-declarations]: ‘gdk_screen_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkmain.h:108:6: note: declared here
# 172|
# 173| if (x_orig + width > gdk_screen_width ())
# 174|-> width = gdk_screen_width () - x_orig;
# 175|
# 176| if (y_orig + height > gdk_screen_height ())
Error: COMPILER_WARNING (CWE-477): [#def17]
gtk3-3.24.42-build/gtk+-3.24.42/docs/tools/shooter.c:176:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkmain.h:110:6: note: declared here
# 174| width = gdk_screen_width () - x_orig;
# 175|
# 176|-> if (y_orig + height > gdk_screen_height ())
# 177| height = gdk_screen_height () - y_orig;
# 178|
Error: COMPILER_WARNING (CWE-477): [#def18]
gtk3-3.24.42-build/gtk+-3.24.42/docs/tools/shooter.c:177:5: warning[-Wdeprecated-declarations]: ‘gdk_screen_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkmain.h:110:6: note: declared here
# 175|
# 176| if (y_orig + height > gdk_screen_height ())
# 177|-> height = gdk_screen_height () - y_orig;
# 178|
# 179| tmp = gdk_pixbuf_get_from_window (window,
Error: CPPCHECK_WARNING: [#def19]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/broadway-buffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def20]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/broadway-server.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def21]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/broadway-server.c:473:5: warning[deadcode.DeadStores]: Value stored to 'p' is never read
# 471|
# 472| case BROADWAY_EVENT_POINTER_MOVE: /* Mouse move */
# 473|-> p = parse_pointer_data (p, &msg.pointer);
# 474| update_future_pointer_info (server, &msg.pointer);
# 475| break;
Error: CLANG_WARNING: [#def22]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/broadway-server.c:491:5: warning[deadcode.DeadStores]: Value stored to 'p' is never read
# 489|
# 490| case BROADWAY_EVENT_TOUCH:
# 491|-> p = parse_touch_data (p, &msg.touch);
# 492| break;
# 493|
Error: CLANG_WARNING: [#def23]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/broadway-server.c:1254:11: warning[unix.Malloc]: Potential leak of memory pointed to by 'request'
# 1252| if (!certificate)
# 1253| {
# 1254|-> g_warning ("Cannot create TLS certificate: %s", error->message);
# 1255| g_error_free (error);
# 1256| return FALSE;
Error: CPPCHECK_WARNING: [#def24]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/broadwayd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def25]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/broadwayd.c: scope_hint: In function ‘client_fill_cb.part.0’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/broadwayd.c:347:24: warning[-Wanalyzer-infinite-loop]: infinite loop
# 345|
# 346| remaining = count;
# 347|-> while (remaining >= sizeof (guint32))
# 348| {
# 349| memcpy (&size, buffer, sizeof (guint32));
Error: CPPCHECK_WARNING: [#def26]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkbroadway-server.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def27]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkbroadway-server.c:578:2: warning[unix.Malloc]: Use of memory after it is freed
# 576| {
# 577| if (filename)
# 578|-> unlink (filename);
# 579| else
# 580| shm_unlink (name);
Error: CPPCHECK_WARNING: [#def28]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkdevice-broadway.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def29]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkdevice-broadway.c:356:3: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
# 354| gdk_broadway_device_query_state (device, root_window, NULL, &window, NULL, NULL, win_x, win_y, mask);
# 355|
# 356|-> return window;
# 357| }
# 358|
Error: COMPILER_WARNING (CWE-477): [#def30]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c: scope_hint: In function ‘gdk_broadway_screen_get_width_mm’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c:68:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreenprivate.h:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.h:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c:24: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 66| gdk_broadway_screen_get_width_mm (GdkScreen *screen)
# 67| {
# 68|-> return gdk_screen_get_width (screen) * 25.4 / 96;
# 69| }
# 70|
Error: COMPILER_WARNING (CWE-477): [#def31]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c: scope_hint: In function ‘gdk_broadway_screen_get_height_mm’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c:74:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 72| gdk_broadway_screen_get_height_mm (GdkScreen *screen)
# 73| {
# 74|-> return gdk_screen_get_height (screen) * 25.4 / 96;
# 75| }
# 76|
Error: COMPILER_WARNING (CWE-477): [#def32]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c: scope_hint: In function ‘_gdk_broadway_screen_size_changed’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c:98:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 96| GList *toplevels, *l;
# 97|
# 98|-> width = gdk_screen_get_width (screen);
# 99| height = gdk_screen_get_height (screen);
# 100|
Error: COMPILER_WARNING (CWE-477): [#def33]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c:99:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 97|
# 98| width = gdk_screen_get_width (screen);
# 99|-> height = gdk_screen_get_height (screen);
# 100|
# 101| broadway_screen->width = msg->width;
Error: COMPILER_WARNING (CWE-477): [#def34]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c:104:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 102| broadway_screen->height = msg->height;
# 103|
# 104|-> if (width == gdk_screen_get_width (screen) &&
# 105| height == gdk_screen_get_height (screen))
# 106| return;
Error: COMPILER_WARNING (CWE-477): [#def35]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c:105:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 103|
# 104| if (width == gdk_screen_get_width (screen) &&
# 105|-> height == gdk_screen_get_height (screen))
# 106| return;
# 107|
Error: COMPILER_WARNING (CWE-477): [#def36]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c:122:33: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 120| if (toplevel_impl->maximized)
# 121| gdk_window_move_resize (toplevel, 0, 0,
# 122|-> gdk_screen_get_width (screen),
# 123| gdk_screen_get_height (screen));
# 124| }
Error: COMPILER_WARNING (CWE-477): [#def37]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.c:123:33: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 121| gdk_window_move_resize (toplevel, 0, 0,
# 122| gdk_screen_get_width (screen),
# 123|-> gdk_screen_get_height (screen));
# 124| }
# 125| }
Error: CPPCHECK_WARNING: [#def38]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkselection-broadway.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def39]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkwindow-broadway.c: scope_hint: In function ‘_gdk_broadway_screen_init_root_window’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkwindow-broadway.c:234:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreenprivate.h:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkscreen-broadway.h:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkwindow-broadway.c:29: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 232| window->abs_x = 0;
# 233| window->abs_y = 0;
# 234|-> window->width = gdk_screen_get_width (screen);
# 235| window->height = gdk_screen_get_height (screen);
# 236| window->viewable = TRUE;
Error: COMPILER_WARNING (CWE-477): [#def40]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkwindow-broadway.c:235:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 233| window->abs_y = 0;
# 234| window->width = gdk_screen_get_width (screen);
# 235|-> window->height = gdk_screen_get_height (screen);
# 236| window->viewable = TRUE;
# 237|
Error: COMPILER_WARNING (CWE-477): [#def41]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkwindow-broadway.c: scope_hint: In function ‘gdk_broadway_window_maximize’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkwindow-broadway.c:922:27: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 920|
# 921| gdk_window_move_resize (window, 0, 0,
# 922|-> gdk_screen_get_width (screen),
# 923| gdk_screen_get_height (screen));
# 924| }
Error: COMPILER_WARNING (CWE-477): [#def42]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkwindow-broadway.c:923:27: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 921| gdk_window_move_resize (window, 0, 0,
# 922| gdk_screen_get_width (screen),
# 923|-> gdk_screen_get_height (screen));
# 924| }
# 925|
Error: CLANG_WARNING: [#def43]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkwindow-broadway.c:1526:5: warning[deadcode.DeadStores]: Value stored to 'opacity' is never read
# 1524|
# 1525| if (opacity < 0)
# 1526|-> opacity = 0;
# 1527| else if (opacity > 1)
# 1528| opacity = 1;
Error: CLANG_WARNING: [#def44]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/broadway/gdkwindow-broadway.c:1528:5: warning[deadcode.DeadStores]: Value stored to 'opacity' is never read
# 1526| opacity = 0;
# 1527| else if (opacity > 1)
# 1528|-> opacity = 1;
# 1529| }
# 1530|
Error: CPPCHECK_WARNING: [#def45]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdevice.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdevice.c: scope_hint: In function ‘_gdk_device_translate_window_coord’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdevice.c:1708:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘axis_info_x’
/usr/include/glib-2.0/glib.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkversionmacros.h:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdevice.h:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdeviceprivate.h:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdevice.c:22: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdevice.c:1691:15: note: in expansion of macro ‘g_array_index’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdevice.c:1662:15: note: in expansion of macro ‘g_array_index’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdevice.c: scope_hint: In function ‘_gdk_device_translate_window_coord’
# 1706| }
# 1707|
# 1708|-> device_width = axis_info_x->max_value - axis_info_x->min_value;
# 1709| device_height = axis_info_y->max_value - axis_info_y->min_value;
# 1710|
Error: CPPCHECK_WARNING: [#def47]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.c: scope_hint: In function ‘switch_to_pointer_grab’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.c:1053:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1051| src_window = last_grab->window;
# 1052| else
# 1053|-> src_window = info->window_under_pointer;
# 1054|
# 1055| if (src_window != grab->window)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.c:1062:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1060| /* !owner_event Grabbing a window that we're not inside, current status is
# 1061| now NULL (i.e. outside grabbed window) */
# 1062|-> if (!grab->owner_events && info->window_under_pointer != grab->window)
# 1063| _gdk_display_set_window_under_pointer (display, device, NULL);
# 1064| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.c:1079:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1077| * as that won't get told of this change with toplevel enter events.
# 1078| */
# 1079|-> if (info->toplevel_under_pointer)
# 1080| g_object_unref (info->toplevel_under_pointer);
# 1081| info->toplevel_under_pointer = NULL;
Error: CPPCHECK_WARNING: [#def51]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplaymanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def52]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkevents.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkevents.c: scope_hint: In function ‘gdk_synthesize_click’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkevents.c:2164:20: 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.
/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.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkinternals.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkevents.c:27: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkevents.c:654:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkevents.c:654:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2162|
# 2163| event_copy = gdk_event_copy (event);
# 2164|-> event_copy->type = (nclicks == 2) ? GDK_2BUTTON_PRESS : GDK_3BUTTON_PRESS;
# 2165|
# 2166| _gdk_event_queue_append (display, event_copy);
Error: CPPCHECK_WARNING: [#def54]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkframeclock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def55]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkframeclockidle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def56]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkframeclockidle.c:415:7: warning[deadcode.DeadStores]: Value stored to 'timings' is never read
# 413| if (priv->phase > GDK_FRAME_CLOCK_PHASE_BEFORE_PAINT)
# 414| {
# 415|-> timings = gdk_frame_clock_get_current_timings (clock);
# 416| }
# 417|
Error: CPPCHECK_WARNING: [#def57]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkgl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def58]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkglcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def59]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkkeys.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def60]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkoffscreenwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def61]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkpixbuf-drawable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def62]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkrgba.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def63]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkseatdefault.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def64]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdevice-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdevice-wayland.c: scope_hint: In function ‘gdk_wayland_device_set_window_cursor’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdevice-wayland.c:525:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pointer’
# 523| if (!cursor)
# 524| {
# 525|-> guint scale = pointer->current_output_scale;
# 526| cursor =
# 527| _gdk_wayland_display_get_cursor_for_name_with_scale (seat->display,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdevice-wayland.c:532:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pointer’
# 530| }
# 531| else
# 532|-> _gdk_wayland_cursor_set_scale (cursor, pointer->current_output_scale);
# 533|
# 534| if (cursor == pointer->cursor)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdevice-wayland.c: scope_hint: In function ‘tablet_pad_handle_button’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdevice-wayland.c:4476:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 4474| event->pad_button.button = button;
# 4475| event->pad_button.group = n_group;
# 4476|-> event->pad_button.mode = group->current_mode;
# 4477| event->pad_button.time = time;
# 4478| gdk_event_set_device (event, pad->device);
Error: COMPILER_WARNING: [#def68]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdisplay-wayland.c: scope_hint: In function ‘log_handler’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdisplay-wayland.c:573:3: warning[-Wsuggest-attribute=format]: function ‘log_handler’ might be a candidate for ‘gnu_printf’ format attribute
# 573 | g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format, args);
# | ^~~~~~
# 571| log_handler (const char *format, va_list args)
# 572| {
# 573|-> g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format, args);
# 574| }
# 575|
Error: CLANG_WARNING: [#def69]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdisplay-wayland.c:1415:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 1413| &data->buf);
# 1414|
# 1415|-> surface = cairo_image_surface_create_for_data (data->buf,
# 1416| CAIRO_FORMAT_ARGB32,
# 1417| width*scale,
Error: CPPCHECK_WARNING: [#def70]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkdnd-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def71]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkeventsource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def72]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkglcontext-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def73]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkkeys-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def74]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkkeys-wayland.c:506:20: warning[core.uninitialized.Assign]: The expression is an uninitialized value. The computed value will also be garbage
# 504| {
# 505| case PANGO_DIRECTION_RTL:
# 506|-> rtl[layout]++;
# 507| break;
# 508| case PANGO_DIRECTION_LTR:
Error: CLANG_WARNING: [#def75]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkkeys-wayland.c:509:20: warning[core.uninitialized.Assign]: The expression is an uninitialized value. The computed value will also be garbage
# 507| break;
# 508| case PANGO_DIRECTION_LTR:
# 509|-> rtl[layout]--;
# 510| break;
# 511| default:
Error: CPPCHECK_WARNING: [#def76]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkscreen-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkscreen-wayland.c: scope_hint: In function ‘update_xft_settings’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkscreen-wayland.c:356:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkscreen-wayland.c:23: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:175:75: note: in definition of macro ‘g_str_equal’
# 354| entry = find_translation_entry_by_schema ("org.gnome.desktop.interface", "font-antialiasing");
# 355|
# 356|-> if (entry->valid)
# 357| {
# 358| antialiasing = entry->fallback.i;
Error: CLANG_WARNING: [#def78]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkselection-wayland.c:1042:3: warning[deadcode.DeadStores]: Value stored to 'write_data' is never read
# 1040| }
# 1041|
# 1042|-> write_data = async_write_data_new (stored_selection, fd);
# 1043|
# 1044| if (!wayland_selection->current_request_selection)
Error: CPPCHECK_WARNING: [#def79]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/gdkwindow-wayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def80]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/wayland/wm-button-layout-translation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def81]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkapplaunchcontext-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def82]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkasync.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def83]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkasync.c:354: error[uninitvar]: Uninitialized variables: state.dpy, state.get_property_req
# 352| async.next = dpy->async_handlers;
# 353| async.handler = list_children_handler;
# 354|-> async.data = (XPointer) &state;
# 355| dpy->async_handlers = &async;
# 356|
Error: CPPCHECK_WARNING (CWE-562): [#def84]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkasync.c:355: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 353| async.handler = list_children_handler;
# 354| async.data = (XPointer) &state;
# 355|-> dpy->async_handlers = &async;
# 356|
# 357| GetReq (GetProperty, prop_req);
Error: CPPCHECK_WARNING: [#def85]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevice-core-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def86]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevice-core-x11.c:554:40: warning[core.UndefinedBinaryOperatorResult]: The left operand of '/' is a garbage value
# 552|
# 553| if (win_x)
# 554|-> *win_x = (window) ? (double)xwin_x / impl->window_scale : -1;
# 555|
# 556| if (win_y)
Error: CLANG_WARNING: [#def87]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevice-core-x11.c:557:40: warning[core.UndefinedBinaryOperatorResult]: The left operand of '/' is a garbage value
# 555|
# 556| if (win_y)
# 557|-> *win_y = (window) ? (double)xwin_y / impl->window_scale : -1;
# 558|
# 559| if (mask)
Error: CLANG_WARNING: [#def88]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevice-core-x11.c:560:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 558|
# 559| if (mask)
# 560|-> *mask = xmask;
# 561|
# 562| return window;
Error: CPPCHECK_WARNING: [#def89]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevice-xi2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def90]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevice-xi2.c:660:41: warning[core.UndefinedBinaryOperatorResult]: The left operand of '/' is a garbage value
# 658|
# 659| if (win_x)
# 660|-> *win_x = (window && impl) ? (xwin_x / impl->window_scale) : -1;
# 661|
# 662| if (win_y)
Error: CLANG_WARNING: [#def91]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevice-xi2.c:663:41: warning[core.UndefinedBinaryOperatorResult]: The left operand of '/' is a garbage value
# 661|
# 662| if (win_y)
# 663|-> *win_y = (window && impl) ? (xwin_y / impl->window_scale) : -1;
# 664|
# 665|
Error: CLANG_WARNING: [#def92]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevice-xi2.c:789:11: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 787|
# 788| if (mods_state)
# 789|-> state = mods_state->effective;
# 790|
# 791| if (buttons_state)
Error: CPPCHECK_WARNING: [#def93]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevicemanager-core-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def94]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdevicemanager-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def95]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdisplay-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-685): [#def96]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdisplay-x11.c:2370: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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkversionmacros.h:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.h:29: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkasync.h:22: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdisplay-x11.c:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdisplay-x11.c:2365: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdisplay-x11.c: scope_hint: In function ‘gdk_x11_display_broadcast_startup_message’
# 2368| while ((key = va_arg (ap, const char *)))
# 2369| {
# 2370|-> value = va_arg (ap, const char *);
# 2371| if (!value)
# 2372| continue;
Error: CPPCHECK_WARNING: [#def97]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkdnd-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def98]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkeventsource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def99]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkglcontext-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-457): [#def100]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkglcontext-x11.c:418:26: warning[-Wmaybe-uninitialized]: ‘config’ may be used uninitialized
# 418 | glx_pixmap->drawable = glXCreatePixmap (display, config,
# | ^
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkglcontext-x11.c: scope_hint: In function ‘gdk_x11_gl_context_texture_from_surface’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkglcontext-x11.c:318:27: note: ‘config’ was declared here
# 318 | GLXFBConfig *fbconfigs, config;
# | ^~~~~~
# 416| glx_pixmap->y_inverted = y_inverted;
# 417| glx_pixmap->display = display;
# 418|-> glx_pixmap->drawable = glXCreatePixmap (display, config,
# 419| cairo_xlib_surface_get_drawable (surface),
# 420| pixmap_attributes);
Error: CLANG_WARNING: [#def101]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkglcontext-x11.c:418:26: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 416| glx_pixmap->y_inverted = y_inverted;
# 417| glx_pixmap->display = display;
# 418|-> glx_pixmap->drawable = glXCreatePixmap (display, config,
# 419| cairo_xlib_surface_get_drawable (surface),
# 420| pixmap_attributes);
Error: CPPCHECK_WARNING: [#def102]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkkeys-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def103]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkkeys-x11.c:1030:20: warning[core.NullDereference]: Access to field 'len' results in a dereference of a null pointer (loaded from variable 'key_array')
# 1028| if (keys)
# 1029| {
# 1030|-> *n_entries = key_array->len;
# 1031| *keys = (GdkKeymapKey*) g_array_free (key_array, FALSE);
# 1032| }
Error: CLANG_WARNING: [#def104]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkkeys-x11.c:1036:20: warning[core.NullDereference]: Access to field 'len' results in a dereference of a null pointer (loaded from variable 'keyval_array')
# 1034| if (keyvals)
# 1035| {
# 1036|-> *n_entries = keyval_array->len;
# 1037| *keyvals = (guint*) g_array_free (keyval_array, FALSE);
# 1038| }
Error: CLANG_WARNING: [#def105]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkkeys-x11.c:1103:5: warning[deadcode.DeadStores]: Value stored to 'col' is never read
# 1101|
# 1102| /* find the offset of the effective group */
# 1103|-> col = 0;
# 1104| effectiveGroup= XkbGroupForCoreState(mods);
# 1105| if ( effectiveGroup>=nKeyGroups ) {
Error: CPPCHECK_WARNING: [#def106]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkscreen-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-190): [#def107]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkscreen-x11.c:1085: error[integerOverflow]: Signed integer overflow for expression 'x2-x1'.
# 1083| }
# 1084|
# 1085|-> x11_screen->width = x2 - x1;
# 1086| x11_screen->height = y2 - y1;
# 1087| }
Error: CPPCHECK_WARNING (CWE-190): [#def108]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkscreen-x11.c:1086: error[integerOverflow]: Signed integer overflow for expression 'y2-y1'.
# 1084|
# 1085| x11_screen->width = x2 - x1;
# 1086|-> x11_screen->height = y2 - y1;
# 1087| }
# 1088|
Error: CPPCHECK_WARNING: [#def109]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkselection-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def110]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdktestutils-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def111]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkvisual-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def112]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c: scope_hint: In function ‘setup_toplevel_window’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:924:30: 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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkversionmacros.h:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkcursor.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkprivate-x11.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.h:28: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:28: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:668:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:668:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:668:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:668:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:704:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:704:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:704:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:704:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168:25: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168:25: note: in expansion of macro ‘GDK_IS_WINDOW’
# 922| * press events so they don't get sent to child windows.
# 923| */
# 924|-> toplevel->focus_window = create_focus_window (display, xid);
# 925| _gdk_x11_display_add_window (x11_screen->display,
# 926| &toplevel->focus_window,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:964:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:668:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:668:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:668:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:668:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:704:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:704:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:704:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:704:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168:25: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168:25: note: in expansion of macro ‘GDK_IS_WINDOW’
# 962| (guchar *) &leader_window, 1);
# 963|
# 964|-> if (toplevel->focus_window != None)
# 965| XChangeProperty (xdisplay, xid,
# 966| gdk_x11_get_xatom_by_name_for_display (x11_screen->display, "_NET_WM_USER_TIME_WINDOW"),
Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c: scope_hint: In function ‘update_wm_hints’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:1494:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1492| }
# 1493|
# 1494|-> if (toplevel->icon_pixmap)
# 1495| {
# 1496| wm_hints.flags |= IconPixmapHint;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c: scope_hint: In function ‘gdk_x11_window_set_skip_taskbar_hint.part.0’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:2527:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2525|
# 2526| toplevel = _gdk_x11_window_get_toplevel (window);
# 2527|-> toplevel->skip_taskbar_hint = skips_taskbar;
# 2528|
# 2529| if (GDK_WINDOW_IS_MAPPED (window))
Error: GCC_ANALYZER_WARNING (CWE-476): [#def116]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c: scope_hint: In function ‘gdk_x11_window_set_skip_pager_hint.part.0’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:2548:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2546|
# 2547| toplevel = _gdk_x11_window_get_toplevel (window);
# 2548|-> toplevel->skip_pager_hint = skips_pager;
# 2549|
# 2550| if (GDK_WINDOW_IS_MAPPED (window))
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c: scope_hint: In function ‘gdk_x11_window_set_urgency_hint’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:2569:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:2562:3: note: in expansion of macro ‘g_return_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkprivate-x11.h:34: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:2564:7: note: in expansion of macro ‘GDK_WINDOW_DESTROYED’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:2565:8: note: in expansion of macro ‘WINDOW_IS_TOPLEVEL_OR_FOREIGN’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168:25: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168:25: note: in expansion of macro ‘GDK_IS_WINDOW’
# 2567|
# 2568| toplevel = _gdk_x11_window_get_toplevel (window);
# 2569|-> toplevel->urgency_hint = urgent;
# 2570|
# 2571| update_wm_hints (window, FALSE);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c: scope_hint: In function ‘gdk_window_update_icon’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:3851:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 3849| toplevel = _gdk_x11_window_get_toplevel (window);
# 3850|
# 3851|-> if (toplevel->icon_pixmap != NULL)
# 3852| {
# 3853| cairo_surface_destroy (toplevel->icon_pixmap);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def119]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c: scope_hint: In function ‘gdk_x11_window_get_group.part.0’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4463:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 4461| toplevel = _gdk_x11_window_get_toplevel (window);
# 4462|
# 4463|-> return toplevel->group_leader;
# 4464| }
# 4465|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c: scope_hint: In function ‘gdk_x11_window_set_group’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4486:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4472:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4472:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4472:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4472:21: note: in expansion of macro ‘GDK_IS_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4472: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4473:3: note: in expansion of macro ‘g_return_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4473:21: note: in expansion of macro ‘GDK_WINDOW_TYPE’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4473: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:4474: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:664:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168: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’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:466:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168:25: note: in expansion of macro ‘GDK_IS_WINDOW’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkwindow-x11.c:168:3: note: in expansion of macro ‘g_return_val_if_fail’
# 4484| leader = gdk_display_get_default_group (gdk_window_get_display (window));
# 4485|
# 4486|-> if (toplevel->group_leader != leader)
# 4487| {
# 4488| if (toplevel->group_leader)
Error: CPPCHECK_WARNING: [#def121]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/gdkxftdefaults.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def122]
gtk3-3.24.42-build/gtk+-3.24.42/gdk/x11/xsettings-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def123]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkaccessibility.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def124]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkbuttonaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def125]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkcomboboxaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def126]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkentryaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def127]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkiconviewaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def128]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkimageaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def129]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkimageaccessible.c: scope_hint: In function ‘name_from_icon_name’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkimageaccessible.c:140:10: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 138| name = g_strdup (icon_name);
# 139| if (g_str_has_suffix (name, "-symbolic"))
# 140|-> name[strlen (name) - strlen ("-symbolic")] = '\0';
# 141|
# 142| for (i = 0; i < G_N_ELEMENTS (name_map); i++)
Error: CPPCHECK_WARNING: [#def130]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtklabelaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def131]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkmenuitemaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def132]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkscrolledwindowaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def133]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtktextcellaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def134]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtktextcellaccessible.c:340:3: warning[deadcode.DeadStores]: Value stored to 'attrib_set' is never read
# 338| widget = get_widget (GTK_TEXT_CELL_ACCESSIBLE (text));
# 339|
# 340|-> attrib_set = add_attribute (attrib_set, ATK_TEXT_ATTR_DIRECTION,
# 341| atk_text_attribute_get_value (ATK_TEXT_ATTR_DIRECTION,
# 342| gtk_widget_get_direction (widget)));
Error: CPPCHECK_WARNING: [#def135]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtktextviewaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def136]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtktoplevelaccessible.c:118:3: warning[deadcode.DeadStores]: Value stored to 'obj' is never read
# 116|
# 117| obj = gtk_widget_get_accessible (child);
# 118|-> obj = atk_object_get_parent (obj);
# 119|
# 120| return FALSE;
Error: CPPCHECK_WARNING: [#def137]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtktreeviewaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def138]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtktreeviewaccessible.c:959:9: warning[core.NullDereference]: Array access (from variable 'selected') results in a null pointer dereference
# 957| return NULL;
# 958|
# 959|-> row = selected[i / n_columns];
# 960| g_free (selected);
# 961|
Error: CPPCHECK_WARNING: [#def139]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkwidgetaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def140]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/a11y/gtkwindowaccessible.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def141]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkaction.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def142]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkactiongroup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def143]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkalignment.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def144]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkcolorsel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def145]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkcolorsel.c: scope_hint: In function ‘get_current_colors’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkcolorsel.c:1302:11: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
# 1300| &colors,
# 1301| &n_colors);
# 1302|-> memcpy (colors, tmp_colors, sizeof (GdkColor) * tmp_n_colors);
# 1303|
# 1304| g_free (tmp_colors);
Error: CLANG_WARNING: [#def146]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkcolorsel.c:1302:11: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 1300| &colors,
# 1301| &n_colors);
# 1302|-> memcpy (colors, tmp_colors, sizeof (GdkColor) * tmp_n_colors);
# 1303|
# 1304| g_free (tmp_colors);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkcolorsel.c: scope_hint: In function ‘gtk_color_selection_palette_from_string’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkcolorsel.c:2931:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkapplication.h:27: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindow.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkdialog.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkcolorsel.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkcolorsel.c:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkcolorsel.c:2925:10: note: in expansion of macro ‘g_strdup’
# 2929| while (TRUE)
# 2930| {
# 2931|-> if (*p == ':' || *p == '\0')
# 2932| {
# 2933| gboolean done = TRUE;
Error: CPPCHECK_WARNING: [#def148]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkfontsel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def149]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkgradient.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def150]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkhandlebox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def151]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkhandlebox.c:1520: error[uninitvar]: Uninitialized variable: &geometry
# 1518| gdk_window_move_resize (priv->float_window, new_x, new_y, width, height);
# 1519| gdk_window_reparent (priv->bin_window, priv->float_window, 0, 0);
# 1520|-> gdk_window_set_geometry_hints (priv->float_window, &geometry, GDK_HINT_POS);
# 1521| gdk_window_show (priv->float_window);
# 1522| priv->float_window_mapped = TRUE;
Error: CPPCHECK_WARNING: [#def152]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkhsv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def153]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkhsv.c:920:18: warning[deadcode.DeadStores]: Value stored to 'priv' during its initialization is never read
# 918| gboolean draw_focus)
# 919| {
# 920|-> GtkHSVPrivate *priv = hsv->priv;
# 921| GtkWidget *widget = GTK_WIDGET (hsv);
# 922| gint hx, hy, sx, sy, vx, vy; /* HSV vertices */
Error: CPPCHECK_WARNING: [#def154]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkiconfactory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def155]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkiconfactory.c:2654:47: warning[unix.Malloc]: Use of memory after it is freed
# 2652| /* Inline source_add() to avoid creating a copy */
# 2653| g_assert (icon_source->type != GTK_ICON_SOURCE_EMPTY);
# 2654|-> icon_set->sources = g_slist_insert_sorted (icon_set->sources,
# 2655| icon_source,
# 2656| icon_source_compare);
Error: CPPCHECK_WARNING: [#def156]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtknumerableicon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def157]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkrc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def158]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkrc.c:1939: warning[nullPointer]: Possible null pointer dereference: slist_p
# 1937| pspec->user_data = binding_set;
# 1938|
# 1939|-> slist = *slist_p;
# 1940| while (slist)
# 1941| {
Error: CPPCHECK_WARNING: [#def159]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkstatusicon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def160]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkstock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def161]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkstyleproperties.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def162]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtktable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def163]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtktable.c:1378:18: warning[core.DivideZero]: Division by zero
# 1376| if (force_expand || priv->cols[col].expand)
# 1377| {
# 1378|-> extra = width / n_expand;
# 1379| priv->cols[col].requisition += extra;
# 1380| width -= extra;
Error: CLANG_WARNING: [#def164]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtktable.c:1432:19: warning[core.DivideZero]: Division by zero
# 1430| if (force_expand || priv->rows[row].expand)
# 1431| {
# 1432|-> extra = height / n_expand;
# 1433| priv->rows[row].requisition += extra;
# 1434| height -= extra;
Error: CPPCHECK_WARNING: [#def165]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtktrayicon-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def166]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/encodesymbolic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def167]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/fnmatch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def168]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/fnmatch.c:109:18: warning[deadcode.DeadStores]: Value stored to 'last_p' during its initialization is never read
# 107|
# 108| {
# 109|-> const char *last_p = p;
# 110|
# 111| for (last_p = p, c = get_char (&p);
Error: CPPCHECK_WARNING: [#def169]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c: scope_hint: In function ‘canonicalize_key’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c:55:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
/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.h:23: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c:24: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c:86:20: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c: scope_hint: In function ‘canonicalize_key’
# 53| gchar *p;
# 54|
# 55|-> for (p = key; *p != 0; p++)
# 56| {
# 57| gchar c = *p;
Error: GCC_ANALYZER_WARNING (CWE-688): [#def171]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c: scope_hint: In function ‘needs_explicit_setting’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c:217:11: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c:210:20: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c: scope_hint: In function ‘needs_explicit_setting’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-builder-tool.c:21: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 215| {
# 216| if (strcmp (class_name, props[k].class) == 0 &&
# 217|-> strcmp (canonical_name, props[k].property) == 0 &&
# 218| data->packing == props[k].packing)
# 219| {
Error: CPPCHECK_WARNING: [#def172]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-launch.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def173]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-launch.c: scope_hint: In function ‘main’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-launch.c:129: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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-launch.c:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-launch.c:125:14: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-launch.c: scope_hint: In function ‘main’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-launch.c:126:7: note: in expansion of macro ‘g_str_has_suffix’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-launch.c:128:27: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-launch.c: scope_hint: In function ‘main’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 127| {
# 128| desktop_file_name = g_strdup (app_name);
# 129|-> bus_name[strlen (bus_name) - strlen(".desktop")] = '\0';
# 130| }
# 131| else
Error: CPPCHECK_WARNING: [#def174]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk-query-settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def175]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaboutdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def176]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelgroup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def177]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelgroup.c:589: warning[uninitvar]: Uninitialized variables: &key.closure, &key.accel_path_quark
# 587| key.key.accel_key = accel_key;
# 588| key.key.accel_mods = accel_mods;
# 589|-> entry = bsearch (&key, accel_group->priv->priv_accels, accel_group->priv->n_accels,
# 590| sizeof (accel_group->priv->priv_accels[0]), bsearch_compare_accels);
# 591|
Error: CPPCHECK_WARNING: [#def178]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccellabel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def179]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelmap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def180]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelmap.c: scope_hint: In function ‘internal_change_entry’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelmap.c:325:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelgroup.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelmap.h:26: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelmapprivate.h:22: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelmap.c:20: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition 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: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccelmap.c:501:3: note: in expansion of macro ‘g_return_val_if_fail’
# 323| gtk_accel_map_add_entry (accel_path, 0, 0);
# 324| entry = accel_path_lookup (accel_path);
# 325|-> entry->accel_key = accel_key;
# 326| entry->accel_mods = accel_mods;
# 327| entry->changed = TRUE;
Error: CPPCHECK_WARNING: [#def181]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkactionhelper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def182]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkactionmuxer.c:350: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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkactionmuxer.h:23: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkactionmuxer.c:22: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkactionmuxer.c:915:79: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkactionmuxer.c:915:49: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkactionmuxer.c: scope_hint: In function ‘gtk_action_muxer_primary_accel_changed’
/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
# 348|
# 349| if (!action_name)
# 350|-> action_name = strrchr (action_and_target, '|') + 1;
# 351|
# 352| action = g_hash_table_lookup (muxer->observed_actions, action_name);
Error: CPPCHECK_WARNING: [#def183]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkallocatedbitmask.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def184]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkappchooserbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def185]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkappchooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def186]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkapplication-dbus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def187]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkapplicationaccels.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def188]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkapplicationaccels.c:98:3: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 96|
# 97| new = g_new (const gchar *, n + 1 + 1);
# 98|-> memcpy (new, old, n * sizeof (const gchar *));
# 99| new[n] = action_and_target;
# 100| new[n + 1] = NULL;
Error: CPPCHECK_WARNING: [#def189]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkapplicationwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def190]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaspectframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def191]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkassistant.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def192]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def193]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbbox.c:634:10: warning[deadcode.DeadStores]: Although the value stored to 'children' is used in the enclosing expression, the value is never actually read from 'children'
# 632| nchildren = 0;
# 633| nsecondaries = 0;
# 634|-> list = children = _gtk_box_get_children (GTK_BOX (bbox));
# 635| needed_width = child_min_width;
# 636| needed_height = child_min_height;
Error: CLANG_WARNING: [#def194]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbbox.c:758:24: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 756| for (i = 0; i < nchildren; i++)
# 757| {
# 758|-> if ((*widths)[i] == -1)
# 759| (*widths)[i] = needed_width;
# 760| if ((*heights)[i] == -1)
Error: CPPCHECK_WARNING: [#def195]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbindings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def196]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbindings.c:824:3: warning[deadcode.DeadStores]: Value stored to 'entry' is never read
# 822| binding_entry_destroy (entry);
# 823|
# 824|-> entry = binding_entry_new (binding_set, keyval, modifiers);
# 825| }
# 826|
Error: CLANG_WARNING: [#def197]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/bitmask.c:22: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbitmaskprivate.h:64: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbitmaskprivateimpl.h:132:58: warning[core.BitwiseShift]: Left shift by '4294967295' overflows the capacity of 'gsize'
# 130| else
# 131| {
# 132|-> gsize invert = (((gsize) 1) << end) - (((gsize) 1) << start);
# 133|
# 134| return _gtk_bitmask_from_bits (_gtk_bitmask_to_bits (mask) ^ invert);
Error: CLANG_WARNING: [#def198]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbitmaskprivateimpl.h:132:58: warning[core.BitwiseShift]: Left shift overflows the capacity of 'gsize'
# 130| else
# 131| {
# 132|-> gsize invert = (((gsize) 1) << end) - (((gsize) 1) << start);
# 133|
# 134| return _gtk_bitmask_from_bits (_gtk_bitmask_to_bits (mask) ^ invert);
Error: CPPCHECK_WARNING: [#def199]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbookmarksmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def200]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def201]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbox.c:1020:40: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1018| child_allocation_width = MAX (1, child_size - child->padding * 2);
# 1019| else
# 1020|-> child_allocation_width = sizes[packing][i].minimum_size;
# 1021|
# 1022| child_minimum_baseline = -1;
Error: CPPCHECK_WARNING: [#def202]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkboxgadget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def203]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkboxgadget.c:189:37: warning[core.DivideZero]: Division by zero
# 187| continue;
# 188|
# 189|-> sizes[i].minimum_size += size / n_expand;
# 190| /* distribute all pixels, even if there's a remainder */
# 191| size -= size / n_expand;
Error: CLANG_WARNING: [#def204]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkboxgadget.c:432:34: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 430| guint idx = priv->allocate_reverse ? priv->children->len - 1 - i : i;
# 431| GtkBoxGadgetChild *child = &g_array_index (priv->children, GtkBoxGadgetChild, idx);
# 432|-> child_allocation.width = sizes[idx].minimum_size;
# 433| child_allocation.height = allocation->height;
# 434| child_allocation.y = allocation->y;
Error: CLANG_WARNING: [#def205]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkboxgadget.c:466:35: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 464| guint idx = priv->allocate_reverse ? priv->children->len - 1 - i : i;
# 465| GtkBoxGadgetChild *child = &g_array_index (priv->children, GtkBoxGadgetChild, idx);
# 466|-> child_allocation.height = sizes[idx].minimum_size;
# 467| child_allocation.width = allocation->width;
# 468| child_allocation.x = allocation->x;
Error: CPPCHECK_WARNING: [#def206]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilder-menus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def207]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def208]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def209]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c: scope_hint: In function ‘free_child_info’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c:528:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c:1122:31: note: in expansion of macro ‘state_pop_info’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c:1122:31: note: in expansion of macro ‘state_pop_info’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c:1122:31: note: in expansion of macro ‘state_pop_info’
# 526| free_child_info (ChildInfo *info)
# 527| {
# 528|-> g_free (info->type);
# 529| g_free (info->internal_child);
# 530| g_slice_free (ChildInfo, info);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def210]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c: scope_hint: In function ‘end_element’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c:1028:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c:1022:32: note: in expansion of macro ‘state_pop_info’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c:1022:32: note: in expansion of macro ‘state_pop_info’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuilderparser.c:1022:32: note: in expansion of macro ‘state_pop_info’
# 1026| * to check thier library versions here.
# 1027| */
# 1028|-> if (!strcmp (req_info->library, "gtk+"))
# 1029| {
# 1030| if (!GTK_CHECK_VERSION (req_info->major, req_info->minor, 0))
Error: CLANG_WARNING: [#def211]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbuiltinicon.c:125:25: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'minimum_baseline')
# 123|
# 124| if (natural_baseline)
# 125|-> *natural_baseline = *minimum_baseline;
# 126| }
# 127|
Error: CPPCHECK_WARNING: [#def212]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def213]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcalendar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-134): [#def214]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcalendar.c: scope_hint: In function ‘gtk_calendar_init’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcalendar.c:742:13: warning[-Wformat-nonliteral]: format not a string literal, format string not checked
# 742 | strftime (buffer, sizeof (buffer), month_format, gmtime (&tmp_time));
# | ^~~~~~~~
# 740| buffer[0] = '\0';
# 741| month_format = "%OB";
# 742|-> strftime (buffer, sizeof (buffer), month_format, gmtime (&tmp_time));
# 743| /* "%OB" is not supported in Linux with glibc < 2.27 */
# 744| if (!strcmp (buffer, "%OB") || !strcmp (buffer, "OB") || !strcmp (buffer, ""))
Error: COMPILER_WARNING (CWE-134): [#def215]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcalendar.c:747:17: warning[-Wformat-nonliteral]: format not a string literal, format string not checked
# 747 | strftime (buffer, sizeof (buffer), month_format, gmtime (&tmp_time));
# | ^~~~~~~~
# 745| {
# 746| month_format = "%B";
# 747|-> strftime (buffer, sizeof (buffer), month_format, gmtime (&tmp_time));
# 748| }
# 749| }
Error: COMPILER_WARNING (CWE-134): [#def216]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcalendar.c:751:11: warning[-Wformat-nonliteral]: format not a string literal, format string not checked
# 751 | strftime (buffer, sizeof (buffer), month_format, gmtime (&tmp_time));
# | ^~~~~~~~
# 749| }
# 750| else
# 751|-> strftime (buffer, sizeof (buffer), month_format, gmtime (&tmp_time));
# 752|
# 753| default_monthname[i] = g_locale_to_utf8 (buffer, -1, NULL, NULL, NULL);
Error: CLANG_WARNING: [#def217]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellarea.c:3066:5: warning[deadcode.DeadStores]: Value stored to 'siblings' is never read
# 3064|
# 3065| if (siblings)
# 3066|-> siblings = g_list_append (siblings, sibling);
# 3067| else
# 3068| {
Error: CPPCHECK_WARNING: [#def218]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareabox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def219]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareabox.c:771:11: warning[core.NullDereference]: Access to field 'expand' results in a dereference of a null pointer (loaded from variable 'info')
# 769| AllocatedCell *cell;
# 770|
# 771|-> if (info->expand)
# 772| {
# 773| sizes[i].minimum_size += extra_size;
Error: CLANG_WARNING: [#def220]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareabox.c:914:8: warning[deadcode.DeadStores]: Value stored to 'position' is never read
# 912| {
# 913| avail_size = group_allocs[i].size;
# 914|-> position = cell_position = group_allocs[i].position;
# 915| }
# 916| else
Error: CLANG_WARNING: [#def221]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareabox.c:962:15: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 960| for (j = 0; j < visible_cells; j++)
# 961| {
# 962|-> CellInfo *info = sizes[j].data;
# 963| AllocatedCell *cell;
# 964|
Error: CLANG_WARNING: [#def222]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareabox.c:1603:21: warning[unix.Malloc]: Use of memory allocated with size zero
# 1601| continue;
# 1602|
# 1603|-> sizes[i].data = info;
# 1604|
# 1605| gtk_cell_area_request_renderer (area, info->renderer,
Error: CLANG_WARNING: [#def223]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareabox.c:1650:20: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1648| avail_size -= (n_sizes - 1) * priv->spacing;
# 1649| for (i = 0; i < n_sizes; i++)
# 1650|-> avail_size -= orientation_sizes[i].minimum_size;
# 1651|
# 1652| if (avail_size > 0)
Error: CPPCHECK_WARNING: [#def224]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareaboxcontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def225]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareaboxcontext.c:693:3: warning[deadcode.DeadStores]: Value stored to 'priv' is never read
# 691| last_aligned_group_idx = i >= 0 ? i : 0;
# 692|
# 693|-> priv = box_context->priv;
# 694| array = get_array (box_context, orientation, for_size);
# 695|
Error: CLANG_WARNING: [#def226]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareaboxcontext.c:716:36: warning[unix.Malloc]: Use of memory allocated with size zero
# 714| _gtk_cell_area_box_group_visible (area, i)))
# 715| {
# 716|-> requests[j].data = GINT_TO_POINTER (i);
# 717| requests[j].minimum_size = size->min_size;
# 718| requests[j].natural_size = size->nat_size;
Error: CLANG_WARNING: [#def227]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellareaboxcontext.c:752:16: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 750| avail_size -= (n_groups - 1) * spacing;
# 751| for (i = 0; i < n_groups; i++)
# 752|-> avail_size -= sizes[i].minimum_size;
# 753|
# 754| if (avail_size > 0)
Error: CPPCHECK_WARNING: [#def228]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrenderer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def229]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrendereraccel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def230]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrenderercombo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def231]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrendererpixbuf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def232]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrendererprogress.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def233]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrendererspinner.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def234]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrendererspinner.c:362:3: warning[deadcode.DeadStores]: Value stored to 'state' is never read
# 360| return;
# 361|
# 362|-> state = GTK_STATE_NORMAL;
# 363| if ((gtk_widget_get_state_flags (widget) & GTK_STATE_FLAG_INSENSITIVE) ||
# 364| !gtk_cell_renderer_get_sensitive (cellr))
Error: CPPCHECK_WARNING: [#def235]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrenderertext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def236]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrenderertoggle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def237]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellrenderertoggle.c:426:3: warning[deadcode.DeadStores]: Value stored to 'context' is never read
# 424| GtkBorder padding, border;
# 425|
# 426|-> context = gtk_widget_get_style_context (widget);
# 427| gtk_cell_renderer_toggle_get_size (cell, widget, cell_area,
# 428| &x_offset, &y_offset,
Error: CPPCHECK_WARNING: [#def238]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcellview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def239]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c: scope_hint: In function ‘selection_received’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:960:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 958| set_request_contents_info (widget, NULL);
# 959|
# 960|-> request_info->callback (gtk_widget_get_clipboard (widget, gtk_selection_data_get_selection (selection_data)),
# 961| selection_data,
# 962| request_info->user_data);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def241]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c: scope_hint: In function ‘gtk_clipboard_wait_for_rich_text’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1563:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘results.format’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.h:27: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1542: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1543: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbuffer.h:71:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbuffer.h:71:77: note: in expansion of macro ‘GTK_TYPE_TEXT_BUFFER’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1543:25: note: in expansion of macro ‘GTK_IS_TEXT_BUFFER’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1543: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbuffer.h:71:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1543:25: note: in expansion of macro ‘GTK_IS_TEXT_BUFFER’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1543: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbuffer.h:71:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1543:25: note: in expansion of macro ‘GTK_IS_TEXT_BUFFER’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1544: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1545: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1545: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:651:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1164: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1165:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbuffer.h:71:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbuffer.h:71:77: note: in expansion of macro ‘GTK_TYPE_TEXT_BUFFER’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1165:21: note: in expansion of macro ‘GTK_IS_TEXT_BUFFER’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1165:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbuffer.h:71:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1165:21: note: in expansion of macro ‘GTK_IS_TEXT_BUFFER’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkclipboard.c:1165:3: note: in expansion of macro ‘g_return_if_fail’
# 1561| g_main_loop_unref (results.loop);
# 1562|
# 1563|-> *format = results.format;
# 1564| *length = results.length;
# 1565|
Error: CPPCHECK_WARNING: [#def242]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcolorchooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def243]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcolorutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def244]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcombobox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def245]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcomboboxtext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def246]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcomposetable.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def247]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcomposetable.c:753: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 751| g_string_append_c (char_data, 0);
# 752|
# 753|-> codepoint = char_data->len | (1 << 31);
# 754|
# 755| g_string_append (char_data, compose_data->value);
Error: CPPCHECK_WARNING (CWE-758): [#def248]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcomposetable.c:760: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 758| {
# 759| codepoint = g_utf8_get_char (compose_data->value);
# 760|-> g_assert ((codepoint & (1 << 31)) == 0);
# 761| }
# 762|
Error: CPPCHECK_WARNING (CWE-758): [#def249]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcomposetable.c:964: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 962|
# 963| value = (seq[table->max_seq_len] << 16) | seq[table->max_seq_len + 1];
# 964|-> if ((value & (1 << 31)) != 0)
# 965| g_string_append (output, &table->char_data[value & ~(1 << 31)]);
# 966| else
Error: CPPCHECK_WARNING (CWE-758): [#def250]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcomposetable.c:965: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 963| value = (seq[table->max_seq_len] << 16) | seq[table->max_seq_len + 1];
# 964| if ((value & (1 << 31)) != 0)
# 965|-> g_string_append (output, &table->char_data[value & ~(1 << 31)]);
# 966| else
# 967| g_string_append_unichar (output, value);
Error: CPPCHECK_WARNING: [#def251]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssanimatedstyle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def252]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssbordervalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def253]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsscolorvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
/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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsstypesprivate.h:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssparserprivate.h:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsscolorvalueprivate.h:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsscolorvalue.c:20: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsscolorvalue.c: scope_hint: In function ‘_gtk_css_color_value_new_mix’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsscolorvalue.c:532:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘color2’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprivate.h:49:56: note: in expansion of macro ‘g_return_val_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsscolorvalue.c:532:3: note: in expansion of macro ‘gtk_internal_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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprivate.h:49:56: note: in expansion of macro ‘g_return_val_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsscolorvalue.c:531:3: note: in expansion of macro ‘gtk_internal_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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprivate.h:49:56: note: in expansion of macro ‘g_return_val_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsscolorvalue.c:532:3: note: in expansion of macro ‘gtk_internal_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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprivate.h:49:56: note: in expansion of macro ‘g_return_val_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsscolorvalue.c:532:3: note: in expansion of macro ‘gtk_internal_return_val_if_fail’
# 530|
# 531| gtk_internal_return_val_if_fail (color1->class == >K_CSS_VALUE_COLOR, NULL);
# 532|-> gtk_internal_return_val_if_fail (color2->class == >K_CSS_VALUE_COLOR, NULL);
# 533|
# 534| value = _gtk_css_value_new (GtkCssValue, >K_CSS_VALUE_COLOR);
Error: CPPCHECK_WARNING: [#def255]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssenumvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def256]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssgadget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def257]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssimage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def258]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssimagebuiltin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def259]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssimagegradient.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def260]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssimagelinear.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def261]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssimageradial.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def262]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssimagewin32.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def263]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsskeyframes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def264]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsslookup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def265]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssnode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def266]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssnodedeclaration.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def267]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssparser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def268]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsspositionvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def269]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssprovider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def270]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssprovider.c:1844:7: warning[deadcode.DeadStores]: Value stored to 'length' is never read
# 1842| if (length < 0)
# 1843| {
# 1844|-> length = strlen (data);
# 1845| free_data = NULL;
# 1846| }
Error: CPPCHECK_WARNING: [#def271]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def272]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c:123:14: warning[core.UndefinedBinaryOperatorResult]: The right operand of '==' is a garbage value
# 121| {
# 122| return
# 123|-> a->class == b->class &&
# 124| a->class->compare_one (a, b) == 0;
# 125| }
Error: CLANG_WARNING: [#def273]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c:197:16: warning[core.UndefinedBinaryOperatorResult]: The right operand of '!=' is a garbage value
# 195| gtk_css_selector_compare_one (const GtkCssSelector *a, const GtkCssSelector *b)
# 196| {
# 197|-> if (a->class != b->class)
# 198| return strcmp (a->class->name, b->class->name);
# 199| else
Error: GCC_ANALYZER_WARNING (CWE-457): [#def274]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selector_compare_one’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c:197:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*b.class’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selector_compare_one’
# 195| gtk_css_selector_compare_one (const GtkCssSelector *a, const GtkCssSelector *b)
# 196| {
# 197|-> if (a->class != b->class)
# 198| return strcmp (a->class->name, b->class->name);
# 199| else
Error: GCC_ANALYZER_WARNING (CWE-465): [#def275]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_count_initial’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c:1460:17: warning[-Wanalyzer-deref-before-check]: check of ‘selector’ for NULL after already dereferencing it
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_count_initial’
# 1458|
# 1459| for (;
# 1460|-> selector && selector->class->is_simple;
# 1461| selector = gtk_css_selector_previous (selector))
# 1462| {
Error: GCC_ANALYZER_WARNING (CWE-465): [#def276]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_has_initial_selector’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c:1475:17: warning[-Wanalyzer-deref-before-check]: check of ‘selector’ for NULL after already dereferencing it
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c: scope_hint: In function ‘gtk_css_selectors_has_initial_selector’
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/lib64/glib-2.0/include/glibconfig.h:103:51: note: in definition of macro ‘GPOINTER_TO_INT’
# 1473|
# 1474| for (;
# 1475|-> selector && selector->class->is_simple;
# 1476| selector = gtk_css_selector_previous (selector))
# 1477| {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def277]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c: scope_hint: In function ‘subdivide_infos’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c:1788:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘max_selector’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssselector.c: scope_hint: In function ‘subdivide_infos’
# 1786| tree = alloc_tree (array, &tree_offset);
# 1787| tree->parent_offset = parent_offset;
# 1788|-> tree->selector = max_selector;
# 1789|
# 1790| exact_matches = NULL;
Error: CPPCHECK_WARNING: [#def278]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssshadowsvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def279]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssshadowvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def280]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssshorthandproperty.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def281]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssshorthandpropertyimpl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def282]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssstyle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def283]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcssstylepropertyimpl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def284]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcsstransformvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def285]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def286]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkdnd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def287]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkdragdest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def288]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkemojichooser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def289]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkemojicompletion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def290]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkemojicompletion.c:214:30: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'children')
# 212| {
# 213| if (direction == 1)
# 214|-> completion->active = children->data;
# 215| else
# 216| completion->active = last->data;
Error: CLANG_WARNING: [#def291]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkemojicompletion.c:216:30: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'last')
# 214| completion->active = children->data;
# 215| else
# 216|-> completion->active = last->data;
# 217| }
# 218|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def292]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkemojicompletion.c: scope_hint: In function ‘move_active_row’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkemojicompletion.c:216:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last’
# 214| completion->active = children->data;
# 215| else
# 216|-> completion->active = last->data;
# 217| }
# 218|
Error: CLANG_WARNING: [#def293]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkemojicompletion.c:307:12: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'children')
# 305| next = base;
# 306| else if (completion->active_variation == base && direction == 1)
# 307|-> next = children->data;
# 308| else if (completion->active_variation == children->data && direction == -1)
# 309| next = base;
Error: CLANG_WARNING: [#def294]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkemojicompletion.c:308:44: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'children')
# 306| else if (completion->active_variation == base && direction == 1)
# 307| next = children->data;
# 308|-> else if (completion->active_variation == children->data && direction == -1)
# 309| next = base;
# 310| else if (direction == 1)
Error: CLANG_WARNING: [#def295]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkemojicompletion.c:597:22: warning[unix.Malloc]: Use of memory after it is freed
# 595|
# 596| g_free (completion->text);
# 597|-> completion->text = g_strdup (text);
# 598| completion->length = g_utf8_strlen (text, -1);
# 599| completion->offset = offset;
Error: CPPCHECK_WARNING: [#def296]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkentry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def297]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkentrybuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def298]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkentrycompletion.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def299]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkentrycompletion.c:1877:30: warning[deadcode.DeadStores]: Value stored to 'priv' during its initialization is never read
# 1875| const gchar *text)
# 1876| {
# 1877|-> GtkEntryCompletionPrivate *priv = completion->priv;
# 1878| gint len;
# 1879|
Error: CPPCHECK_WARNING: [#def300]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkeventbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def301]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkeventcontrollerkey.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def302]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkeventcontrollerscroll.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def303]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkexpander.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def304]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfilechooserbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def305]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfilechooserentry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def306]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfilechoosernativeportal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def307]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfilechooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def308]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfilefilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def309]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfilesystem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def310]
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcontainer.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:76: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c: scope_hint: In function ‘gtk_fixed_move_internal’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:260:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘child’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:260:3: note: in expansion of macro ‘g_return_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c: scope_hint: In function ‘gtk_fixed_move_internal’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:259:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.h:41:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:259:21: note: in expansion of macro ‘GTK_IS_FIXED’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:259:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.h:41:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:259:21: note: in expansion of macro ‘GTK_IS_FIXED’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:260:3: note: in expansion of macro ‘g_return_if_fail’
# 258| {
# 259| g_return_if_fail (GTK_IS_FIXED (fixed));
# 260|-> g_return_if_fail (gtk_widget_get_parent (child->widget) == GTK_WIDGET (fixed));
# 261|
# 262| gtk_widget_freeze_child_notify (child->widget);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def311]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c: scope_hint: In function ‘gtk_fixed_set_child_property’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:316:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c: scope_hint: In function ‘gtk_fixed_set_child_property’
# 314| {
# 315| case CHILD_PROP_X:
# 316|-> gtk_fixed_move_internal (fixed,
# 317| fixed_child,
# 318| g_value_get_int (value),
Error: GCC_ANALYZER_WARNING (CWE-476): [#def312]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:322:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c: scope_hint: In function ‘gtk_fixed_set_child_property’
# 320| break;
# 321| case CHILD_PROP_Y:
# 322|-> gtk_fixed_move_internal (fixed,
# 323| fixed_child,
# 324| fixed_child->x,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def313]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c: scope_hint: In function ‘gtk_fixed_get_child_property’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:347:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c: scope_hint: In function ‘gtk_fixed_get_child_property’
# 345| {
# 346| case CHILD_PROP_X:
# 347|-> g_value_set_int (value, fixed_child->x);
# 348| break;
# 349| case CHILD_PROP_Y:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def314]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c:350:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfixed.c: scope_hint: In function ‘gtk_fixed_get_child_property’
# 348| break;
# 349| case CHILD_PROP_Y:
# 350|-> g_value_set_int (value, fixed_child->y);
# 351| break;
# 352| default:
Error: CPPCHECK_WARNING: [#def315]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkflowbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def316]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_above_focusable’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkflowbox.c:1243:13: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1241| {
# 1242| i = 0;
# 1243|-> while (i < BOX_PRIV (box)->cur_children_per_line)
# 1244| {
# 1245| if (g_sequence_iter_is_begin (iter))
Error: GCC_ANALYZER_WARNING (CWE-835): [#def317]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkflowbox.c: scope_hint: In function ‘gtk_flow_box_get_below_focusable’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkflowbox.c:1269:13: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1267| {
# 1268| i = 0;
# 1269|-> while (i < BOX_PRIV (box)->cur_children_per_line)
# 1270| {
# 1271| iter = g_sequence_iter_next (iter);
Error: CLANG_WARNING: [#def318]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkflowbox.c:2643:7: warning[deadcode.DeadStores]: Value stored to 'context' is never read
# 2641| gboolean vertical;
# 2642|
# 2643|-> context = gtk_widget_get_style_context (GTK_WIDGET (box));
# 2644|
# 2645| vertical = priv->orientation == GTK_ORIENTATION_VERTICAL;
Error: COMPILER_WARNING (CWE-1023): [#def319]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontbutton.c:1253:7: warning[-Wswitch]: enumeration value ‘PANGO_VARIANT_ALL_PETITE_CAPS’ not handled in switch
# 1251| if (set & PANGO_FONT_MASK_VARIANT)
# 1252| {
# 1253|-> switch (pango_font_description_get_variant (desc))
# 1254| {
# 1255| case PANGO_VARIANT_NORMAL:
Error: COMPILER_WARNING (CWE-1023): [#def320]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontbutton.c: scope_hint: In function ‘pango_font_description_to_css’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontbutton.c:1253:7: warning[-Wswitch]: enumeration value ‘PANGO_VARIANT_ALL_SMALL_CAPS’ not handled in switch
# 1253 | switch (pango_font_description_get_variant (desc))
# | ^~~~~~
# 1251| if (set & PANGO_FONT_MASK_VARIANT)
# 1252| {
# 1253|-> switch (pango_font_description_get_variant (desc))
# 1254| {
# 1255| case PANGO_VARIANT_NORMAL:
Error: COMPILER_WARNING (CWE-1023): [#def321]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontbutton.c:1253:7: warning[-Wswitch]: enumeration value ‘PANGO_VARIANT_PETITE_CAPS’ not handled in switch
# 1251| if (set & PANGO_FONT_MASK_VARIANT)
# 1252| {
# 1253|-> switch (pango_font_description_get_variant (desc))
# 1254| {
# 1255| case PANGO_VARIANT_NORMAL:
Error: COMPILER_WARNING (CWE-1023): [#def322]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontbutton.c:1253:7: warning[-Wswitch]: enumeration value ‘PANGO_VARIANT_TITLE_CAPS’ not handled in switch
# 1251| if (set & PANGO_FONT_MASK_VARIANT)
# 1252| {
# 1253|-> switch (pango_font_description_get_variant (desc))
# 1254| {
# 1255| case PANGO_VARIANT_NORMAL:
Error: COMPILER_WARNING (CWE-1023): [#def323]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontbutton.c:1253:7: warning[-Wswitch]: enumeration value ‘PANGO_VARIANT_UNICASE’ not handled in switch
# 1251| if (set & PANGO_FONT_MASK_VARIANT)
# 1252| {
# 1253|-> switch (pango_font_description_get_variant (desc))
# 1254| {
# 1255| case PANGO_VARIANT_NORMAL:
Error: CPPCHECK_WARNING: [#def324]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontchooserwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-1164): [#def325]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontchooserwidget.c:1676:8: warning[-Wignored-qualifiers]: type qualifiers ignored on function return type
# 1676 | static const float
# | ^~~~~
# 1674| #define get_float_value(x) x
# 1675|
# 1676|-> static const float
# 1677| get_axis_float_max (hb_ot_var_axis_info_t *ax)
# 1678| {
Error: COMPILER_WARNING (CWE-1164): [#def326]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontchooserwidget.c:1682:8: warning[-Wignored-qualifiers]: type qualifiers ignored on function return type
# 1682 | static const float
# | ^~~~~
# 1680| }
# 1681|
# 1682|-> static const float
# 1683| get_axis_float_min (hb_ot_var_axis_info_t *ax)
# 1684| {
Error: COMPILER_WARNING (CWE-1164): [#def327]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontchooserwidget.c:1688:8: warning[-Wignored-qualifiers]: type qualifiers ignored on function return type
# 1688 | static const float
# | ^~~~~
# 1686| }
# 1687|
# 1688|-> static const float
# 1689| get_axis_float_default (hb_ot_var_axis_info_t *ax)
# 1690| {
Error: COMPILER_WARNING (CWE-681): [#def328]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontchooserwidget.c: scope_hint: In function ‘gtk_font_chooser_widget_update_font_variations’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontchooserwidget.c:1859:41: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘hb_ot_var_get_axis_infos’ differ in signedness
# 1859 | hb_ot_var_get_axis_infos (hb_face, 0, &num_axes, axes);
# | ^~~~~~~~~
# | |
# | int *
/usr/include/harfbuzz/hb-ot.h:42: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontchooserwidget.c:75: included_from: Included from here.
/usr/include/harfbuzz/hb-ot-var.h:140:50: note: expected ‘unsigned int *’ but argument is of type ‘int *’
# 140 | unsigned int *axes_count /* IN/OUT */,
# | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
# 1857| num_axes = hb_ot_var_get_axis_count (hb_face);
# 1858| axes = g_new0 (hb_ot_var_axis_info_t, num_axes);
# 1859|-> hb_ot_var_get_axis_infos (hb_face, 0, &num_axes, axes);
# 1860|
# 1861| for (i = 0; i < num_axes; i ++)
Error: COMPILER_WARNING: [#def329]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontchooserwidget.c: scope_hint: In function ‘gtk_font_chooser_widget_update_font_features’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkfontchooserwidget.c:2476:5: warning[-Wundef]: "FONT_FEATURES_USE_PANGOFT2" is not defined, evaluates to 0
# 2476 | #if FONT_FEATURES_USE_PANGOFT2
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 2474| }
# 2475|
# 2476|-> #if FONT_FEATURES_USE_PANGOFT2
# 2477| if (PANGO_IS_FC_FONT (pango_font))
# 2478| pango_fc_font_unlock_face (PANGO_FC_FONT (pango_font));
Error: CPPCHECK_WARNING: [#def330]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def331]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def332]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c: scope_hint: In function ‘gtk_gesture_get_bounding_box_center’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:177:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1477:7: note: in expansion of macro ‘EVENT_IS_TOUCHPAD_GESTURE’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkeventcontroller.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.h:27: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:119: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1471: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.h:35:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1471:25: note: in expansion of macro ‘GTK_IS_GESTURE’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1471: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.h:35:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1471:25: note: in expansion of macro ‘GTK_IS_GESTURE’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1472: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1277: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.h:35:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1277:25: note: in expansion of macro ‘GTK_IS_GESTURE’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1277: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.h:35:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1277:25: note: in expansion of macro ‘GTK_IS_GESTURE’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1304: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.h:35:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1304:25: note: in expansion of macro ‘GTK_IS_GESTURE’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1304: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.h:35:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1304:25: note: in expansion of macro ‘GTK_IS_GESTURE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesture.c:1477:7: note: in expansion of macro ‘EVENT_IS_TOUCHPAD_GESTURE’
# 175| #define BUTTONS_MASK (GDK_BUTTON1_MASK | GDK_BUTTON2_MASK | GDK_BUTTON3_MASK)
# 176|
# 177|-> #define EVENT_IS_TOUCHPAD_GESTURE(e) ((e)->type == GDK_TOUCHPAD_SWIPE || \
# 178| (e)->type == GDK_TOUCHPAD_PINCH)
# 179|
Error: CPPCHECK_WARNING: [#def333]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgesturesingle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def334]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkgrid.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def335]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkheaderbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def336]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkhsla.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def337]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkiconcache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def338]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkiconcachevalidator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def339]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkicontheme.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def340]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkicontheme.c: scope_hint: In function ‘gtk_icon_info_load_symbolic_svg’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkicontheme.c:4500:8: warning[-Wunused-but-set-variable]: variable ‘symbolic_size’ set but not used
# 4500 | gint symbolic_size;
# | ^~~~~~~~~~~~~
# 4498| gchar *file_data, *escaped_file_data;
# 4499| gsize file_len;
# 4500|-> gint symbolic_size;
# 4501| double alpha;
# 4502| gchar alphastr[G_ASCII_DTOSTR_BUF_SIZE];
Error: CPPCHECK_WARNING: [#def341]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkiconview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def342]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimcontextsimple.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def343]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def344]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c: scope_hint: In function ‘gtk_im_module_initialize’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c:353:17: warning[-Wnested-externs]: nested extern declaration of ‘_gtk_immodule_wayland_list’
# 353 | extern void _gtk_immodule_ ## m ## _list (const GtkIMContextInfo ***contexts, \
# | ^~~~~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c:407:3: note: in expansion of macro ‘do_builtin’
# 407 | do_builtin (wayland);
# | ^~~~~~~~~~
# 351| const GtkIMContextInfo **contexts; \
# 352| int n_contexts; \
# 353|-> extern void _gtk_immodule_ ## m ## _list (const GtkIMContextInfo ***contexts, \
# 354| int *n_contexts); \
# 355| extern void _gtk_immodule_ ## m ## _init (GTypeModule *module); \
Error: COMPILER_WARNING: [#def345]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c:355:17: warning[-Wnested-externs]: nested extern declaration of ‘_gtk_immodule_wayland_init’
# 355 | extern void _gtk_immodule_ ## m ## _init (GTypeModule *module); \
# | ^~~~~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c:407:3: note: in expansion of macro ‘do_builtin’
# 407 | do_builtin (wayland);
# | ^~~~~~~~~~
# 353| extern void _gtk_immodule_ ## m ## _list (const GtkIMContextInfo ***contexts, \
# 354| int *n_contexts); \
# 355|-> extern void _gtk_immodule_ ## m ## _init (GTypeModule *module); \
# 356| extern void _gtk_immodule_ ## m ## _exit (void); \
# 357| extern GtkIMContext *_gtk_immodule_ ## m ## _create (const gchar *context_id); \
Error: COMPILER_WARNING: [#def346]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c:356:17: warning[-Wnested-externs]: nested extern declaration of ‘_gtk_immodule_wayland_exit’
# 356 | extern void _gtk_immodule_ ## m ## _exit (void); \
# | ^~~~~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c:407:3: note: in expansion of macro ‘do_builtin’
# 407 | do_builtin (wayland);
# | ^~~~~~~~~~
# 354| int *n_contexts); \
# 355| extern void _gtk_immodule_ ## m ## _init (GTypeModule *module); \
# 356|-> extern void _gtk_immodule_ ## m ## _exit (void); \
# 357| extern GtkIMContext *_gtk_immodule_ ## m ## _create (const gchar *context_id); \
# 358| \
Error: COMPILER_WARNING: [#def347]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c:357:26: warning[-Wnested-externs]: nested extern declaration of ‘_gtk_immodule_wayland_create’
# 357 | extern GtkIMContext *_gtk_immodule_ ## m ## _create (const gchar *context_id); \
# | ^~~~~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c:407:3: note: in expansion of macro ‘do_builtin’
# 407 | do_builtin (wayland);
# | ^~~~~~~~~~
# 355| extern void _gtk_immodule_ ## m ## _init (GTypeModule *module); \
# 356| extern void _gtk_immodule_ ## m ## _exit (void); \
# 357|-> extern GtkIMContext *_gtk_immodule_ ## m ## _create (const gchar *context_id); \
# 358| \
# 359| _gtk_immodule_ ## m ## _list (&contexts, &n_contexts); \
Error: CLANG_WARNING: [#def348]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkimmodule.c:499:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'info'
# 497|
# 498| context_error:
# 499|-> g_warning ("Error parsing context info in '%s'\n %s", filename, line_buf->str);
# 500| have_error = TRUE;
# 501| }
Error: CPPCHECK_WARNING: [#def349]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkinfobar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def350]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkkeyhash.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def351]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def352]
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/deprecated/gtkmisc.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.c:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.c: scope_hint: In function ‘separate_uline_pattern’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.c:4453:28: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
/usr/include/glib-2.0/glib/gmem.h:261:32: note: in definition of macro ‘_G_NEW’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.c:4453:14: note: in expansion of macro ‘g_new’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.c:2677:19: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.c:2677:19: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.c: scope_hint: In function ‘separate_uline_pattern’
/usr/include/glib-2.0/glib/gmem.h:261:32: note: in definition of macro ‘_G_NEW’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.c:4453:14: note: in expansion of macro ‘g_new’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 4451|
# 4452| *accel_key = GDK_KEY_VoidSymbol;
# 4453|-> *new_str = g_new (gchar, strlen (str) + 1);
# 4454| *pattern = g_new (gchar, g_utf8_strlen (str, -1) + 1);
# 4455|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def353]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklayout.c: scope_hint: In function ‘gtk_layout_get_child_property’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklayout.c:824:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklayout.c: scope_hint: In function ‘gtk_layout_get_child_property’
# 822| {
# 823| case CHILD_PROP_X:
# 824|-> g_value_set_int (value, layout_child->x);
# 825| break;
# 826| case CHILD_PROP_Y:
Error: GCC_ANALYZER_WARNING (CWE-476): [#def354]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklayout.c:827:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklayout.c: scope_hint: In function ‘gtk_layout_get_child_property’
# 825| break;
# 826| case CHILD_PROP_Y:
# 827|-> g_value_set_int (value, layout_child->y);
# 828| break;
# 829| default:
Error: CPPCHECK_WARNING: [#def355]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklevelbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def356]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklistbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def357]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkliststore.c:537:29: warning[unix.Malloc]: Use of memory allocated with size zero
# 535| priv->column_headers = g_renew (GType, priv->column_headers, n_columns);
# 536| for (i = priv->n_columns; i < n_columns; i++)
# 537|-> priv->column_headers[i] = G_TYPE_INVALID;
# 538| priv->n_columns = n_columns;
# 539|
Error: CLANG_WARNING: [#def358]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkliststore.c:886:25: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'prev')
# 884| else
# 885| {
# 886|-> list = prev->next = _gtk_tree_data_list_alloc ();
# 887| list->next = NULL;
# 888| }
Error: CLANG_WARNING: [#def359]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkliststore.c:1739:7: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1737| while (!g_sequence_iter_is_end (ptr))
# 1738| {
# 1739|-> g_hash_table_insert (new_positions, ptr, GINT_TO_POINTER (order[i++]));
# 1740|
# 1741| ptr = g_sequence_iter_next (ptr);
Error: CPPCHECK_WARNING: [#def360]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklockbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def361]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmagnifier.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def362]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def363]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c:365: error[uninitvar]: Uninitialized variable: euid
# 363| /* These aren't in the header files, so we prototype them here.
# 364| */
# 365|-> int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
# 366| int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
# 367|
Error: CPPCHECK_WARNING (CWE-457): [#def364]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c:365: error[uninitvar]: Uninitialized variable: ruid
# 363| /* These aren't in the header files, so we prototype them here.
# 364| */
# 365|-> int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
# 366| int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
# 367|
Error: CPPCHECK_WARNING (CWE-457): [#def365]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c:365: error[uninitvar]: Uninitialized variable: suid
# 363| /* These aren't in the header files, so we prototype them here.
# 364| */
# 365|-> int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
# 366| int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
# 367|
Error: COMPILER_WARNING: [#def366]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c: scope_hint: In function ‘check_setugid’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c:365:7: warning[-Wnested-externs]: nested extern declaration of ‘getresuid’
# 365 | int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
# | ^~~~~~~~~
# 363| /* These aren't in the header files, so we prototype them here.
# 364| */
# 365|-> int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
# 366| int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
# 367|
Error: CPPCHECK_WARNING (CWE-457): [#def367]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c:366: error[uninitvar]: Uninitialized variable: egid
# 364| */
# 365| int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
# 366|-> int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
# 367|
# 368| if (getresuid (&ruid, &euid, &suid) != 0 ||
Error: CPPCHECK_WARNING (CWE-457): [#def368]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c:366: error[uninitvar]: Uninitialized variable: rgid
# 364| */
# 365| int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
# 366|-> int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
# 367|
# 368| if (getresuid (&ruid, &euid, &suid) != 0 ||
Error: CPPCHECK_WARNING (CWE-457): [#def369]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c:366: error[uninitvar]: Uninitialized variable: sgid
# 364| */
# 365| int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
# 366|-> int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
# 367|
# 368| if (getresuid (&ruid, &euid, &suid) != 0 ||
Error: COMPILER_WARNING: [#def370]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c:366:7: warning[-Wnested-externs]: nested extern declaration of ‘getresgid’
# 366 | int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
# | ^~~~~~~~~
# 364| */
# 365| int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
# 366|-> int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
# 367|
# 368| if (getresuid (&ruid, &euid, &suid) != 0 ||
Error: GCC_ANALYZER_WARNING (CWE-476): [#def371]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c: scope_hint: In function ‘gtk_main_do_event.part.0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmain.c:1728:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘event’
# 1726| * them specially
# 1727| */
# 1728|-> if (event->type == GDK_PROPERTY_NOTIFY)
# 1729| _gtk_selection_incr_event (event->any.window,
# 1730| &event->property);
Error: CPPCHECK_WARNING: [#def372]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-909): [#def373]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenu.c:5274: error[uninitStructMember]: Uninitialized struct member: rect.x
# 5272| if (effective)
# 5273| {
# 5274|-> double x = rect.x, y = rect.y;
# 5275|
# 5276| gdk_window_coords_to_parent (rect_window, x, y, &x, &y);
Error: CPPCHECK_WARNING (CWE-909): [#def374]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenu.c:5274: error[uninitStructMember]: Uninitialized struct member: rect.y
# 5272| if (effective)
# 5273| {
# 5274|-> double x = rect.x, y = rect.y;
# 5275|
# 5276| gdk_window_coords_to_parent (rect_window, x, y, &x, &y);
Error: CPPCHECK_WARNING: [#def375]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenubar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def376]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenubar.c:551:7: warning[deadcode.DeadStores]: Value stored to 'size' is never read
# 549| }
# 550|
# 551|-> size = gtk_distribute_natural_allocation (size,
# 552| requested_sizes->len,
# 553| (GtkRequestedSize *) requested_sizes->data);
Error: CLANG_WARNING: [#def377]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenubar.c:605:7: warning[deadcode.DeadStores]: Value stored to 'size' is never read
# 603| }
# 604|
# 605|-> size = gtk_distribute_natural_allocation (size,
# 606| requested_sizes->len,
# 607| (GtkRequestedSize *) requested_sizes->data);
Error: CPPCHECK_WARNING: [#def378]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenubutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def379]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenuitem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def380]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenushell.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def381]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenutracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def382]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenutrackeritem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def383]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmessagedialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def384]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmodelbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def385]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmodelmenuitem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def386]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmodules.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def387]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmountoperation-x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def388]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmountoperation-x11.c: scope_hint: In function ‘get_name_for_window_with_pid’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmountoperation-x11.c:859:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmountoperation-x11.c:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmountoperation-x11.c:658:15: note: in expansion of macro ‘g_str_has_prefix’
# 857| endp = NULL;
# 858| windowid_window = (Window) g_ascii_strtoll (windowid_value, &endp, 10);
# 859|-> if (endp != NULL || *endp == '\0')
# 860| {
# 861| window = windowid_window;
Error: CLANG_WARNING: [#def389]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmountoperation-x11.c:859:31: warning[core.NullDereference]: Dereference of null pointer (loaded from variable 'endp')
# 857| endp = NULL;
# 858| windowid_window = (Window) g_ascii_strtoll (windowid_value, &endp, 10);
# 859|-> if (endp != NULL || *endp == '\0')
# 860| {
# 861| window = windowid_window;
Error: CPPCHECK_WARNING: [#def390]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmountoperation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def391]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtknotebook.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def392]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtknotebook.c:5224: warning[nullPointer]: Possible null pointer dereference: list
# 5222| else
# 5223| {
# 5224|-> list = list->prev;
# 5225| }
# 5226| while (list)
Error: CPPCHECK_WARNING: [#def393]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkoverlay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def394]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpagesetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def395]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpagesetupunixdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def396]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpaned.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def397]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpango.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def398]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpango.c:721:26: warning[core.NullDereference]: Access to field 'start_index' results in a dereference of a null pointer (loaded from variable 'line')
# 719| else
# 720| {
# 721|-> line_pos = index - line->start_index;
# 722|
# 723| len = g_slist_length (lines);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def399]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpango.c: scope_hint: In function ‘_gtk_pango_move_lines’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpango.c:721:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘line’
# 719| else
# 720| {
# 721|-> line_pos = index - line->start_index;
# 722|
# 723| len = g_slist_length (lines);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def400]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpango.c:728:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
# 726| return g_utf8_strlen (text, -1) - 1;
# 727|
# 728|-> line = l->data;
# 729| pos = line->start_index + line_pos;
# 730| if (pos >= line->start_index + line->length)
Error: CLANG_WARNING: [#def401]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpango.c:728:14: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'l')
# 726| return g_utf8_strlen (text, -1) - 1;
# 727|
# 728|-> line = l->data;
# 729| pos = line->start_index + line_pos;
# 730| if (pos >= line->start_index + line->length)
Error: CPPCHECK_WARNING: [#def402]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def403]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ppd’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:367: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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.h:27: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:977:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:998:3: note: in expansion of macro ‘GET_DOUBLE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:998:3: note: in expansion of macro ‘GET_DOUBLE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:999:3: note: in expansion of macro ‘GET_DOUBLE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:999: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:334: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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:334: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:495:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:495:3: note: in expansion of macro ‘g_return_val_if_fail’
# 365| out:
# 366|
# 367|-> if (size->info == NULL ||
# 368| size->info->ppd_name == -1 ||
# 369| strcmp (paper_names + size->info->ppd_name, ppd_name) != 0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c: scope_hint: In function ‘gtk_paper_size_new_from_ipp’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:463: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:495:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpapersize.c:495:3: note: in expansion of macro ‘g_return_val_if_fail’
# 461|
# 462| size = gtk_paper_size_new_custom (ipp_name, display_name, width, height, GTK_UNIT_POINTS);
# 463|-> size->is_custom = !found;
# 464| size->is_ipp = found;
# 465|
Error: CPPCHECK_WARNING: [#def405]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def406]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:659:38: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'first_button')
# 657| */
# 658| /* Count down the path chain towards the end. */
# 659|-> gtk_widget_get_preferred_size (BUTTON_DATA (first_button->data)->button,
# 660| &child_requisition, NULL);
# 661|
Error: CLANG_WARNING: [#def407]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:784:15: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'first_button')
# 782| list = list->prev;
# 783| }
# 784|-> for (list = first_button->next; list; list = list->next)
# 785| {
# 786| child = BUTTON_DATA (list->data)->button;
Error: CLANG_WARNING: [#def408]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:988:30: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'down_button')
# 986|
# 987| gtk_widget_get_allocation (GTK_WIDGET (path_bar), &allocation);
# 988|-> gtk_widget_get_allocation (BUTTON_DATA (down_button->data)->button, &button_allocation);
# 989|
# 990| space_available = (allocation.width
Error: GCC_ANALYZER_WARNING (CWE-476): [#def409]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c: scope_hint: In function ‘gtk_path_bar_scroll_down.part.0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:988:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘down_button’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:107:40: note: in definition of macro ‘BUTTON_DATA’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:107:40: note: in definition of macro ‘BUTTON_DATA’
# 986|
# 987| gtk_widget_get_allocation (GTK_WIDGET (path_bar), &allocation);
# 988|-> gtk_widget_get_allocation (BUTTON_DATA (down_button->data)->button, &button_allocation);
# 989|
# 990| space_available = (allocation.width
Error: CLANG_WARNING: [#def410]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:1103:28: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'up_button')
# 1101| if ((!gtk_widget_is_sensitive (path_bar->priv->up_slider_button)) ||
# 1102| (!gtk_widget_get_child_visible (path_bar->priv->up_slider_button)))
# 1103|-> gtk_widget_grab_focus (BUTTON_DATA (up_button->data)->button);
# 1104|
# 1105| return FALSE;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def411]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c: scope_hint: In function ‘gtk_path_bar_slider_up_defocus.part.0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:1103:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘up_button’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:107:40: note: in definition of macro ‘BUTTON_DATA’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:107:40: note: in definition of macro ‘BUTTON_DATA’
# 1101| if ((!gtk_widget_is_sensitive (path_bar->priv->up_slider_button)) ||
# 1102| (!gtk_widget_get_child_visible (path_bar->priv->up_slider_button)))
# 1103|-> gtk_widget_grab_focus (BUTTON_DATA (up_button->data)->button);
# 1104|
# 1105| return FALSE;
Error: CLANG_WARNING: [#def412]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:1131:28: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'down_button')
# 1129| if ((!gtk_widget_is_sensitive (path_bar->priv->down_slider_button)) ||
# 1130| (!gtk_widget_get_child_visible (path_bar->priv->down_slider_button)))
# 1131|-> gtk_widget_grab_focus (BUTTON_DATA (down_button->data)->button);
# 1132|
# 1133| return FALSE;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def413]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c: scope_hint: In function ‘gtk_path_bar_slider_down_defocus.part.0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:1131:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘down_button’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:107:40: note: in definition of macro ‘BUTTON_DATA’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpathbar.c:107:40: note: in definition of macro ‘BUTTON_DATA’
# 1129| if ((!gtk_widget_is_sensitive (path_bar->priv->down_slider_button)) ||
# 1130| (!gtk_widget_get_child_visible (path_bar->priv->down_slider_button)))
# 1131|-> gtk_widget_grab_focus (BUTTON_DATA (down_button->data)->button);
# 1132|
# 1133| return FALSE;
Error: CPPCHECK_WARNING: [#def414]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkplacessidebar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def415]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkplacesview.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def416]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkplacesviewrow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def417]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkpopover.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def418]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprinter.c:1288:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'printer_list'
# 1286| gdk_threads_enter ();
# 1287| }
# 1288|-> }
# 1289|
# 1290| GType
Error: CPPCHECK_WARNING: [#def419]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprinteroptionwidget.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def420]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprintjob.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def421]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprintoperation-unix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def422]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprintoperation-unix.c:1228:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'finder'
# 1226| if (finder->backends == NULL && !finder->found_printer)
# 1227| g_idle_add (find_printer_idle, finder);
# 1228|-> }
# 1229|
# 1230|
Error: CPPCHECK_WARNING: [#def423]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprintoperation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def424]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprintunixdialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-476): [#def425]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprintunixdialog.c:3225: warning[nullPointer]: Possible null pointer dereference: enum_value
# 3223|
# 3224| g_assert (enum_value != NULL);
# 3225|-> gtk_printer_option_set (option, enum_value->value_nick);
# 3226| g_type_class_unref (enum_class);
# 3227|
Error: CPPCHECK_WARNING: [#def426]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkprogressbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def427]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkradiobutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def428]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkradiomenuitem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def429]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrange.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def430]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrange.c:3111:21: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 3109| }
# 3110|
# 3111|-> if (delta != 0 && should_invert_move (range, move_orientation))
# 3112| delta = - delta;
# 3113|
Error: CPPCHECK_WARNING: [#def431]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def432]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c:270:30: warning[core.NullDereference]: Access to field 'left' results in a dereference of a null pointer (loaded from variable 'w')
# 268| w = parent->right;
# 269| }
# 270|-> if (GTK_RBNODE_GET_COLOR (w->left) == GTK_RBNODE_BLACK && GTK_RBNODE_GET_COLOR (w->right) == GTK_RBNODE_BLACK)
# 271| {
# 272| GTK_RBNODE_SET_COLOR (w, GTK_RBNODE_RED);
Error: CLANG_WARNING: [#def433]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c:301:30: warning[core.NullDereference]: Access to field 'right' results in a dereference of a null pointer (loaded from variable 'w')
# 299| w = parent->left;
# 300| }
# 301|-> if (GTK_RBNODE_GET_COLOR (w->right) == GTK_RBNODE_BLACK && GTK_RBNODE_GET_COLOR (w->left) == GTK_RBNODE_BLACK)
# 302| {
# 303| GTK_RBNODE_SET_COLOR (w, GTK_RBNODE_RED);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def434]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c: scope_hint: In function ‘_gtk_rbtree_set_fixed_height’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c:779:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c:772:11: note: in expansion of macro ‘GTK_RBNODE_FLAG_SET’
# 777| }
# 778|
# 779|-> if (node->children)
# 780| _gtk_rbtree_set_fixed_height (node->children, height, mark_valid);
# 781| }
Error: CLANG_WARNING: [#def435]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c:867:20: warning[core.UndefinedBinaryOperatorResult]: The left operand of '==' is a garbage value
# 865|
# 866| /* already swapped */
# 867|-> if (nodes[i] == NULL)
# 868| continue;
# 869| /* no need to swap */
Error: GCC_ANALYZER_WARNING (CWE-476): [#def436]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c:19: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c: scope_hint: In function ‘_gtk_rbtree_column_invalid’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.h:96:68: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c:728:9: note: in expansion of macro ‘GTK_RBNODE_SET_FLAG’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c:728:9: note: in expansion of macro ‘GTK_RBNODE_SET_FLAG’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrbtree.c:728:9: note: in expansion of macro ‘GTK_RBNODE_SET_FLAG’
# 94| #define GTK_RBNODE_SET_COLOR(node,color) if((node->flags&color)!=color)node->flags=node->flags^(GTK_RBNODE_RED|GTK_RBNODE_BLACK)
# 95| #define GTK_RBNODE_GET_HEIGHT(node) (node->offset-(node->left->offset+node->right->offset+(node->children?node->children->root->offset:0)))
# 96|-> #define GTK_RBNODE_SET_FLAG(node, flag) G_STMT_START{ (node->flags|=flag); }G_STMT_END
# 97| #define GTK_RBNODE_UNSET_FLAG(node, flag) G_STMT_START{ (node->flags&=~(flag)); }G_STMT_END
# 98| #define GTK_RBNODE_FLAG_SET(node, flag) (node?(((node->flags&flag)==flag)?TRUE:FALSE):FALSE)
Error: CPPCHECK_WARNING: [#def437]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrecentchooserdefault.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def438]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrecentchooserutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def439]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrecentfilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def440]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrecentmanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def441]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrenderbackground.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def442]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrenderborder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def443]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrevealer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def444]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrevealer.c:485:7: warning[deadcode.DeadStores]: Value stored to 'bin_x' is never read
# 483|
# 484| gtk_revealer_get_padding (revealer, &padding);
# 485|-> bin_x = 0;
# 486| bin_y = 0;
# 487|
Error: CLANG_WARNING: [#def445]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrevealer.c:486:7: warning[deadcode.DeadStores]: Value stored to 'bin_y' is never read
# 484| gtk_revealer_get_padding (revealer, &padding);
# 485| bin_x = 0;
# 486|-> bin_y = 0;
# 487|
# 488| transition = effective_transition (revealer);
Error: CPPCHECK_WARNING: [#def446]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def447]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscalebutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def448]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def449]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:3397: error[legacyUninitvar]: Uninitialized variable: child_allocation
# 3395| }
# 3396|
# 3397|-> *allocation = child_allocation;
# 3398| }
# 3399|
Error: CPPCHECK_WARNING (CWE-909): [#def450]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:3397: error[uninitStructMember]: Uninitialized struct member: child_allocation.height
# 3395| }
# 3396|
# 3397|-> *allocation = child_allocation;
# 3398| }
# 3399|
Error: CPPCHECK_WARNING (CWE-909): [#def451]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:3397: error[uninitStructMember]: Uninitialized struct member: child_allocation.width
# 3395| }
# 3396|
# 3397|-> *allocation = child_allocation;
# 3398| }
# 3399|
Error: CPPCHECK_WARNING (CWE-909): [#def452]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:3397: error[uninitStructMember]: Uninitialized struct member: child_allocation.x
# 3395| }
# 3396|
# 3397|-> *allocation = child_allocation;
# 3398| }
# 3399|
Error: CPPCHECK_WARNING (CWE-909): [#def453]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:3397: error[uninitStructMember]: Uninitialized struct member: child_allocation.y
# 3395| }
# 3396|
# 3397|-> *allocation = child_allocation;
# 3398| }
# 3399|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def454]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c: scope_hint: In function ‘gtk_scrolled_window_allocate_scrollbar’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:3397:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘child_allocation.x’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcontainer.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbin.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:27: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:3220: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:3221: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:3221: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:664:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:1514: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.h:40:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:1514:25: note: in expansion of macro ‘GTK_IS_SCROLLED_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:1514: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.h:40:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:1514:25: note: in expansion of macro ‘GTK_IS_SCROLLED_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:1514: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.h:40:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:1514:25: note: in expansion of macro ‘GTK_IS_SCROLLED_WINDOW’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:1514: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.h:40:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkscrolledwindow.c:1514:25: note: in expansion of macro ‘GTK_IS_SCROLLED_WINDOW’
# 3395| }
# 3396|
# 3397|-> *allocation = child_allocation;
# 3398| }
# 3399|
Error: CPPCHECK_WARNING: [#def455]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksearchengine.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def456]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksearchenginesimple.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def457]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksearchenginetracker.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def458]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksearchenginetracker3.c:496:7: warning[unix.Malloc]: Use of memory after it is freed
# 494| !tracker_sparql_cursor_next (cursor, NULL, NULL))
# 495| {
# 496|-> g_warning ("Error checking indexed file '%s': %s",
# 497| uri, error->message);
# 498| g_error_free (error);
Error: CPPCHECK_WARNING: [#def459]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def460]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c: scope_hint: In function ‘normalize_to_lf’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c:1529:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c:90: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c:1705:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c: scope_hint: In function ‘normalize_to_lf’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c:1595:9: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c: scope_hint: In function ‘normalize_to_lf’
# 1527| while (1)
# 1528| {
# 1529|-> if (*p == '\r')
# 1530| {
# 1531| p++;
Error: CLANG_WARNING: [#def461]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c:1573:22: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 1571| {
# 1572| g_warning ("Error converting from %s to %s: %s",
# 1573|-> "UTF-8", charset, error->message);
# 1574| g_error_free (error);
# 1575|
Error: GCC_ANALYZER_WARNING (CWE-131): [#def462]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c: scope_hint: In function ‘gtk_selection_data_get_targets’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c:2071:18: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c:2064:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2069| {
# 2070| if (targets)
# 2071|-> *targets = g_memdup (selection_data->data, selection_data->length);
# 2072| if (n_atoms)
# 2073| *n_atoms = selection_data->length / sizeof (GdkAtom);
Error: GCC_ANALYZER_WARNING (CWE-131): [#def463]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c: scope_hint: In function ‘gtk_selection_default_handler’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkselection.c:3303:11: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 3301| /* selection data is always terminated by a trailing \0
# 3302| */
# 3303|-> p = g_malloc (data->length + 1);
# 3304| data->data = (guchar *)p;
# 3305| data->data[data->length] = '\0';
Error: CPPCHECK_WARNING: [#def464]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutlabel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def465]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutssection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def466]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutssection.c:630:3: warning[deadcode.DeadStores]: Value stored to 'n_pages' is never read
# 628| n_rows = 0;
# 629| n_columns = 0;
# 630|-> n_pages = 0;
# 631| for (g = groups; g; g = g->next)
# 632| {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def467]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutssection.c: scope_hint: In function ‘gtk_shortcuts_section_reflow_groups’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutssection.c:743:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcontainer.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbox.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutssection.h:22: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutssection.c:21: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro ‘_G_TYPE_CIC’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcontainer.h:38:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutssection.c:614:45: note: in expansion of macro ‘GTK_CONTAINER’
# 741| }
# 742|
# 743|-> for (g = g->next; g; g = g->next)
# 744| {
# 745| GtkShortcutsGroup *group = g->data;
Error: CLANG_WARNING: [#def468]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutssection.c:743:16: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'g')
# 741| }
# 742|
# 743|-> for (g = g->next; g; g = g->next)
# 744| {
# 745| GtkShortcutsGroup *group = g->data;
Error: CPPCHECK_WARNING: [#def469]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkshortcutswindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def470]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksidebarrow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def471]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksizegroup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def472]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksizerequest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-457): [#def473]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksizerequest.c: scope_hint: In function ‘gtk_distribute_natural_allocation’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksizerequest.c:829:3: warning[-Wmaybe-uninitialized]: ‘spreading_36’ may be used uninitialized
# 829 | g_qsort_with_data (spreading,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 830 | n_requested_sizes, sizeof (guint),
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 831 | compare_gap, sizes);
# | ~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib.h:71: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksizerequest.h:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksizerequest.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gqsort.h:39:6: note: by argument 1 of type ‘const void *’ to ‘g_qsort_with_data’ declared here
# 39 | void g_qsort_with_data (gconstpointer pbase,
# | ^~~~~~~~~~~~~~~~~
# 827|
# 828| /* Sort descending by gap and position. */
# 829|-> g_qsort_with_data (spreading,
# 830| n_requested_sizes, sizeof (guint),
# 831| compare_gap, sizes);
Error: CPPCHECK_WARNING: [#def474]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtksizerequestcache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def475]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkspinbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def476]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def477]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstack.c:1196:37: warning[core.NullDereference]: Access to field 'widget' results in a dereference of a null pointer (loaded from field 'last_visible_child')
# 1194| if (child_info == priv->last_visible_child)
# 1195| {
# 1196|-> gtk_widget_set_child_visible (priv->last_visible_child->widget, FALSE);
# 1197| priv->last_visible_child = NULL;
# 1198| }
Error: CPPCHECK_WARNING: [#def478]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstacksidebar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def479]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstackswitcher.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def480]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecascade.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-686): [#def481]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘GdkRGBA **’ {aka ‘struct _GdkRGBA **’} for variadic argument 2 of ‘args’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2613: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:74: note: in expansion of macro ‘GTK_TYPE_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def482]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘PangoFontDescription **’ {aka ‘struct _PangoFontDescription **’} for variadic argument 2 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:664:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def483]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘char (*)[27]’ for variadic argument 3 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def484]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘double’ but received ‘void *’ for variadic argument 3 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:664:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def485]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘GdkRGBA **’ {aka ‘struct _GdkRGBA **’} for variadic argument 2 of ‘args’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2613: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:74: note: in expansion of macro ‘GTK_TYPE_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def486]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c: scope_hint: In function ‘gtk_style_context_get_valist’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘PangoFontDescription **’ {aka ‘struct _PangoFontDescription **’} for variadic argument 2 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.
/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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkborder.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontextprivate.h:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.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:664:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def487]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char (*)[27]’ for variadic argument 3 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def488]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘void *’ for variadic argument 3 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:664:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def489]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘GdkRGBA **’ {aka ‘struct _GdkRGBA **’} for variadic argument 2 of ‘args’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2613: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:74: note: in expansion of macro ‘GTK_TYPE_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2614:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def490]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘PangoFontDescription **’ {aka ‘struct _PangoFontDescription **’} for variadic argument 2 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:664:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def491]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘char (*)[27]’ for variadic argument 3 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-686): [#def492]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long int’ but received ‘void *’ for variadic argument 3 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:664:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2771:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:867: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:824:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:881:7: note: in expansion of macro ‘G_VALUE_LCOPY’
# 879| &value);
# 880|
# 881|-> G_VALUE_LCOPY (&value, args, 0, &error);
# 882| g_value_unset (&value);
# 883|
Error: GCC_ANALYZER_WARNING (CWE-457): [#def493]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c: scope_hint: In function ‘_gtk_style_context_get_cursor_color’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2818:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pc’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2930:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2930:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2930:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2930:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2930: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2931: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2931: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2932:3: note: in expansion 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/pango-1.0/pango/pango-layout.h:139:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
/usr/include/pango-1.0/pango/pango-layout.h:139:79: note: in expansion of macro ‘PANGO_TYPE_LAYOUT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2932:21: note: in expansion of macro ‘PANGO_IS_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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2932:3: note: in expansion 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/pango-1.0/pango/pango-layout.h:139:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2932:21: note: in expansion of macro ‘PANGO_IS_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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2932:3: note: in expansion 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/pango-1.0/pango/pango-layout.h:139:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2932:21: note: in expansion of macro ‘PANGO_IS_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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2932: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2933: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:2933: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:664:9: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:1021: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:1021:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:1021: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:1021:25: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.h:36:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkstylecontext.c:938:21: note: in expansion of macro ‘GTK_IS_STYLE_CONTEXT’
# 2816| NULL);
# 2817| if (primary_color)
# 2818|-> *primary_color = *pc;
# 2819|
# 2820| if (secondary_color)
Error: CPPCHECK_WARNING: [#def494]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktestutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def495]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextattributes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-457): [#def496]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbtree.c: scope_hint: In function ‘tag_changed_cb’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbtree.c:5716:11: warning[-Wmaybe-uninitialized]: ‘height’ may be used uninitialized
# 5716 | gtk_text_layout_changed (view->layout, 0, height, height);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbtree.c:5713:23: note: ‘height’ was declared here
# 5713 | gint width, height;
# | ^~~~~~
# 5714|
# 5715| _gtk_text_btree_get_view_size (tree, view->view_id, &width, &height);
# 5716|-> gtk_text_layout_changed (view->layout, 0, height, height);
# 5717|
# 5718| view = view->next;
Error: CPPCHECK_WARNING: [#def497]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferrichtext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def498]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def499]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c: scope_hint: In function ‘deserialize_value’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:104:11: 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/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:29: included_from: Included from here.
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:31: 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:1165:3: note: in expansion of macro ‘g_assert’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:757:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/lib64/glib-2.0/include/glibconfig.h:103:51: note: in definition of macro ‘GPOINTER_TO_INT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c: scope_hint: In function ‘deserialize_value’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:1165:3: note: in expansion of macro ‘g_assert’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:1167:7: note: in expansion of macro ‘ELEMENT_IS’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:888: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:889: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:889: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:905:7: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:905:7: 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:907:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:907:7: note: in expansion of macro ‘g_assert’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:905:7: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:905:7: 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:907:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:907:7: note: in expansion of macro ‘g_assert’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:27: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 102| gboolean v;
# 103|
# 104|-> v = strcmp (str, "TRUE") == 0;
# 105|
# 106| g_value_set_boolean (value, v);
Error: CLANG_WARNING: [#def500]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:453:22: warning[core.NullDereference]: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'active_tags')
# 451| * above this on in the stack)
# 452| */
# 453|-> while (active_tags->data != tag)
# 454| {
# 455| added = g_list_prepend (added, active_tags->data);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def501]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c: scope_hint: In function ‘serialize_text’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:453:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘active_tags’
/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/gstring.h:268:7: note: in expansion of macro ‘g_string_append_len’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:448:15: note: in expansion of macro ‘g_string_append’
# 451| * above this on in the stack)
# 452| */
# 453|-> while (active_tags->data != tag)
# 454| {
# 455| added = g_list_prepend (added, active_tags->data);
Error: GCC_ANALYZER_WARNING (CWE-685): [#def502]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:901:10: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (1 consumed)
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:888: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:889: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:889:3: note: in expansion of macro ‘g_return_val_if_fail’
# 899|
# 900| name = va_arg (args, const char*);
# 901|-> retloc = va_arg (args, const char**);
# 902|
# 903| while (name != NULL)
Error: GCC_ANALYZER_WARNING (CWE-685): [#def503]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:915:14: warning[-Wanalyzer-va-list-exhausted]: ‘args’ has no more arguments (5 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:1165:3: note: in expansion of macro ‘g_assert’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:757:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/lib64/glib-2.0/include/glibconfig.h:103:51: note: in definition of macro ‘GPOINTER_TO_INT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c: scope_hint: In function ‘locate_attributes’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:1165:3: note: in expansion of macro ‘g_assert’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:1167:7: note: in expansion of macro ‘ELEMENT_IS’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:888: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:889: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:889: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:905:7: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:905:7: 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:907:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:907:7: note: in expansion of macro ‘g_assert’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:905:7: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:905:7: 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:907:7: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextbufferserialize.c:907:7: note: in expansion of macro ‘g_assert’
# 913|
# 914| name = va_arg (args, const char*);
# 915|-> retloc = va_arg (args, const char**);
# 916| }
# 917|
Error: GCC_ANALYZER_WARNING (CWE-131): [#def504]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_pixbuf_segment_new’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextchild.c:140:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 138| GtkTextLineSegment *seg;
# 139|
# 140|-> seg = g_slice_alloc (PIXBUF_SEG_SIZE);
# 141|
# 142| seg->type = >k_text_pixbuf_type;
Error: GCC_ANALYZER_WARNING (CWE-131): [#def505]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextchild.c: scope_hint: In function ‘_gtk_widget_segment_new’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextchild.c:242:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 240| GtkTextLineSegment *seg;
# 241|
# 242|-> seg = g_slice_alloc (WIDGET_SEG_SIZE);
# 243|
# 244| seg->type = >k_text_child_type;
Error: CPPCHECK_WARNING: [#def506]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextdisplay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def507]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktexthandle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def508]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextiter.c: scope_hint: In function ‘gtk_text_iter_make_real’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextiter.c:214:11: 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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextattributes.h:58: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextiter.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextiter.c:27: 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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextiter.c:2547:3: note: in expansion of macro ‘g_return_val_if_fail’
# 212| iter = gtk_text_iter_make_surreal (_iter);
# 213|
# 214|-> if (iter->segments_changed_stamp !=
# 215| _gtk_text_btree_get_segments_changed_stamp (iter->tree))
# 216| {
Error: CLANG_WARNING: [#def509]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextiter.c:5335:28: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 5333| */
# 5334| if (!case_insensitive)
# 5335|-> first_line_match = g_strrstr (*win.lines, *lines);
# 5336| else
# 5337| first_line_match = utf8_strrcasestr (*win.lines, *lines);
Error: CLANG_WARNING: [#def510]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextiter.c:5337:28: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 5335| first_line_match = g_strrstr (*win.lines, *lines);
# 5336| else
# 5337|-> first_line_match = utf8_strrcasestr (*win.lines, *lines);
# 5338|
# 5339| if (first_line_match &&
Error: CPPCHECK_WARNING: [#def511]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def512]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:1108:11: warning[deadcode.DeadStores]: Value stored to 'last_line' is never read
# 1106| first_line_y = seen - top_ink;
# 1107| }
# 1108|-> last_line = line;
# 1109| last_line_y = seen + new_height + bottom_ink;
# 1110| }
Error: CLANG_WARNING: [#def513]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:2525:13: warning[core.NullDereference]: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'seg')
# 2523| g_error ("Unknown segment type: %s", seg->type->name);
# 2524|
# 2525|-> seg = seg->next;
# 2526| }
# 2527|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def514]
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gtk/gtkmarshalers.h:4: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:80: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c: scope_hint: In function ‘line_display_iter_to_index’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:2658:71: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:2658: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:3623: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:3624: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:3624: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:2272:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:2272: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:2658:3: note: in expansion of macro ‘g_return_val_if_fail’
# 2656| gint index;
# 2657|
# 2658|-> g_return_val_if_fail (_gtk_text_iter_get_text_line (iter) == display->line, 0);
# 2659|
# 2660| index = gtk_text_iter_get_visible_line_index (iter);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def515]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c: scope_hint: In function ‘gtk_text_layout_move_iter_visually’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:3646:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:3623: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:3624: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:3624: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:2272:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:2272:3: note: in expansion of macro ‘g_return_val_if_fail’
# 3644| strong = TRUE;
# 3645| else
# 3646|-> strong = display->direction == layout->cursor_direction;
# 3647|
# 3648| line_byte = line_display_iter_to_index (layout, display, iter);
Error: CLANG_WARNING: [#def516]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextlayout.c:3672:8: warning[deadcode.DeadStores]: Value stored to 'line_byte' is never read
# 3670| new_index < display->insert_index + layout->preedit_len)
# 3671| {
# 3672|-> line_byte = display->insert_index;
# 3673| extra_back = 1;
# 3674| }
Error: CPPCHECK_WARNING: [#def517]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextsegment.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-131): [#def518]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextsegment.c: scope_hint: In function ‘_gtk_toggle_segment_new’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextsegment.c:437:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
# 435| GtkTextLineSegment *seg;
# 436|
# 437|-> seg = g_slice_alloc (TSEG_SIZE);
# 438|
# 439| seg->type = on ? >k_text_toggle_on_type : >k_text_toggle_off_type;
Error: CPPCHECK_WARNING: [#def519]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktexttag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def520]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktextutil.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def521]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolbar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def522]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolbar.c:1574:24: warning[deadcode.DeadStores]: Although the value stored to 'size' is used in the enclosing expression, the value is never actually read from 'size'
# 1572| if (priv->orientation == GTK_ORIENTATION_HORIZONTAL)
# 1573| {
# 1574|-> available_size = size = allocation->width;
# 1575| short_size = allocation->height;
# 1576| arrow_size = arrow_requisition.width;
Error: CLANG_WARNING: [#def523]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolbar.c:1580:24: warning[deadcode.DeadStores]: Although the value stored to 'size' is used in the enclosing expression, the value is never actually read from 'size'
# 1578| else
# 1579| {
# 1580|-> available_size = size = allocation->height;
# 1581| short_size = allocation->width;
# 1582| arrow_size = arrow_requisition.height;
Error: CLANG_WARNING: [#def524]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolbar.c:1682:33: warning[core.DivideZero]: Division by zero
# 1680| if (toolbar_content_get_expand (content) && new_states[i] == NORMAL)
# 1681| {
# 1682|-> gint extra = size / n_expand_items;
# 1683| if (size % n_expand_items != 0)
# 1684| extra++;
Error: CPPCHECK_WARNING: [#def525]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolbutton.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def526]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def527]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:832:28: warning[unix.Malloc]: Potential leak of memory pointed to by 'row_min_width'
# 830| * for the given maximal number of rows (n_rows)
# 831| */
# 832|-> for (n_columns = min_col; n_columns < max_col; n_columns ++)
# 833| {
# 834| new_row = TRUE;
Error: CLANG_WARNING: [#def528]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:1005:43: warning[core.DivideZero]: Division by zero
# 1003| n_rows = MAX (item_area.height / item_size.height, min_rows);
# 1004|
# 1005|-> item_size.height = item_area.height / n_rows;
# 1006| }
# 1007|
Error: CLANG_WARNING: [#def529]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:1521:9: warning[core.CallAndMessage]: 4th function call argument is an uninitialized value
# 1519| {
# 1520| case CHILD_PROP_HOMOGENEOUS:
# 1521|-> gtk_tool_item_group_set_item_packing (group, item,
# 1522| g_value_get_boolean (value),
# 1523| expand,
Error: CLANG_WARNING: [#def530]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:1529:9: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1527|
# 1528| case CHILD_PROP_EXPAND:
# 1529|-> gtk_tool_item_group_set_item_packing (group, item,
# 1530| homogeneous,
# 1531| g_value_get_boolean (value),
Error: CLANG_WARNING: [#def531]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:1537:9: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1535|
# 1536| case CHILD_PROP_FILL:
# 1537|-> gtk_tool_item_group_set_item_packing (group, item,
# 1538| homogeneous,
# 1539| expand,
Error: CLANG_WARNING: [#def532]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:1545:9: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 1543|
# 1544| case CHILD_PROP_NEW_ROW:
# 1545|-> gtk_tool_item_group_set_item_packing (group, item,
# 1546| homogeneous,
# 1547| expand,
Error: CLANG_WARNING: [#def533]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:1583:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1581| {
# 1582| case CHILD_PROP_HOMOGENEOUS:
# 1583|-> g_value_set_boolean (value, homogeneous);
# 1584| break;
# 1585|
Error: CLANG_WARNING: [#def534]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:1587:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1585|
# 1586| case CHILD_PROP_EXPAND:
# 1587|-> g_value_set_boolean (value, expand);
# 1588| break;
# 1589|
Error: CLANG_WARNING: [#def535]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:1591:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1589|
# 1590| case CHILD_PROP_FILL:
# 1591|-> g_value_set_boolean (value, fill);
# 1592| break;
# 1593|
Error: CLANG_WARNING: [#def536]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolitemgroup.c:1595:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 1593|
# 1594| case CHILD_PROP_NEW_ROW:
# 1595|-> g_value_set_boolean (value, new_row);
# 1596| break;
# 1597|
Error: CPPCHECK_WARNING: [#def537]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktoolpalette.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def538]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktooltip.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def539]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktooltip.c:840:24: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 838|
# 839| if (has_tooltip)
# 840|-> return_value = gtk_widget_query_tooltip (*widget, *x, *y, tooltip->keyboard_mode_enabled, tooltip);
# 841|
# 842| if (!return_value)
Error: CLANG_WARNING: [#def540]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktooltip.c:847:6: warning[core.CallAndMessage]: 3rd function call argument is an uninitialized value
# 845|
# 846| if (parent)
# 847|-> gtk_widget_translate_coordinates (*widget, parent, *x, *y, x, y);
# 848|
# 849| *widget = parent;
Error: CLANG_WARNING: [#def541]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreedatalist.c:554:2: warning[deadcode.DeadStores]: Value stored to 'list' is never read
# 552| header->sort_column_id = sort_column_id;
# 553| if (list)
# 554|-> list = g_list_append (list, header);
# 555| else
# 556| header_list = g_list_append (header_list, header);
Error: CPPCHECK_WARNING: [#def542]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreednd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def543]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemenu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def544]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodel.c:812:7: warning[core.NonNullParamChecker]: Null pointer passed to 2nd parameter expecting 'nonnull'
# 810| path->alloc = MAX (path->alloc * 2, 1);
# 811| indices = g_new (gint, path->alloc);
# 812|-> memcpy (indices, path->indices, path->depth * sizeof (gint));
# 813| g_free (path->indices);
# 814| path->indices = indices;
Error: CPPCHECK_WARNING: [#def545]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def546]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_update_children.part.0’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:1824: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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodel.h:25: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.h:26: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3998:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.h:33:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3998: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3998:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.h:33:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3998: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4001: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4001: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4002: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4002: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4003: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4003:3: note: in expansion of macro ‘g_return_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4005: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:1161:3: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:1161:3: note: in expansion of macro ‘g_return_val_if_fail’
# 1822| gtk_tree_model_filter_convert_iter_to_child_iter (filter, &c_iter, &iter);
# 1823|
# 1824|-> if ((!level->parent_level || level->parent_level->ext_ref_count > 0) &&
# 1825| gtk_tree_model_iter_has_child (filter->priv->child_model, &c_iter))
# 1826| {
Error: CLANG_WARNING: [#def547]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:1932:9: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1930| gtk_tree_model_filter_get_iter_full (GTK_TREE_MODEL (filter), &iter, path);
# 1931|
# 1932|-> level = FILTER_LEVEL (iter.user_data);
# 1933| elt = FILTER_ELT (iter.user_data2);
# 1934|
Error: CLANG_WARNING: [#def548]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:1933:7: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1931|
# 1932| level = FILTER_LEVEL (iter.user_data);
# 1933|-> elt = FILTER_ELT (iter.user_data2);
# 1934|
# 1935| /* Make sure elt is visible. elt can already be visible in case
Error: CLANG_WARNING: [#def549]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:2038:23: warning[core.NullDereference]: Access to field 'visible_siter' results in a dereference of an undefined pointer value (loaded from field 'user_data2')
# 2036| gtk_tree_model_filter_get_iter_full (GTK_TREE_MODEL (filter),
# 2037| &iter, path);
# 2038|-> current_state = FILTER_ELT (iter.user_data2)->visible_siter != NULL;
# 2039| }
# 2040| else
Error: CLANG_WARNING: [#def550]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:2509:15: warning[core.NullDereference]: Access to field 'children' results in a dereference of a null pointer (loaded from variable 'elt')
# 2507| }
# 2508|
# 2509|-> level = elt->children;
# 2510| }
# 2511|
Error: CPPCHECK_WARNING (CWE-476): [#def551]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3006: warning[nullPointer]: Possible null pointer dereference: elt
# 3004| elt = GET_ELT (siter);
# 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): [#def552]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3075: warning[nullPointer]: Possible null pointer dereference: elt
# 3073|
# 3074| elt = GET_ELT (siter);
# 3075|-> if (!elt->children)
# 3076| gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 3077| level = elt->children;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def553]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c: scope_hint: In function ‘gtk_tree_model_filter_real_unref_node’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3526: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3526: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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:927:3: note: in expansion of macro ‘g_assert’
/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3512:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.h:33:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3512: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3512:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.h:33:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3512: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3513: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3514: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3514: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3998:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.h:33:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3998: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3998:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.h:33:50: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3998: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4001: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4001: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4002: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4002: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4003: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4003:3: note: in expansion of macro ‘g_return_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4005: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:1162: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:1162:3: note: in expansion of macro ‘g_return_val_if_fail’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:1162: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:3526:3: note: in expansion of macro ‘g_return_if_fail’
# 3524| elt = iter->user_data2;
# 3525|
# 3526|-> g_return_if_fail (elt->ref_count > 0);
# 3527| #ifdef MODEL_FILTER_DEBUG
# 3528| g_assert (elt->ref_count >= elt->ext_ref_count);
Error: CLANG_WARNING: [#def554]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4102:11: warning[deadcode.DeadStores]: Value stored to 'found_child' is never read
# 4100| gtk_tree_model_filter_build_level (filter, level, tmp, FALSE);
# 4101| level = tmp->children;
# 4102|-> found_child = TRUE;
# 4103| }
# 4104| else if (!found_child && !fetch_children)
Error: CPPCHECK_WARNING (CWE-476): [#def555]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelfilter.c:4214: warning[nullPointer]: Possible null pointer dereference: elt
# 4212|
# 4213| elt = GET_ELT (siter);
# 4214|-> if (elt->children == NULL)
# 4215| gtk_tree_model_filter_build_level (filter, level, elt, FALSE);
# 4216|
Error: CLANG_WARNING: [#def556]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreemodelsort.c:1174:19: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1172| SortElt *elt = g_sequence_get (siter);
# 1173|
# 1174|-> elt->offset = tmp_array[i];
# 1175| i++;
# 1176| }
Error: CPPCHECK_WARNING: [#def557]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtktreeselection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def558]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidgetpath.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def559]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindow.c:682:10: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindow.c: scope_hint: In function ‘gtk_window_set_startup_id.part.0’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkapplication.h:27: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindow.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindow.c:27: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindow.c:2549:22: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindow.c: scope_hint: In function ‘gtk_window_set_startup_id.part.0’
/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: scope_hint: In function ‘gtk_window_set_startup_id.part.0’
/usr/include/string.h:159:12: note: argument 1 of ‘strncmp’ must be non-null
# 680| startup_id_is_fake (const gchar* startup_id)
# 681| {
# 682|-> return strncmp (startup_id, "_TIME", 5) == 0;
# 683| }
# 684|
Error: CPPCHECK_WARNING: [#def560]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindowgroup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def561]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/inspector/cellrenderergraph.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def562]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/inspector/general.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def563]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/inspector/gtktreemodelcssnode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def564]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/inspector/inspect-button.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def565]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/inspector/misc-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def566]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/inspector/prop-editor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def567]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/inspector/prop-list.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def568]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/language-names.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def569]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/queryimmodules.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def570]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/queryimmodules.c: scope_hint: In function ‘escape_string’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/queryimmodules.c:48:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘str’
/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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/queryimmodules.c:22: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/queryimmodules.c:211:25: note: in expansion of macro ‘g_str_has_suffix’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/queryimmodules.c:101:12: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/queryimmodules.c: scope_hint: In function ‘escape_string’
# 46| while (TRUE)
# 47| {
# 48|-> char c = *str++;
# 49|
# 50| switch (c)
Error: CPPCHECK_WARNING: [#def571]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def572]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c: scope_hint: In function ‘follow_links’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:456: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.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:38: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:643:25: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:658: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:470:8: note: in expansion of macro ‘g_str_has_suffix’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:433:11: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:23: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
# 454| }
# 455|
# 456|-> if (strcmp (path, path2) == 0)
# 457| {
# 458| g_free (path2);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def573]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:456:7: warning[-Wanalyzer-null-argument]: use of NULL ‘path’ where non-null expected
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:643:25: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:658: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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:470:8: note: in expansion of macro ‘g_str_has_suffix’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:433:11: note: in expansion of macro ‘g_strdup’
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
# 454| }
# 455|
# 456|-> if (strcmp (path, path2) == 0)
# 457| {
# 458| g_free (path2);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def574]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c: scope_hint: In function ‘scan_directory’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:671:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:643:25: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/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’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:658:15: note: in expansion of macro ‘g_str_has_suffix’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:670:22: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c: scope_hint: In function ‘scan_directory’
/usr/include/string.h:273:14: note: argument 1 of ‘strrchr’ must be non-null
# 669|
# 670| basename = g_strdup (name);
# 671|-> dot = strrchr (basename, '.');
# 672| *dot = '\0';
# 673|
Error: CLANG_WARNING: [#def575]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/updateiconcache.c:1015:24: warning[deadcode.DeadStores]: Although the value stored to 'poolv' is used in the enclosing expression, the value is never actually read from 'poolv'
# 1013| {
# 1014| int poolv;
# 1015|-> if ((poolv = find_string (data->display_names[i])) == 0)
# 1016| {
# 1017| data->size += ALIGN_VALUE (strlen (data->display_names[i]) + 1, 4);
Error: CPPCHECK_WARNING: [#def576]
gtk3-3.24.42-build/gtk+-3.24.42/libgail-util/gailmisc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def577]
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/gtkimcontextmultipress.c: scope_hint: In function ‘on_timeout’
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/gtkimcontextmultipress.c:204:3: warning[-Wdeprecated-declarations]: ‘gdk_threads_enter’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:61: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/gtkimcontextmultipress.h:20: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/gtkimcontextmultipress.c:20: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkthreads.h:46:10: note: declared here
# 202| GtkImContextMultipress *multipress_context;
# 203|
# 204|-> gdk_threads_enter ();
# 205|
# 206| multipress_context = GTK_IM_CONTEXT_MULTIPRESS (data);
Error: COMPILER_WARNING (CWE-477): [#def578]
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/gtkimcontextmultipress.c:214:3: warning[-Wdeprecated-declarations]: ‘gdk_threads_leave’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkthreads.h:48:10: note: declared here
# 212| multipress_context->timeout_id = 0;
# 213|
# 214|-> gdk_threads_leave ();
# 215|
# 216| return G_SOURCE_REMOVE; /* don't call me again */
Error: CPPCHECK_WARNING: [#def579]
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/gtkimcontextthai.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def580]
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/gtkimcontextxim.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def581]
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/gtkimcontextxim.c:570:51: warning[core.NullDereference]: Access to field 'ics' results in a dereference of a null pointer (loaded from field 'im_info')
# 568| if (context_xim->client_window)
# 569| {
# 570|-> context_xim->im_info->ics = g_slist_remove (context_xim->im_info->ics, context_xim);
# 571| context_xim->im_info = NULL;
# 572| }
Error: CLANG_WARNING: [#def582]
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/gtkimcontextxim.c:1031:61: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
# 1029| else
# 1030| {
# 1031|-> g_warning ("Error converting text from IM to UCS-4: %s", error->message);
# 1032| g_error_free (error);
# 1033|
Error: CPPCHECK_WARNING: [#def583]
gtk3-3.24.42-build/gtk+-3.24.42/modules/input/imwayland.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def584]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkcupssecretsutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def585]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkcupsutils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def586]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def587]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘cups_printer_create_cairo_surface’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:436:7: warning[-Wdeprecated-declarations]: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 436 | ppd_attr = ppdFindAttr (ppd_file, "LanguageLevel", NULL);
# | ^~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintercups.h:23: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:53: included_from: Included from here.
/usr/include/cups/ppd.h:400:26: note: declared here
# 400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
# | ^~~~~~~~~~~
# 434| if (ppd_file != NULL)
# 435| {
# 436|-> ppd_attr = ppdFindAttr (ppd_file, "LanguageLevel", NULL);
# 437|
# 438| if (ppd_attr != NULL)
Error: COMPILER_WARNING (CWE-477): [#def588]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:443:11: warning[-Wdeprecated-declarations]: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 443 | ppd_attr_res = ppdFindAttr (ppd_file, "DefaultResolution", NULL);
# | ^~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
# 400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
# | ^~~~~~~~~~~
# 441| if (gtk_print_settings_get_resolution (settings) == 0)
# 442| {
# 443|-> ppd_attr_res = ppdFindAttr (ppd_file, "DefaultResolution", NULL);
# 444|
# 445| if (ppd_attr_res != NULL)
Error: COMPILER_WARNING (CWE-477): [#def589]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:464:7: warning[-Wdeprecated-declarations]: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 464 | ppd_attr_res_screen_freq = ppdFindAttr (ppd_file, "ResScreenFreq", res_string);
# | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
# 400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
# | ^~~~~~~~~~~
# 462| res_string = g_strdup_printf ("%ddpi",
# 463| gtk_print_settings_get_resolution (settings));
# 464|-> ppd_attr_res_screen_freq = ppdFindAttr (ppd_file, "ResScreenFreq", res_string);
# 465| g_free (res_string);
# 466|
Error: COMPILER_WARNING (CWE-477): [#def590]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:472:11: warning[-Wdeprecated-declarations]: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 472 | ppd_attr_res_screen_freq = ppdFindAttr (ppd_file, "ResScreenFreq", res_string);
# | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
# 400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
# | ^~~~~~~~~~~
# 470| gtk_print_settings_get_resolution_x (settings),
# 471| gtk_print_settings_get_resolution_y (settings));
# 472|-> ppd_attr_res_screen_freq = ppdFindAttr (ppd_file, "ResScreenFreq", res_string);
# 473| g_free (res_string);
# 474| }
Error: COMPILER_WARNING (CWE-477): [#def591]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:476:7: warning[-Wdeprecated-declarations]: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 476 | ppd_attr_screen_freq = ppdFindAttr (ppd_file, "ScreenFreq", NULL);
# | ^~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:400:26: note: declared here
# 400 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
# | ^~~~~~~~~~~
# 474| }
# 475|
# 476|-> ppd_attr_screen_freq = ppdFindAttr (ppd_file, "ScreenFreq", NULL);
# 477|
# 478| if (ppd_attr_res_screen_freq != NULL && atof (ppd_attr_res_screen_freq->value) > 0.0)
Error: COMPILER_WARNING (CWE-477): [#def592]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘add_cups_options’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:609:7: warning[-Wdeprecated-declarations]: ‘ppdFindCustomOption’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 609 | coption = ppdFindCustomOption (printer->ppd_file, key);
# | ^~~~~~~
/usr/include/cups/ppd.h:425:26: note: declared here
# 425 | extern ppd_coption_t *ppdFindCustomOption(ppd_file_t *ppd,
# | ^~~~~~~~~~~~~~~~~~~
# 607| gboolean custom_values_enabled = FALSE;
# 608|
# 609|-> coption = ppdFindCustomOption (printer->ppd_file, key);
# 610| if (coption && coption->option)
# 611| {
Error: COMPILER_WARNING (CWE-477): [#def593]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘cups_request_ppd_cb’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:4080:7: warning[-Wdeprecated-declarations]: ‘ppdOpenFd’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 4080 | data->printer->ppd_file = ppdOpenFd (dup (g_io_channel_unix_get_fd (data->ppd_io)));
# | ^~~~
/usr/include/cups/ppd.h:389:26: note: declared here
# 389 | extern ppd_file_t *ppdOpenFd(int fd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
# | ^~~~~~~~~
# 4078| /* let ppdOpenFd take over the ownership of the open file */
# 4079| g_io_channel_seek_position (data->ppd_io, 0, G_SEEK_SET, NULL);
# 4080|-> data->printer->ppd_file = ppdOpenFd (dup (g_io_channel_unix_get_fd (data->ppd_io)));
# 4081| ppdLocalize (data->printer->ppd_file);
# 4082| ppdMarkDefaults (data->printer->ppd_file);
Error: COMPILER_WARNING (CWE-477): [#def594]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:4081:7: warning[-Wdeprecated-declarations]: ‘ppdLocalize’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 4081 | ppdLocalize (data->printer->ppd_file);
# | ^~~~~~~~~~~
/usr/include/cups/ppd.h:435:25: note: declared here
# 435 | extern int ppdLocalize(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
# | ^~~~~~~~~~~
# 4079| g_io_channel_seek_position (data->ppd_io, 0, G_SEEK_SET, NULL);
# 4080| data->printer->ppd_file = ppdOpenFd (dup (g_io_channel_unix_get_fd (data->ppd_io)));
# 4081|-> ppdLocalize (data->printer->ppd_file);
# 4082| ppdMarkDefaults (data->printer->ppd_file);
# 4083| }
Error: COMPILER_WARNING (CWE-477): [#def595]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:4082:7: warning[-Wdeprecated-declarations]: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 4082 | ppdMarkDefaults (data->printer->ppd_file);
# | ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
# 385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
# | ^~~~~~~~~~~~~~~
# 4080| data->printer->ppd_file = ppdOpenFd (dup (g_io_channel_unix_get_fd (data->ppd_io)));
# 4081| ppdLocalize (data->printer->ppd_file);
# 4082|-> ppdMarkDefaults (data->printer->ppd_file);
# 4083| }
# 4084|
Error: COMPILER_WARNING (CWE-477): [#def596]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘available_choices’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:5069:7: warning[-Wdeprecated-declarations]: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 5069 | option1 = ppdFindOption (ppd, constraint->option1);
# | ^~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
# 381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
# | ^~~~~~~~~~~~~
# 5067| for (i = ppd->num_consts, constraint = ppd->consts; i > 0; i--, constraint++)
# 5068| {
# 5069|-> option1 = ppdFindOption (ppd, constraint->option1);
# 5070| if (option1 == NULL)
# 5071| continue;
Error: COMPILER_WARNING (CWE-477): [#def597]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:5073:7: warning[-Wdeprecated-declarations]: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 5073 | option2 = ppdFindOption (ppd, constraint->option2);
# | ^~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
# 381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
# | ^~~~~~~~~~~~~
# 5071| continue;
# 5072|
# 5073|-> option2 = ppdFindOption (ppd, constraint->option2);
# 5074| if (option2 == NULL)
# 5075| continue;
Error: COMPILER_WARNING (CWE-477): [#def598]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘create_pickone_option’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:5225:7: warning[-Wdeprecated-declarations]: ‘ppdFindCustomOption’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 5225 | coption = ppdFindCustomOption (ppd_file, ppd_option->keyword);
# | ^~~~~~~
/usr/include/cups/ppd.h:425:26: note: declared here
# 425 | extern ppd_coption_t *ppdFindCustomOption(ppd_file_t *ppd,
# | ^~~~~~~~~~~~~~~~~~~
# 5223| label = get_option_text (ppd_file, ppd_option);
# 5224|
# 5225|-> coption = ppdFindCustomOption (ppd_file, ppd_option->keyword);
# 5226|
# 5227| if (coption)
Error: COMPILER_WARNING (CWE-477): [#def599]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:5231:11: warning[-Wdeprecated-declarations]: ‘ppdFirstCustomParam’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 5231 | cparam = ppdFirstCustomParam (coption);
# | ^~~~~~
/usr/include/cups/ppd.h:430:26: note: declared here
# 430 | extern ppd_cparam_t *ppdFirstCustomParam(ppd_coption_t *opt)
# | ^~~~~~~~~~~~~~~~~~~
# 5229| ppd_cparam_t *cparam;
# 5230|
# 5231|-> cparam = ppdFirstCustomParam (coption);
# 5232|
# 5233| if (ppdNextCustomParam (coption) == NULL)
Error: COMPILER_WARNING (CWE-477): [#def600]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:5233:11: warning[-Wdeprecated-declarations]: ‘ppdNextCustomParam’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 5233 | if (ppdNextCustomParam (coption) == NULL)
# | ^~
/usr/include/cups/ppd.h:433:26: note: declared here
# 433 | extern ppd_cparam_t *ppdNextCustomParam(ppd_coption_t *opt) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
# | ^~~~~~~~~~~~~~~~~~
# 5231| cparam = ppdFirstCustomParam (coption);
# 5232|
# 5233|-> if (ppdNextCustomParam (coption) == NULL)
# 5234| {
# 5235| switch (cparam->type)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def601]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘cups_printer_get_options’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:5859:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:44: included_from: Included from here.
/usr/include/glib-2.0/glib/gi18n-lib.h:32:59: note: in definition of macro ‘_’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gprintf.h:23: included_from: Included from here.
/usr/include/glib-2.0/glib/gstdio.h:24: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:43: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:5856:22: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘cups_printer_get_options’
/usr/include/cups/http.h:21: included_from: Included from here.
/usr/include/cups/ipp.h:19: included_from: Included from here.
/usr/include/cups/cups.h:28: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:34: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
# 5857| value = NULL;
# 5858| for (j = 0; j < G_N_ELEMENTS (cover_default); j++)
# 5859|-> if (strcmp (cover_default[j], cover[i]) == 0)
# 5860| {
# 5861| value = cover_display_default[j];
Error: COMPILER_WARNING (CWE-477): [#def602]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘cups_printer_get_options’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:5933:7: warning[-Wdeprecated-declarations]: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 5933 | ppdMarkDefaults (ppd_file);
# | ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
# 385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
# | ^~~~~~~~~~~~~~~
# 5931| const gchar *ppd_name;
# 5932|
# 5933|-> ppdMarkDefaults (ppd_file);
# 5934|
# 5935| paper_size = gtk_page_setup_get_paper_size (page_setup);
Error: COMPILER_WARNING (CWE-477): [#def603]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:5937:7: warning[-Wdeprecated-declarations]: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 5937 | ppd_option = ppdFindOption (ppd_file, "PageSize");
# | ^~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
# 381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
# | ^~~~~~~~~~~~~
# 5935| paper_size = gtk_page_setup_get_paper_size (page_setup);
# 5936|
# 5937|-> ppd_option = ppdFindOption (ppd_file, "PageSize");
# 5938| if (ppd_option)
# 5939| {
Error: COMPILER_WARNING (CWE-477): [#def604]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘mark_option_from_set’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:6118:5: warning[-Wdeprecated-declarations]: ‘ppdMarkOption’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 6118 | ppdMarkOption (ppd_file, ppd_option->keyword, option->value);
# | ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
# 386 | extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword,
# | ^~~~~~~~~~~~~
# 6116|
# 6117| if (option)
# 6118|-> ppdMarkOption (ppd_file, ppd_option->keyword, option->value);
# 6119|
# 6120| g_free (name);
Error: COMPILER_WARNING (CWE-477): [#def605]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘cups_printer_mark_conflicts’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:6189:3: warning[-Wdeprecated-declarations]: ‘ppdMarkDefaults’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 6189 | ppdMarkDefaults (ppd_file);
# | ^~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
# 385 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
# | ^~~~~~~~~~~~~~~
# 6187| return FALSE;
# 6188|
# 6189|-> ppdMarkDefaults (ppd_file);
# 6190|
# 6191| for (i = 0; i < ppd_file->num_groups; i++)
Error: COMPILER_WARNING (CWE-477): [#def606]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:6194:3: warning[-Wdeprecated-declarations]: ‘ppdConflicts’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 6194 | num_conflicts = ppdConflicts (ppd_file);
# | ^~~~~~~~~~~~~
/usr/include/cups/ppd.h:368:25: note: declared here
# 368 | extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
# | ^~~~~~~~~~~~
# 6192| mark_group_from_set (options, ppd_file, &ppd_file->groups[i]);
# 6193|
# 6194|-> num_conflicts = ppdConflicts (ppd_file);
# 6195|
# 6196| if (num_conflicts > 0)
Error: COMPILER_WARNING (CWE-477): [#def607]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘create_page_setup’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:6843:3: warning[-Wdeprecated-declarations]: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 6843 | option = ppdFindOption (ppd_file, "PageSize");
# | ^~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
# 381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
# | ^~~~~~~~~~~~~
# 6841|
# 6842| display_name = NULL;
# 6843|-> option = ppdFindOption (ppd_file, "PageSize");
# 6844| if (option)
# 6845| {
Error: COMPILER_WARNING (CWE-477): [#def608]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:6846:7: warning[-Wdeprecated-declarations]: ‘ppdFindChoice’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 6846 | choice = ppdFindChoice (option, size->name);
# | ^~~~~~
/usr/include/cups/ppd.h:376:26: note: declared here
# 376 | extern ppd_choice_t *ppdFindChoice(ppd_option_t *o, const char *option)
# | ^~~~~~~~~~~~~
# 6844| if (option)
# 6845| {
# 6846|-> choice = ppdFindChoice (option, size->name);
# 6847| if (choice)
# 6848| display_name = ppd_text_to_utf8 (ppd_file, choice->text);
Error: COMPILER_WARNING (CWE-477): [#def609]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c: scope_hint: In function ‘cups_printer_get_default_page_size’
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:6976:7: warning[-Wdeprecated-declarations]: ‘ppdFindOption’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 6976 | option = ppdFindOption (ppd_file, "PageSize");
# | ^~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
# 381 | extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
# | ^~~~~~~~~~~~~
# 6974| if (ppd_file != NULL)
# 6975| {
# 6976|-> option = ppdFindOption (ppd_file, "PageSize");
# 6977| if (option == NULL)
# 6978| return NULL;
Error: COMPILER_WARNING (CWE-477): [#def610]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintbackendcups.c:6980:7: warning[-Wdeprecated-declarations]: ‘ppdPageSize’ is deprecated: Use cupsCopyDestInfo and friends instead.
# 6980 | size = ppdPageSize (ppd_file, option->defchoice);
# | ^~~~
/usr/include/cups/ppd.h:393:26: note: declared here
# 393 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
# | ^~~~~~~~~~~
# 6978| return NULL;
# 6979|
# 6980|-> size = ppdPageSize (ppd_file, option->defchoice);
# 6981| if (size == NULL)
# 6982| return NULL;
Error: CPPCHECK_WARNING: [#def611]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/cups/gtkprintercups.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def612]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/file/gtkprintbackendfile.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def613]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/file/gtkprintbackendfile.c:733:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
# 731| }
# 732|
# 733|-> uri = output_file_from_settings (settings, supported_formats[current_format]);
# 734|
# 735| option = gtk_printer_option_new ("gtk-main-page-custom-input", _("File"),
Error: CLANG_WARNING: [#def614]
gtk3-3.24.42-build/gtk+-3.24.42/modules/printbackends/lpr/gtkprintbackendlpr.c:386:1: warning[unix.Malloc]: Potential leak of memory pointed to by 'ps'
# 384| g_error_free (print_error);
# 385| }
# 386|-> }
# 387|
# 388| static void
Error: COMPILER_WARNING: [#def615]
gtk3-3.24.42-build/gtk+-3.24.42/gtk/fallback-c89.c:20: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/animated-resizing.c:6: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/config.h:170:9: warning: "_GDK_EXTERN" redefined
# 170 | #define _GDK_EXTERN __attribute__((visibility("default"))) extern
# | ^~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:31: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/animated-resizing.c:3: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkversionmacros.h:32:9: note: this is the location of the previous definition
# 32 | #define _GDK_EXTERN extern
# | ^~~~~~~~~~~
# 168| #define XINPUT_2_4 1
# 169|
# 170|-> #define _GDK_EXTERN __attribute__((visibility("default"))) extern
# 171|
Error: CPPCHECK_WARNING: [#def616]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gail-libgail-util3-scan.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def617]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gail-libgail-util3-scan.c:180:16: warning[deadcode.DeadStores]: Although the value stored to 'event_num' is used in the enclosing expression, the value is never actually read from 'event_num'
Error: CLANG_WARNING: [#def618]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gail-libgail-util3-scan.c:406:17: warning[core.uninitialized.Branch]: Branch condition evaluates to a garbage value
Error: CPPCHECK_WARNING: [#def619]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk3-scan.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def620]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk3-scan.c:198:16: warning[deadcode.DeadStores]: Although the value stored to 'event_num' is used in the enclosing expression, the value is never actually read from 'event_num'
Error: CPPCHECK_WARNING: [#def621]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gtk/gtkdbusgenerated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def622]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gtk/gtkmarshalers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def623]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gtk3-scan.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def624]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gtk3-scan.c:418:16: warning[deadcode.DeadStores]: Although the value stored to 'event_num' is used in the enclosing expression, the value is never actually read from 'event_num'
Error: CPPCHECK_WARNING: [#def625]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/tmp-introspect6u_gyj0l/GdkX11-3.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def626]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/tmp-introspect6u_gyj0l/GdkX11-3.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: [#def627]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/tmp-introspectwyz0x3ri/Gtk-3.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def628]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/tmp-introspectwyz0x3ri/Gtk-3.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: [#def629]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/tmp-introspectx2v_3n92/Gdk-3.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def630]
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/tmp-introspectx2v_3n92/Gdk-3.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): [#def631]
gtk3-3.24.42-build/gtk+-3.24.42/tests/gtkgears.c:594: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 592| /* Set up the position of the attributes in the vertex buffer object */
# 593| glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), NULL);
# 594|-> glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 6 * sizeof(GLfloat), (GLfloat *) 0 + 3);
# 595|
# 596| /* Enable the attributes */
Error: CLANG_WARNING: [#def632]
gtk3-3.24.42-build/gtk+-3.24.42/tests/gtkgears.c:922:5: warning[deadcode.DeadStores]: Value stored to 'previous_frame_time' is never read
# 920| gdk_frame_timings_get_frame_counter (timings) - 1);
# 921| if (previous_timings != NULL)
# 922|-> previous_frame_time = gdk_frame_timings_get_frame_time (previous_timings);
# 923|
# 924| return G_SOURCE_CONTINUE;
Error: CLANG_WARNING: [#def633]
gtk3-3.24.42-build/gtk+-3.24.42/tests/gtkoffscreenbox.c:602:7: warning[deadcode.DeadStores]: Value stored to 'start_y' is never read
# 600| child_allocation.height = child_requisition.height;
# 601|
# 602|-> start_y += CHILD2_SIZE_SCALE * child_requisition.height;
# 603|
# 604| if (gtk_widget_get_realized (widget))
Error: COMPILER_WARNING (CWE-477): [#def634]
gtk3-3.24.42-build/gtk+-3.24.42/tests/styleexamples.c: scope_hint: In function ‘draw_cb_frame_gap’
gtk3-3.24.42-build/gtk+-3.24.42/tests/styleexamples.c:246:3: warning[-Wdeprecated-declarations]: ‘gtk_render_frame_gap’ is deprecated: Use 'gtk_render_frame' instead
# 246 | gtk_render_frame_gap (context, cr, 12, 12, 50, 50, GTK_POS_TOP, 15, 35);
# | ^~~~~~~~~~~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:181: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/styleexamples.c:2: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkrender.h:114:13: note: declared here
# 114 | void gtk_render_frame_gap (GtkStyleContext *context,
# | ^~~~~~~~~~~~~~~~~~~~
# 244| gtk_style_context_add_class (context, "frame");
# 245| gtk_style_context_set_junction_sides (context, 0);
# 246|-> gtk_render_frame_gap (context, cr, 12, 12, 50, 50, GTK_POS_TOP, 15, 35);
# 247| gtk_style_context_remove_class (context, "frame");
# 248|
Error: CPPCHECK_WARNING: [#def635]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testbaseline.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def636]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testbaseline.c:138:3: warning[deadcode.DeadStores]: Value stored to 'grid_hbox' is never read
# 136| }
# 137|
# 138|-> grid_hbox = hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
# 139| gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 5);
# 140|
Error: CPPCHECK_WARNING: [#def637]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testcellarea.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def638]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testcolorchooser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def639]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testcombo.c:44:13: warning[deadcode.DeadStores]: Although the value stored to 'pixels' is used in the enclosing expression, the value is never actually read from 'pixels'
# 42| 16, 16);
# 43|
# 44|-> p = pixels = gdk_pixbuf_get_pixels (pixbuf);
# 45|
# 46| num = gdk_pixbuf_get_width (pixbuf) *
Error: CPPCHECK_WARNING (CWE-664): [#def640]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testcombochange.c:71: error[va_end_missing]: va_list 'vap' was opened but not closed by va_end().
# 69|
# 70| g_free (msg);
# 71|-> }
# 72|
# 73| static GtkWidget *
Error: CLANG_WARNING: [#def641]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testdialog.c:355:3: warning[deadcode.DeadStores]: Value stored to 'button' is never read
# 353| gtk_container_add (GTK_CONTAINER (box), button);
# 354|
# 355|-> button = gtk_button_new_with_label ("Builtin");
# 356| button = gtk_button_new_with_label ("Builtin");
# 357| g_signal_connect_swapped (button, "clicked", G_CALLBACK (show_color_chooser), window);
Error: CLANG_WARNING: [#def642]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testdialog.c:391:3: warning[deadcode.DeadStores]: Value stored to 'button' is never read
# 389| gtk_container_add (GTK_CONTAINER (box), button);
# 390|
# 391|-> button = gtk_button_new_with_label ("Template");
# 392| button = gtk_button_new_with_label ("Template");
# 393| g_signal_connect_swapped (button, "clicked", G_CALLBACK (show_dialog_from_template), window);
Error: CPPCHECK_WARNING: [#def643]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testfilechooser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def644]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testflowbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def645]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgeometry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def646]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgmenu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def647]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def648]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c: scope_hint: In function ‘on_alpha_window_draw’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:159:7: warning[-Wdeprecated-declarations]: ‘gtk_widget_is_composited’ is deprecated: Use 'gdk_screen_is_composited' instead
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkapplication.h:27: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindow.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkdialog.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaboutdialog.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:31: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:40: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:1247:10: note: declared here
# 157|
# 158| if (gdk_screen_get_rgba_visual (gtk_widget_get_screen (widget)) &&
# 159|-> gtk_widget_is_composited (widget))
# 160| cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 0.0); /* transparent */
# 161| else
Error: COMPILER_WARNING (CWE-477): [#def649]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c: scope_hint: In function ‘on_composited_changed’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:254:3: warning[-Wdeprecated-declarations]: ‘gtk_widget_is_composited’ is deprecated: Use 'gdk_screen_is_composited' instead
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwidget.h:1247:10: note: declared here
# 252| GtkLabel *label)
# 253| {
# 254|-> gboolean is_composited = gtk_widget_is_composited (window);
# 255|
# 256| if (is_composited)
Error: COMPILER_WARNING (CWE-477): [#def650]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c: scope_hint: In function ‘pattern_set_bg’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:453:3: warning[-Wdeprecated-declarations]: ‘gdk_window_set_background_rgba’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkseat.h:28: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkapplaunchcontext.h:31: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:787:15: note: declared here
# 451|
# 452| gdk_window_set_user_data (child, widget);
# 453|-> gdk_window_set_background_rgba (child, &colors[level]);
# 454| }
# 455|
Error: CLANG_WARNING: [#def651]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:1451:7: warning[deadcode.DeadStores]: Value stored to 'button' is never read
# 1449| NULL);
# 1450|
# 1451|-> button = g_object_connect (g_object_new (gtk_button_get_type (),
# 1452| "label", "pop",
# 1453| "visible", TRUE,
Error: CLANG_WARNING: [#def652]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:1459:7: warning[deadcode.DeadStores]: Value stored to 'button' is never read
# 1457| NULL);
# 1458|
# 1459|-> button = g_object_connect (g_object_new (gtk_button_get_type (),
# 1460| "label", "steal #4",
# 1461| "visible", TRUE,
Error: CLANG_WARNING: [#def653]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:1467:7: warning[deadcode.DeadStores]: Value stored to 'button' is never read
# 1465| NULL);
# 1466|
# 1467|-> button = g_object_connect (g_object_new (gtk_button_get_type (),
# 1468| "label", "test contexts",
# 1469| "visible", TRUE,
Error: CLANG_WARNING: [#def654]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:1475:7: warning[deadcode.DeadStores]: Value stored to 'button' is never read
# 1473| NULL);
# 1474|
# 1475|-> button = g_object_connect (g_object_new (gtk_button_get_type (),
# 1476| "label", "push something long",
# 1477| "visible", TRUE,
Error: COMPILER_WARNING (CWE-477): [#def655]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c: scope_hint: In function ‘create_focus’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:5389:7: warning[-Wdeprecated-declarations]: ‘gtk_container_set_focus_chain’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkbin.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkwindow.h:35: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkcontainer.h:177:10: note: declared here
# 5387| gtk_container_add (GTK_CONTAINER (frame), table);
# 5388|
# 5389|-> gtk_container_set_focus_chain (GTK_CONTAINER (table),
# 5390| list);
# 5391|
Error: COMPILER_WARNING (CWE-477): [#def656]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c: scope_hint: In function ‘get_screen_corner’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7646:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 7644| {
# 7645| case GDK_GRAVITY_SOUTH_EAST:
# 7646|-> *x = gdk_screen_get_width (screen) - w;
# 7647| *y = gdk_screen_get_height (screen) - h;
# 7648| break;
Error: COMPILER_WARNING (CWE-477): [#def657]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7647:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 7645| case GDK_GRAVITY_SOUTH_EAST:
# 7646| *x = gdk_screen_get_width (screen) - w;
# 7647|-> *y = gdk_screen_get_height (screen) - h;
# 7648| break;
# 7649|
Error: COMPILER_WARNING (CWE-477): [#def658]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7651:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 7649|
# 7650| case GDK_GRAVITY_NORTH_EAST:
# 7651|-> *x = gdk_screen_get_width (screen) - w;
# 7652| *y = 0;
# 7653| break;
Error: COMPILER_WARNING (CWE-477): [#def659]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7657:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 7655| case GDK_GRAVITY_SOUTH_WEST:
# 7656| *x = 0;
# 7657|-> *y = gdk_screen_get_height (screen) - h;
# 7658| break;
# 7659|
Error: COMPILER_WARNING (CWE-477): [#def660]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7666:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 7664|
# 7665| case GDK_GRAVITY_SOUTH:
# 7666|-> *x = (gdk_screen_get_width (screen) - w) / 2;
# 7667| *y = gdk_screen_get_height (screen) - h;
# 7668| break;
Error: COMPILER_WARNING (CWE-477): [#def661]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7667:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 7665| case GDK_GRAVITY_SOUTH:
# 7666| *x = (gdk_screen_get_width (screen) - w) / 2;
# 7667|-> *y = gdk_screen_get_height (screen) - h;
# 7668| break;
# 7669|
Error: COMPILER_WARNING (CWE-477): [#def662]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7671:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 7669|
# 7670| case GDK_GRAVITY_NORTH:
# 7671|-> *x = (gdk_screen_get_width (screen) - w) / 2;
# 7672| *y = 0;
# 7673| break;
Error: COMPILER_WARNING (CWE-477): [#def663]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7677:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 7675| case GDK_GRAVITY_WEST:
# 7676| *x = 0;
# 7677|-> *y = (gdk_screen_get_height (screen) - h) / 2;
# 7678| break;
# 7679|
Error: COMPILER_WARNING (CWE-477): [#def664]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7681:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 7679|
# 7680| case GDK_GRAVITY_EAST:
# 7681|-> *x = gdk_screen_get_width (screen) - w;
# 7682| *y = (gdk_screen_get_height (screen) - h) / 2;
# 7683| break;
Error: COMPILER_WARNING (CWE-477): [#def665]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7682:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 7680| case GDK_GRAVITY_EAST:
# 7681| *x = gdk_screen_get_width (screen) - w;
# 7682|-> *y = (gdk_screen_get_height (screen) - h) / 2;
# 7683| break;
# 7684|
Error: COMPILER_WARNING (CWE-477): [#def666]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7686:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_width’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:58:14: note: declared here
# 7684|
# 7685| case GDK_GRAVITY_CENTER:
# 7686|-> *x = (gdk_screen_get_width (screen) - w) / 2;
# 7687| *y = (gdk_screen_get_height (screen) - h) / 2;
# 7688| break;
Error: COMPILER_WARNING (CWE-477): [#def667]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:7687:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_height’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:60:14: note: declared here
# 7685| case GDK_GRAVITY_CENTER:
# 7686| *x = (gdk_screen_get_width (screen) - w) / 2;
# 7687|-> *y = (gdk_screen_get_height (screen) - h) / 2;
# 7688| break;
# 7689|
Error: COMPILER_WARNING (CWE-477): [#def668]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c: scope_hint: In function ‘scroll_test_adjustment_changed’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testgtk.c:8929:3: warning[-Wdeprecated-declarations]: ‘gdk_window_process_updates’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:1069:12: note: declared here
# 8927| window = gtk_widget_get_window (widget);
# 8928| gdk_window_scroll (window, 0, dy);
# 8929|-> gdk_window_process_updates (window, FALSE);
# 8930| }
# 8931|
Error: CPPCHECK_WARNING: [#def669]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testicontheme.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def670]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testiconview.c: scope_hint: In function ‘do_popup_menu’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testiconview.c:381:3: warning[-Wdeprecated-declarations]: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.h:34: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccellabel.h:35: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/testiconview.c:18: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenu.h:138:12: note: declared here
# 379| }
# 380|
# 381|-> gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL,
# 382| button, event_time);
# 383| }
Error: COMPILER_WARNING (CWE-477): [#def671]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testinput.c: scope_hint: In function ‘draw_brush’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testinput.c:163:3: warning[-Wdeprecated-declarations]: ‘gdk_window_process_updates’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkseat.h:28: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkapplaunchcontext.h:31: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/testinput.c:27: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:1069:12: note: declared here
# 161| update_rect.x, update_rect.y,
# 162| update_rect.width, update_rect.height);
# 163|-> gdk_window_process_updates (gtk_widget_get_window (widget), TRUE);
# 164| }
# 165|
Error: CPPCHECK_WARNING: [#def672]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testmountoperation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def673]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testmultidisplay.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def674]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testscale.c:165:3: warning[deadcode.DeadStores]: Value stored to 'box2' is never read
# 163|
# 164| frame = gtk_frame_new ("Labeled marks");
# 165|-> box2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
# 166|
# 167| scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 1);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def675]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testselection.c: scope_hint: In function ‘stringify_text’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testselection.c:219: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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/testselection.c:29: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/testselection.c:218:16: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testselection.c: scope_hint: In function ‘stringify_text’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 217| {
# 218| gchar *str = g_strdup ((gchar *)(data+*position));
# 219|-> *position += strlen (str) + 1;
# 220|
# 221| return str;
Error: COMPILER_WARNING (CWE-477): [#def676]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtoolbar.c: scope_hint: In function ‘popup_context_menu’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtoolbar.c:404:7: warning[-Wdeprecated-declarations]: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtklabel.h:34: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkaccellabel.h:35: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtoolbar.c:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenu.h:138:12: note: declared here
# 402| position_data.y = y;
# 403|
# 404|-> gtk_menu_popup (menu, NULL, NULL, position_function,
# 405| &position_data, button_number, gtk_get_current_event_time());
# 406| }
Error: COMPILER_WARNING (CWE-477): [#def677]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtoolbar.c:408:5: warning[-Wdeprecated-declarations]: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtkmenu.h:138:12: note: declared here
# 406| }
# 407| else
# 408|-> gtk_menu_popup (menu, NULL, NULL, NULL, NULL, 0, gtk_get_current_event_time());
# 409|
# 410| return TRUE;
Error: CPPCHECK_WARNING: [#def678]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtreechanging.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def679]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtreecolumns.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def680]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtreecolumns.c:433:6: warning[unix.Malloc]: Potential leak of memory pointed to by 'new_order'
# 431| b = b->next;
# 432| if (a == NULL)
# 433|-> return;
# 434| m++;
# 435| }
Error: CPPCHECK_WARNING: [#def681]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtreecolumnsizing.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def682]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtreemodel.c: scope_hint: In function ‘test_run’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtreemodel.c:234:11: warning[-Wdeprecated-declarations]: ‘mallinfo’ is deprecated
# 234 | uordblks_before = mallinfo().uordblks;
# | ^~~~~~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtreemodel.c:23: included_from: Included from here.
/usr/include/malloc.h:114:24: note: declared here
# 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
# | ^~~~~~~~
# 232| #ifdef HAVE_MALLINFO
# 233| /* Peculiar location of this, btw. -- MW. */
# 234|-> uordblks_before = mallinfo().uordblks;
# 235| #endif
# 236| g_timer_reset (timer);
Error: COMPILER_WARNING (CWE-477): [#def683]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtreemodel.c:246:7: warning[-Wdeprecated-declarations]: ‘mallinfo’ is deprecated
# 246 | memused = (mallinfo().uordblks - uordblks_before) / 1024;
# | ^~~~~~~
/usr/include/malloc.h:114:24: note: declared here
# 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
# | ^~~~~~~~
# 244| elapsed = elapsed * 1000 / repeats;
# 245| #ifdef HAVE_MALLINFO
# 246|-> memused = (mallinfo().uordblks - uordblks_before) / 1024;
# 247| #else
# 248| memused = 0;
Error: CLANG_WARNING: [#def684]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testtreeview.c:1019:29: warning[unix.Malloc]: Use of memory after it is freed
# 1017| {
# 1018| g_free (children);
# 1019|-> iter->user_data = GINT_TO_POINTER (children[i]);
# 1020| return TRUE;
# 1021| }
Error: CPPCHECK_WARNING: [#def685]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testwindows.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def686]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testwindows.c: scope_hint: In function ‘create_window’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testwindows.c:55:3: warning[-Wdeprecated-declarations]: ‘gdk_window_set_background_rgba’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkseat.h:28: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkapplaunchcontext.h:31: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/testwindows.c:1: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:787:15: note: declared here
# 53| }
# 54|
# 55|-> gdk_window_set_background_rgba (window, bg);
# 56| g_object_set_data_full (G_OBJECT (window), "color", bg, g_free);
# 57|
Error: COMPILER_WARNING (CWE-477): [#def687]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testwindows.c: scope_hint: In function ‘alpha_clicked’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testwindows.c:723:7: warning[-Wdeprecated-declarations]: ‘gdk_window_set_background_rgba’ is deprecated
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:787:15: note: declared here
# 721| color->alpha = 1;
# 722|
# 723|-> gdk_window_set_background_rgba (window, color);
# 724| }
# 725|
Error: COMPILER_WARNING (CWE-477): [#def688]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testxinerama.c: scope_hint: In function ‘request’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testxinerama.c:32:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_monitor_at_window’ is deprecated: Use 'gdk_display_get_monitor_at_window' instead
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkapplaunchcontext.h:31: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/tests/testxinerama.c:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:91:15: note: declared here
# 30| gchar *str;
# 31| GdkScreen *screen = gtk_widget_get_screen (widget);
# 32|-> gint i = gdk_screen_get_monitor_at_window (screen,
# 33| gtk_widget_get_window (widget));
# 34|
Error: COMPILER_WARNING (CWE-477): [#def689]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testxinerama.c:41:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_monitor_geometry’ is deprecated: Use 'gdk_monitor_get_geometry' instead
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:78:14: note: declared here
# 39| GdkRectangle monitor;
# 40|
# 41|-> gdk_screen_get_monitor_geometry (screen,
# 42| i, &monitor);
# 43| primary_monitor = gdk_screen_get_primary_monitor (screen);
Error: COMPILER_WARNING (CWE-477): [#def690]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testxinerama.c:43:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_primary_monitor’ is deprecated: Use 'gdk_display_get_primary_monitor' instead
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:76:14: note: declared here
# 41| gdk_screen_get_monitor_geometry (screen,
# 42| i, &monitor);
# 43|-> primary_monitor = gdk_screen_get_primary_monitor (screen);
# 44|
# 45| str = g_strdup_printf ("<big><span foreground='white' background='black'>"
Error: COMPILER_WARNING (CWE-477): [#def691]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testxinerama.c: scope_hint: In function ‘main’
gtk3-3.24.42-build/gtk+-3.24.42/tests/testxinerama.c:80:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_n_monitors’ is deprecated: Use 'gdk_display_get_n_monitors' instead
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:74:14: note: declared here
# 78| screen = gdk_screen_get_default ();
# 79|
# 80|-> num_monitors = gdk_screen_get_n_monitors (screen);
# 81| if (num_monitors == 1)
# 82| g_warning ("The default screen of the current display only has one monitor.");
Error: COMPILER_WARNING (CWE-477): [#def692]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testxinerama.c:84:3: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_primary_monitor’ is deprecated: Use 'gdk_display_get_primary_monitor' instead
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:76:14: note: declared here
# 82| g_warning ("The default screen of the current display only has one monitor.");
# 83|
# 84|-> primary_monitor = gdk_screen_get_primary_monitor (screen);
# 85|
# 86| for (i = 0; i < num_monitors; i++)
Error: COMPILER_WARNING (CWE-477): [#def693]
gtk3-3.24.42-build/gtk+-3.24.42/tests/testxinerama.c:93:7: warning[-Wdeprecated-declarations]: ‘gdk_screen_get_monitor_geometry’ is deprecated: Use 'gdk_monitor_get_geometry' instead
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:78:14: note: declared here
# 91| window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
# 92|
# 93|-> gdk_screen_get_monitor_geometry (screen, i, &monitor);
# 94| gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);
# 95| gtk_window_move (GTK_WINDOW (window), (monitor.width - 200) / 2 + monitor.x,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def694]
gtk3-3.24.42-build/gtk+-3.24.42/tests/video-timer.c: scope_hint: In function ‘on_update’
gtk3-3.24.42-build/gtk+-3.24.42/tests/video-timer.c:322:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 320|
# 321| pending_frame = peek_pending_frame ();
# 322|-> if (stream_time_to_clock_time (pending_frame->stream_time)
# 323| < predicted_presentation_time + refresh_interval / 2)
# 324| {
Error: CLANG_WARNING: [#def695]
gtk3-3.24.42-build/gtk+-3.24.42/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: GCC_ANALYZER_WARNING (CWE-476): [#def696]
gtk3-3.24.42-build/gtk+-3.24.42/tests/video-timer.c:346:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 344| n_frames++;
# 345| displayed_frame = unqueue_frame ();
# 346|-> displayed_frame->clock_time = stream_time_to_clock_time (displayed_frame->stream_time);
# 347|
# 348| displayed_frame->frame_counter = gdk_frame_timings_get_frame_counter (timings);
Error: CPPCHECK_WARNING: [#def697]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/a11y/accessibility-dump.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def698]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/a11y/children.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def699]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/a11y/children.c:170:30: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value
# 168| {
# 169| parent_data[i].count = 0;
# 170|-> child_accessible = gtk_widget_get_accessible (state.child[i]);
# 171| g_signal_connect (child_accessible, "notify::accessible-parent",
# 172| G_CALLBACK (parent_notify), &(parent_data[i]));
Error: CPPCHECK_WARNING: [#def700]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/a11y/state/state-record.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def701]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/a11y/state/state-record.c:95: error[legacyUninitvar]: Uninitialized variable: a
# 93| else
# 94| g_assert_not_reached ();
# 95|-> g_signal_connect (a, "state-change", G_CALLBACK (record_state_change), string);
# 96| }
# 97| }
Error: CPPCHECK_WARNING: [#def702]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/a11y/text.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def703]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/nodes/test-css-nodes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def704]
gtk3-3.24.42-build/gtk+-3.24.42/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): [#def705]
/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.
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/parser/test-css-parser.c:26: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/parser/test-css-parser.c: scope_hint: In function ‘test_get_errors_file’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/parser/test-css-parser.c:60: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’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/parser/test-css-parser.c:47:7: note: in expansion of macro ‘g_string_free’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/parser/test-css-parser.c:48:14: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/parser/test-css-parser.c: scope_hint: In function ‘test_get_errors_file’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/parser/test-css-parser.c:48: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’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/parser/test-css-parser.c:59: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
# 58|
# 59| if (g_str_has_suffix (css_file, ".css"))
# 60|-> g_string_append_len (file, css_file, strlen (css_file) - 4);
# 61| else
# 62| g_string_append (file, css_file);
Error: CPPCHECK_WARNING: [#def706]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/css/style/test-css-style.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def707]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/rectangle.c:38:3: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 36|
# 37| /* non-empty, non-intersecting rectangles */
# 38|-> res = gdk_rectangle_intersect (&e, &f, &f);
# 39| g_assert_cmpint (f.width, ==, 0);
# 40| g_assert_cmpint (f.height, ==, 0);
Error: CPPCHECK_WARNING: [#def708]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/seat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def709]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def710]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c: scope_hint: In function ‘test_depth’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c:97:3: warning[-Wdeprecated-declarations]: ‘gdk_query_depths’ is deprecated
# 97 | gdk_query_depths (&depths, &n_depths);
# | ^~~~~~~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:63: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c:1: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkvisual.h:102:6: note: declared here
# 102 | void gdk_query_depths (gint **depths,
# | ^~~~~~~~~~~~~~~~
# 95| gboolean is_depth;
# 96|
# 97|-> gdk_query_depths (&depths, &n_depths);
# 98| g_assert_cmpint (n_depths, >, 0);
# 99| for (i = 0; i < n_depths; i++)
Error: COMPILER_WARNING (CWE-477): [#def711]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c:104:7: warning[-Wdeprecated-declarations]: ‘gdk_visual_get_best_with_depth’ is deprecated
# 104 | visual = gdk_visual_get_best_with_depth (depths[i]);
# | ^~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkvisual.h:94:15: note: declared here
# 94 | GdkVisual* gdk_visual_get_best_with_depth (gint depth);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 102| g_assert_cmpint (depths[i], <=, 32);
# 103|
# 104|-> visual = gdk_visual_get_best_with_depth (depths[i]);
# 105|
# 106| g_assert_nonnull (visual);
Error: COMPILER_WARNING (CWE-477): [#def712]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c:119:7: warning[-Wdeprecated-declarations]: ‘gdk_visual_get_best_with_depth’ is deprecated
# 119 | visual = gdk_visual_get_best_with_depth (i);
# | ^~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkvisual.h:94:15: note: declared here
# 94 | GdkVisual* gdk_visual_get_best_with_depth (gint depth);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 117| }
# 118|
# 119|-> visual = gdk_visual_get_best_with_depth (i);
# 120| if (!is_depth)
# 121| g_assert_null (visual);
Error: COMPILER_WARNING (CWE-477): [#def713]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c: scope_hint: In function ‘test_type’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c:139:3: warning[-Wdeprecated-declarations]: ‘gdk_query_visual_types’ is deprecated
# 139 | gdk_query_visual_types (&types, &n_types);
# | ^~~~~~~~~~~~~~~~~~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkvisual.h:105:6: note: declared here
# 105 | void gdk_query_visual_types (GdkVisualType **visual_types,
# | ^~~~~~~~~~~~~~~~~~~~~~
# 137| gboolean is_type;
# 138|
# 139|-> gdk_query_visual_types (&types, &n_types);
# 140| g_assert_cmpint (n_types, >, 0);
# 141| for (i = 0; i < n_types; i++)
Error: COMPILER_WARNING (CWE-477): [#def714]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c:146:7: warning[-Wdeprecated-declarations]: ‘gdk_visual_get_best_with_type’ is deprecated
# 146 | visual = gdk_visual_get_best_with_type (types[i]);
# | ^~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkvisual.h:96:15: note: declared here
# 96 | GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 144| g_assert_cmpint (types[i], <=, GDK_VISUAL_DIRECT_COLOR);
# 145|
# 146|-> visual = gdk_visual_get_best_with_type (types[i]);
# 147|
# 148| g_assert_nonnull (visual);
Error: COMPILER_WARNING (CWE-477): [#def715]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gdk/visual.c:161:7: warning[-Wdeprecated-declarations]: ‘gdk_visual_get_best_with_type’ is deprecated
# 161 | visual = gdk_visual_get_best_with_type (i);
# | ^~~~~~
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkvisual.h:96:15: note: declared here
# 96 | GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 159| }
# 160|
# 161|-> visual = gdk_visual_get_best_with_type (i);
# 162| if (!is_type)
# 163| g_assert_null (visual);
Error: CPPCHECK_WARNING: [#def716]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/accel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def717]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/bitmask.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def718]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/builder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def719]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/builder.c:1612:3: warning[deadcode.DeadStores]: Value stored to 'button1' is never read
# 1610|
# 1611| builder = builder_new_from_string (buffer, -1, NULL);
# 1612|-> button1 = gtk_builder_get_object (builder, "button1");
# 1613|
# 1614| #if 0
Error: CLANG_WARNING: [#def720]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/builder.c:2043:3: warning[deadcode.DeadStores]: Value stored to 'label' is never read
# 2041| builder = gtk_builder_new ();
# 2042| gtk_builder_add_from_string (builder, err_buffer1, -1, &error);
# 2043|-> label = gtk_builder_get_object (builder, "label1");
# 2044| g_assert_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_MISSING_ATTRIBUTE);
# 2045| g_object_unref (builder);
Error: CLANG_WARNING: [#def721]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/builder.c:2051:3: warning[deadcode.DeadStores]: Value stored to 'label' is never read
# 2049| builder = gtk_builder_new ();
# 2050| gtk_builder_add_from_string (builder, err_buffer2, -1, &error);
# 2051|-> label = gtk_builder_get_object (builder, "label1");
# 2052|
# 2053| g_assert_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE);
Error: GCC_ANALYZER_WARNING (CWE-688): [#def722]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/builderparser.c: scope_hint: In function ‘get_expected_filename’
gtk3-3.24.42-build/gtk+-3.24.42/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.
gtk3-3.24.42-build/gtk+-3.24.42/redhat-linux-build/gdk/gdkconfig.h:8: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/builderparser.c:23: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/builderparser.c:67:7: note: in expansion of macro ‘g_strdup’
gtk3-3.24.42-build/gtk+-3.24.42/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: [#def723]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/defaultvalue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def724]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/filtermodel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def725]
gtk3-3.24.42-build/gtk+-3.24.42/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: [#def726]
gtk3-3.24.42-build/gtk+-3.24.42/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: [#def727]
gtk3-3.24.42-build/gtk+-3.24.42/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: [#def728]
gtk3-3.24.42-build/gtk+-3.24.42/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: [#def729]
gtk3-3.24.42-build/gtk+-3.24.42/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: [#def730]
gtk3-3.24.42-build/gtk+-3.24.42/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: [#def731]
gtk3-3.24.42-build/gtk+-3.24.42/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: [#def732]
gtk3-3.24.42-build/gtk+-3.24.42/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: [#def733]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/grid.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def734]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/gtkmenu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def735]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/gtktreemodelrefcount.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def736]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/icontheme.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def737]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/keyhash.c: scope_hint: In function ‘test_basic’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/keyhash.c:39:3: warning[-Wdeprecated-declarations]: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:48: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/keyhash.c:19: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkkeys.h:84:12: note: declared here
# 37|
# 38| count = 0;
# 39|-> hash = _gtk_key_hash_new (gdk_keymap_get_default (), counting_destroy);
# 40|
# 41| keys = _gtk_key_hash_lookup (hash, 0, 0, 0, 0);
Error: CPPCHECK_WARNING: [#def738]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/listbox.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def739]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/listbox.c:31:8: warning[deadcode.DeadStores]: Although the value stored to 'n1' is used in the enclosing expression, the value is never actually read from 'n1'
# 29| GList *l;
# 30|
# 31|-> n2 = n1 = 0;
# 32| children = gtk_container_get_children (GTK_CONTAINER (list));
# 33| for (l = children; l; l = l->next)
Error: CPPCHECK_WARNING: [#def740]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/notify.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def741]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/object.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def742]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/papersize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def743]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/rbtree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def744]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/rbtree.c:123:24: warning[core.NullDereference]: Access to field 'left' results in a dereference of a null pointer (loaded from variable 'node')
# 121| g_assert (GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_COLUMN_INVALID) ||
# 122| GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_INVALID) ||
# 123|-> GTK_RBNODE_FLAG_SET (node->left, GTK_RBNODE_DESCENDANTS_INVALID) ||
# 124| GTK_RBNODE_FLAG_SET (node->right, GTK_RBNODE_DESCENDANTS_INVALID) ||
# 125| (node->children && GTK_RBNODE_FLAG_SET (node->children->root, GTK_RBNODE_DESCENDANTS_INVALID)));
Error: CLANG_WARNING: [#def745]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/recentmanager.c:58:7: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 56| if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR))
# 57| {
# 58|-> res = gtk_recent_manager_add_full (manager,
# 59| uri,
# 60| recent_data);
Error: CLANG_WARNING: [#def746]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/recentmanager.c:70:7: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 68| if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR))
# 69| {
# 70|-> res = gtk_recent_manager_add_full (manager,
# 71| uri,
# 72| recent_data);
Error: CLANG_WARNING: [#def747]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/recentmanager.c:82:7: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 80| if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR))
# 81| {
# 82|-> res = gtk_recent_manager_add_full (manager,
# 83| uri,
# 84| recent_data);
Error: CLANG_WARNING: [#def748]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/recentmanager.c:281:3: warning[deadcode.DeadStores]: Value stored to 'n' is never read
# 279| /* purge, add 1, purge again and check that 1 item has been purged */
# 280| error = NULL;
# 281|-> n = gtk_recent_manager_purge_items (manager, &error);
# 282| g_assert (error == NULL);
# 283|
Error: CPPCHECK_WARNING: [#def749]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/scrolledwindow.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def750]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/stylecontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def751]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/textbuffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def752]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/gtk/treepath.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def753]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/gtk-reftest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def754]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/gtk-reftest.c:171:12: warning[deadcode.DeadStores]: Value stored to 'file' during its initialization is never read
# 169| gboolean must_exist)
# 170| {
# 171|-> GString *file = g_string_new (NULL);
# 172| char *dir, *base;
# 173|
Error: COMPILER_WARNING (CWE-252): [#def755]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/gtk-reftest.c: scope_hint: In function ‘main’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/gtk-reftest.c:454:3: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
# 454 | chdir (basedir);
# | ^~~~~~~~~~~~~~~
# 452| * "file" property of GtkImage as a relative path in builder files.
# 453| */
# 454|-> chdir (basedir);
# 455|
# 456| return g_test_run ();
Error: CPPCHECK_WARNING: [#def756]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/reftest-compare.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-682): [#def757]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/reftest-compare.c:98: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
# 96| const guint32 *row_a = (const guint32 *) (buf_a + y * stride_a);
# 97| const guint32 *row_b = (const guint32 *) (buf_b + y * stride_b);
# 98|-> guint32 *row = (guint32 *) (buf_diff + y * stride_diff);
# 99|
# 100| for (x = 0; x < width; x++)
Error: COMPILER_WARNING (CWE-477): [#def758]
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/reftest-snapshot.c: scope_hint: In function ‘snapshot_widget’
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/reftest-snapshot.c:148:7: warning[-Wdeprecated-declarations]: ‘gdk_window_get_background_pattern’ is deprecated
# 148 | bg = gdk_window_get_background_pattern (gtk_widget_get_window (widget));
# | ^~
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkseat.h:28: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkdisplay.h:33: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkscreen.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkapplaunchcontext.h:31: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdk.h:32: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gtk/gtk.h:30: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/reftest-snapshot.h:21: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/testsuite/reftests/reftest-snapshot.c:23: included_from: Included from here.
gtk3-3.24.42-build/gtk+-3.24.42/gdk/gdkwindow.h:793:18: note: declared here
# 793 | cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 146| break;
# 147| case SNAPSHOT_DRAW:
# 148|-> bg = gdk_window_get_background_pattern (gtk_widget_get_window (widget));
# 149| if (bg)
# 150| {
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-121.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | gtk3-3.24.42-2.fc41 |
store-results-to | /tmp/tmpx2lh4cth/gtk3-3.24.42-2.fc41.tar.xz |
time-created | 2024-07-03 13:31:30 |
time-finished | 2024-07-03 13:58:03 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpx2lh4cth/gtk3-3.24.42-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpx2lh4cth/gtk3-3.24.42-2.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |