Error: GCC_ANALYZER_WARNING (CWE-688): [#def1] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2062:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:3556:1: enter_function: entry to ‘adw_show_about_dialog_from_appdata’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:3565:3: branch_false: following ‘false’ branch (when ‘parent’ is non-NULL)... libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:3565:3: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:3567:12: call_function: calling ‘adw_about_dialog_new_from_appdata’ from ‘adw_show_about_dialog_from_appdata’ #argument 1 of ‘__builtin_strlen’ must be non-null # 2060| if (!entries || !g_ptr_array_find_with_equal_func (entries, appid_desktop, # 2061| g_str_equal, NULL)) # 2062|-> application_id[strlen(application_id) - 8] = '\0'; # 2063| # 2064| g_free (appid_desktop); Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2203:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_icon’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2193:1: enter_function: entry to ‘adw_about_dialog_set_application_icon’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2199:8: call_function: calling ‘g_set_str’ from ‘adw_about_dialog_set_application_icon’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2199:8: return_function: returning to ‘adw_about_dialog_set_application_icon’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2199:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2203:47: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2203:47: danger: dereference of NULL ‘application_icon’ # 2201| # 2202| gtk_widget_set_visible (self->app_icon_image, # 2203|-> application_icon && *application_icon); # 2204| # 2205| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_ICON]); Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2248:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2238:1: enter_function: entry to ‘adw_about_dialog_set_application_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2244:8: call_function: calling ‘g_set_str’ from ‘adw_about_dialog_set_application_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2244:8: return_function: returning to ‘adw_about_dialog_set_application_name’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2244:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2248:47: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2248:47: danger: dereference of NULL ‘application_name’ # 2246| # 2247| gtk_widget_set_visible (self->app_name_label, # 2248|-> application_name && *application_name); # 2249| # 2250| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_NAME]); Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2298:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘developer_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2288:1: enter_function: entry to ‘adw_about_dialog_set_developer_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2294:8: call_function: calling ‘g_set_str’ from ‘adw_about_dialog_set_developer_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2294:8: return_function: returning to ‘adw_about_dialog_set_developer_name’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2294:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2298:45: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2298:45: danger: dereference of NULL ‘developer_name’ # 2296| # 2297| gtk_widget_set_visible (self->developer_name_label, # 2298|-> developer_name && *developer_name); # 2299| # 2300| if (developer_name && *developer_name) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def5] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2355:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘version’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2346:1: enter_function: entry to ‘adw_about_dialog_set_version’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2352:8: call_function: calling ‘g_set_str’ from ‘adw_about_dialog_set_version’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2352:8: return_function: returning to ‘adw_about_dialog_set_version’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2352:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2355:60: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-about-dialog.c:2355:60: danger: dereference of NULL ‘version’ # 2353| return; # 2354| # 2355|-> gtk_widget_set_visible (self->version_button, version && *version); # 2356| # 2357| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_VERSION]); Error: GCC_ANALYZER_WARNING (CWE-688): [#def6] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2076:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:3539:1: enter_function: entry to ‘adw_show_about_window_from_appdata’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:3548:12: call_function: calling ‘adw_about_window_new_from_appdata’ from ‘adw_show_about_window_from_appdata’ #argument 1 of ‘__builtin_strlen’ must be non-null # 2074| if (!entries || !g_ptr_array_find_with_equal_func (entries, appid_desktop, # 2075| g_str_equal, NULL)) # 2076|-> application_id[strlen(application_id) - 8] = '\0'; # 2077| # 2078| g_free (appid_desktop); Error: GCC_ANALYZER_WARNING (CWE-476): [#def7] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2219:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_icon’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2209:1: enter_function: entry to ‘adw_about_window_set_application_icon’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2215:8: call_function: calling ‘g_set_str’ from ‘adw_about_window_set_application_icon’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2215:8: return_function: returning to ‘adw_about_window_set_application_icon’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2215:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2219:47: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2219:47: danger: dereference of NULL ‘application_icon’ # 2217| # 2218| gtk_widget_set_visible (self->app_icon_image, # 2219|-> application_icon && *application_icon); # 2220| # 2221| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_ICON]); Error: GCC_ANALYZER_WARNING (CWE-476): [#def8] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2266:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘application_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2256:1: enter_function: entry to ‘adw_about_window_set_application_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2262:8: call_function: calling ‘g_set_str’ from ‘adw_about_window_set_application_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2262:8: return_function: returning to ‘adw_about_window_set_application_name’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2262:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2266:47: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2266:47: danger: dereference of NULL ‘application_name’ # 2264| # 2265| gtk_widget_set_visible (self->app_name_label, # 2266|-> application_name && *application_name); # 2267| # 2268| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_APPLICATION_NAME]); Error: GCC_ANALYZER_WARNING (CWE-476): [#def9] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2318:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘developer_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2308:1: enter_function: entry to ‘adw_about_window_set_developer_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2314:8: call_function: calling ‘g_set_str’ from ‘adw_about_window_set_developer_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2314:8: return_function: returning to ‘adw_about_window_set_developer_name’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2314:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2318:45: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2318:45: danger: dereference of NULL ‘developer_name’ # 2316| # 2317| gtk_widget_set_visible (self->developer_name_label, # 2318|-> developer_name && *developer_name); # 2319| # 2320| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_DEVELOPER_NAME]); Error: GCC_ANALYZER_WARNING (CWE-476): [#def10] libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2367:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘version’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2358:1: enter_function: entry to ‘adw_about_window_set_version’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2364:8: call_function: calling ‘g_set_str’ from ‘adw_about_window_set_version’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2364:8: return_function: returning to ‘adw_about_window_set_version’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2364:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2367:60: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-about-window.c:2367:60: danger: dereference of NULL ‘version’ # 2365| return; # 2366| # 2367|-> gtk_widget_set_visible (self->version_button, version && *version); # 2368| # 2369| g_object_notify_by_pspec (G_OBJECT (self), props[PROP_VERSION]); Error: GCC_ANALYZER_WARNING (CWE-476): [#def11] libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1428:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘heading’ libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1412:1: enter_function: entry to ‘adw_alert_dialog_set_heading’ libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1422:8: call_function: calling ‘g_set_str’ from ‘adw_alert_dialog_set_heading’ libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1422:8: return_function: returning to ‘adw_alert_dialog_set_heading’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1422:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1425:24: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1428:57: danger: dereference of NULL ‘heading’ # 1426| gtk_label_set_label (GTK_LABEL (priv->heading_label_small), heading); # 1427| # 1428|-> gtk_widget_set_visible (priv->heading_bin, heading && *heading); # 1429| # 1430| if (heading && *heading) Error: GCC_ANALYZER_WARNING (CWE-476): [#def12] libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1637:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘body’ libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1623:1: enter_function: entry to ‘adw_alert_dialog_set_body’ libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1633:8: call_function: calling ‘g_set_str’ from ‘adw_alert_dialog_set_body’ libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1633:8: return_function: returning to ‘adw_alert_dialog_set_body’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1633:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1636:24: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-alert-dialog.c:1637:53: danger: dereference of NULL ‘body’ # 1635| # 1636| gtk_label_set_label (GTK_LABEL (priv->body_label), body); # 1637|-> gtk_widget_set_visible (priv->body_label, body && *body); # 1638| # 1639| if (body && *body) Error: GCC_ANALYZER_WARNING (CWE-476): [#def13] libadwaita-1.7.2/redhat-linux-build/../src/adw-button-content.c:355:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘icon_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-button-content.c:346:1: enter_function: entry to ‘adw_button_content_set_icon_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-button-content.c:352:8: call_function: calling ‘g_set_str’ from ‘adw_button_content_set_icon_name’ libadwaita-1.7.2/redhat-linux-build/../src/adw-button-content.c:352:8: return_function: returning to ‘adw_button_content_set_icon_name’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-button-content.c:352:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-button-content.c:355:8: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-button-content.c:355:8: danger: dereference of NULL ‘icon_name’ # 353| return; # 354| # 355|-> if (!icon_name[0]) # 356| icon_name = "image-missing"; # 357| Error: GCC_ANALYZER_WARNING (CWE-476): [#def14] libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1288:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1266:1: enter_function: entry to ‘adw_carousel_reorder’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1275:3: branch_true: following ‘true’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1276:3: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1276:3: branch_false: following ‘false’ branch (when ‘child’ is non-NULL)... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1276:3: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1276:3: branch_true: following ‘true’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1277:3: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1277:3: branch_true: following ‘true’ branch (when ‘position >= -1’)... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1279:19: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1279:19: call_function: calling ‘get_closest_snap_point’ from ‘adw_carousel_reorder’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1279:19: return_function: returning to ‘adw_carousel_reorder’ from ‘get_closest_snap_point’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1285:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1288:3: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1288:3: danger: dereference of NULL ‘<unknown>’ # 1286| return; # 1287| # 1288|-> old_point = info->snap_point; # 1289| n_pages = adw_carousel_get_n_pages (self); # 1290| Error: GCC_ANALYZER_WARNING (CWE-476): [#def15] libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1368:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1355:1: enter_function: entry to ‘adw_carousel_remove’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1360:3: branch_true: following ‘true’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1361:3: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1361:3: branch_false: following ‘false’ branch (when ‘child’ is non-NULL)... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1361:3: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1361:3: branch_true: following ‘true’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1362:3: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1362:3: branch_true: following ‘true’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1364:10: call_function: inlined call to ‘find_child_info’ from ‘adw_carousel_remove’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1366:3: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1366:3: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1368:3: danger: dereference of NULL ‘<unknown>’ # 1366| g_assert_nonnull (info); # 1367| # 1368|-> info->removing = TRUE; # 1369| # 1370| gtk_widget_unparent (child); Error: GCC_ANALYZER_WARNING (CWE-476): [#def16] libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1464:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1456:1: enter_function: entry to ‘adw_carousel_get_nth_page’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1464:10: call_function: calling ‘get_nth_link’ from ‘adw_carousel_get_nth_page’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1464:10: return_function: returning to ‘adw_carousel_get_nth_page’ from ‘get_nth_link’ libadwaita-1.7.2/redhat-linux-build/../src/adw-carousel.c:1464:3: danger: dereference of NULL ‘get_nth_link(self, (int)n)’ # 1462| g_return_val_if_fail (n < adw_carousel_get_n_pages (self), NULL); # 1463| # 1464|-> info = get_nth_link (self, n)->data; # 1465| # 1466| return info->widget; Error: GCC_ANALYZER_WARNING (CWE-476): [#def17] libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1530:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘heading’ libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1514:1: enter_function: entry to ‘adw_message_dialog_set_heading’ libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1524:8: call_function: calling ‘g_set_str’ from ‘adw_message_dialog_set_heading’ libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1524:8: return_function: returning to ‘adw_message_dialog_set_heading’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1524:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1527:24: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1530:57: danger: dereference of NULL ‘heading’ # 1528| gtk_label_set_label (GTK_LABEL (priv->heading_label_small), heading); # 1529| # 1530|-> gtk_widget_set_visible (priv->heading_bin, heading && *heading); # 1531| # 1532| if (heading && *heading) Error: GCC_ANALYZER_WARNING (CWE-476): [#def18] libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1745:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘body’ libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1731:1: enter_function: entry to ‘adw_message_dialog_set_body’ libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1741:8: call_function: calling ‘g_set_str’ from ‘adw_message_dialog_set_body’ libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1741:8: return_function: returning to ‘adw_message_dialog_set_body’ from ‘g_set_str’ libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1741:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1744:24: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-message-dialog.c:1745:53: danger: dereference of NULL ‘body’ # 1743| # 1744| gtk_label_set_label (GTK_LABEL (priv->body_label), body); # 1745|-> gtk_widget_set_visible (priv->body_label, body && *body); # 1746| # 1747| if (body && *body) Error: GCC_ANALYZER_WARNING (CWE-476): [#def19] libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1247:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1245:6: branch_true: following ‘true’ branch... branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1246:17: branch_true: following ‘true’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1247:7: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1247:7: danger: dereference of NULL ‘l’ # 1245| if (self->reorder_index > original_index) # 1246| for (i = 0; i < self->reorder_index - original_index; i++) { # 1247|-> l = l->next; # 1248| animate_reorder_offset (self, l->data, 0); # 1249| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def20] libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1253:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1251:6: branch_true: following ‘true’ branch... branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1252:17: branch_true: following ‘true’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1253:7: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1253:7: danger: dereference of NULL ‘l’ # 1251| if (self->reorder_index < original_index) # 1252| for (i = 0; i < original_index - self->reorder_index; i++) { # 1253|-> l = l->prev; # 1254| animate_reorder_offset (self, l->data, 0); # 1255| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def21] libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-box.c:1281:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 1279| # 1280| link = find_link_for_page (self, page); # 1281|-> info = link->data; # 1282| original_index = g_list_position (self->tabs, link); # 1283| Error: GCC_ANALYZER_WARNING (CWE-476): [#def22] libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1270:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1268:6: branch_true: following ‘true’ branch... branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1269:17: branch_true: following ‘true’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1270:7: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1270:7: danger: dereference of NULL ‘l’ # 1268| if (self->reorder_index > original_index) # 1269| for (i = 0; i < self->reorder_index - original_index; i++) { # 1270|-> l = l->next; # 1271| animate_reorder_offset (self, l->data, 0); # 1272| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def23] libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1276:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1274:6: branch_true: following ‘true’ branch... branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1275:17: branch_true: following ‘true’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1276:7: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1276:7: danger: dereference of NULL ‘l’ # 1274| if (self->reorder_index < original_index) # 1275| for (i = 0; i < original_index - self->reorder_index; i++) { # 1276|-> l = l->prev; # 1277| animate_reorder_offset (self, l->data, 0); # 1278| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def24] libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:1302:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 1300| # 1301| link = find_link_for_page (self, page); # 1302|-> info = link->data; # 1303| original_index = g_list_position (self->tabs, link); # 1304| Error: GCC_ANALYZER_WARNING (CWE-476): [#def25] libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3140:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3094:1: enter_function: entry to ‘adw_tab_grid_focus’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3108:7: call_function: inlined call to ‘find_link_for_widget’ from ‘adw_tab_grid_focus’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3110:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3113:8: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3113:7: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3117:13: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3117:13: branch_false: following ‘false’ branch (when ‘direction != start’)... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3123:13: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3123:13: branch_false: following ‘false’ branch (when ‘end != direction’)... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3129:13: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3129:13: branch_false: following ‘false’ branch (when ‘direction != 2’)... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3138:13: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3138:13: branch_true: following ‘true’ branch (when ‘direction == 3’)... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3139:52: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3139:24: call_function: calling ‘find_nth_visible_tab’ from ‘adw_tab_grid_focus’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3139:24: return_function: returning to ‘adw_tab_grid_focus’ from ‘find_nth_visible_tab’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3140:14: danger: dereference of NULL ‘find_nth_visible_tab(widget, (unsigned int)(get_n_visible_tabs(widget) + -1))’ # 3138| } else if (direction == GTK_DIR_DOWN) { # 3139| GList *last_link = find_nth_visible_tab (self, get_n_visible_tabs (self) - 1); # 3140|-> TabInfo *last_info = last_link->data; # 3141| int last_col = (int) round (fmod (last_info->final_index, n_columns)); # 3142| int empty_slots = n_columns - last_col; Error: GCC_ANALYZER_WARNING (CWE-476): [#def26] libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3857:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3842:1: enter_function: entry to ‘adw_tab_grid_focus_first_row’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3848:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3851:6: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3854:12: call_function: calling ‘get_n_visible_tabs’ from ‘adw_tab_grid_focus_first_row’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3854:12: return_function: returning to ‘adw_tab_grid_focus_first_row’ from ‘get_n_visible_tabs’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3857:10: call_function: calling ‘find_nth_visible_tab’ from ‘adw_tab_grid_focus_first_row’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3857:10: return_function: returning to ‘adw_tab_grid_focus_first_row’ from ‘find_nth_visible_tab’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3857:3: danger: dereference of NULL ‘find_nth_visible_tab(self, (unsigned int)column)’ # 3855| column = CLAMP (column, 0, MIN (n_tabs, self->n_columns) - 1); # 3856| # 3857|-> info = find_nth_visible_tab (self, column)->data; # 3858| # 3859| scroll_to_tab (self, info, FOCUS_ANIMATION_DURATION); Error: GCC_ANALYZER_WARNING (CWE-476): [#def27] libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3884:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3865:1: enter_function: entry to ‘adw_tab_grid_focus_last_row’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3871:6: branch_false: following ‘false’ branch... libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3874:10: branch_false: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3884:10: call_function: calling ‘find_nth_visible_tab’ from ‘adw_tab_grid_focus_last_row’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3884:10: return_function: returning to ‘adw_tab_grid_focus_last_row’ from ‘find_nth_visible_tab’ libadwaita-1.7.2/redhat-linux-build/../src/adw-tab-grid.c:3884:3: danger: dereference of NULL ‘find_nth_visible_tab(self, (unsigned int)(get_n_visible_tabs(self) + -1 - last_col + column))’ # 3882| column = CLAMP (column, 0, MIN (n_tabs - 1, last_col)); # 3883| # 3884|-> info = find_nth_visible_tab (self, n_tabs - 1 - last_col + column)->data; # 3885| # 3886| scroll_to_tab (self, info, FOCUS_ANIMATION_DURATION); Error: GCC_ANALYZER_WARNING (CWE-476): [#def28] libadwaita-1.7.2/redhat-linux-build/../src/adw-wrap-layout.c:536:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘natural’ libadwaita-1.7.2/redhat-linux-build/../src/adw-wrap-layout.c:633:1: enter_function: entry to ‘search_for_min_size’ libadwaita-1.7.2/redhat-linux-build/../src/adw-wrap-layout.c:649:10: branch_true: following ‘true’ branch (when ‘min < max’)... libadwaita-1.7.2/redhat-linux-build/../src/adw-wrap-layout.c:656:16: branch_true: ...to here libadwaita-1.7.2/redhat-linux-build/../src/adw-wrap-layout.c:667:5: call_function: calling ‘adw_wrap_layout_measure’ from ‘search_for_min_size’ # 534| } else { # 535| /* Empty. */ # 536|-> *minimum = *natural = 0; # 537| *minimum_baseline = *natural_baseline = -1; # 538| }
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-48.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | libadwaita-1.7.2-1.fc43 |
store-results-to | /tmp/tmp99h06yll/libadwaita-1.7.2-1.fc43.tar.xz |
time-created | 2025-04-25 14:02:38 |
time-finished | 2025-04-25 14:16:33 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp99h06yll/libadwaita-1.7.2-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp99h06yll/libadwaita-1.7.2-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |