cafe-panel (clang-tools 1:16.0-57) - scan-build results

User:root@58c74cb3189e
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 16.0.6 (19)
Date:Sun Jan 21 11:54:14 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs28
Logic error
Assigned value is garbage or undefined1
Cast from non-struct type to struct type10
Dereference of null pointer2
Result of operation is garbage or undefined1
Unused code
Dead assignment10
Unreachable code4

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefinedcafe-panel/panel-toplevel.cpanel_toplevel_update_size24227View Report
Logic errorCast from non-struct type to struct typelibcafe-panel-applet/cafe-panel-applet.ccafe_panel_applet_set_flags2131View Report
Logic errorCast from non-struct type to struct typelibcafe-panel-applet/cafe-panel-applet.ccafe_panel_applet_get_property16111View Report
Logic errorCast from non-struct type to struct typelibcafe-panel-applet/cafe-panel-applet.ccafe_panel_applet_set_size_hints3051View Report
Logic errorCast from non-struct type to struct typecafe-panel/panel-multimonitor.cpanel_multimonitor_get_randr_monitors2081View Report
Logic errorCast from non-struct type to struct typelibcafe-panel-applet/cafe-panel-applet.ccafe_panel_applet_set_size_hints3121View Report
Logic errorCast from non-struct type to struct typecafe-panel/libegg/eggsmclient-xsmp.cptrarray_prop11941View Report
Logic errorCast from non-struct type to struct typecafe-panel/panel-context-menu.cpanel_context_menu_create3041View Report
Logic errorCast from non-struct type to struct typelibcafe-panel-applet/cafe-panel-applet.ccafe_panel_applet_setup17261View Report
Logic errorCast from non-struct type to struct typecafe-panel/libegg/eggsmclient-xsmp.carray_prop11611View Report
Logic errorCast from non-struct type to struct typelibcafe-panel-applet/cafe-panel-applet.cget_property_cb21441View Report
Unused codeDead assignmentcafe-panel/libpanel-util/panel-xdg.cpanel_xdg_icon_name_from_icon_path1211View Report
Unused codeDead assignmentcafe-panel/panel-toplevel.cpanel_toplevel_move_to7691View Report
Unused codeDead assignmentcafe-panel/panel-background.cpanel_background_prepare1191View Report
Unused codeDead assignmentcafe-panel/panel-background.cpanel_background_prepare1181View Report
Unused codeDead assignmentcafe-panel/panel-toplevel.cpanel_toplevel_update_attach_orientation25651View Report
Unused codeDead assignmentcafe-panel/panel-toplevel.cpanel_toplevel_move_to7701View Report
Unused codeDead assignmentcafe-panel/panel-toplevel.cpanel_toplevel_update_expanded_position20731View Report
Unused codeDead assignmentcafe-panel/panel-toplevel.cpanel_toplevel_resize_to_pointer5911View Report
Unused codeDead assignmentcafe-panel/panel-properties-dialog.cpanel_properties_dialog_present9331View Report
Unused codeDead assignmentcafe-panel/panel-toplevel.cpanel_toplevel_update_expanded_position20741View Report
Logic errorDereference of null pointercafe-panel/libpanel-util/panel-launch.c_panel_launch_handle_error7141View Report
Logic errorDereference of null pointerlibcafe-panel-applet/tmp-introspectltjtfen0/CafePanelApplet-4.0.cmain79912View Report
Logic errorResult of operation is garbage or undefinedcafe-panel/libpanel-util/panel-glib.cpanel_g_utf8_strstrcase14626View Report
Unused codeUnreachable codecafe-panel/panel-test-applets.cmain3691View Report
Unused codeUnreachable codeapplets/fish/fish.chandle_keypress15831View Report
Unused codeUnreachable codecafe-panel/libpanel-util/panel-launch.cpanel_launch_desktop_file_with_fallback2841View Report
Unused codeUnreachable codelibcafe-panel-applet/tmp-introspectltjtfen0/CafePanelApplet-4.0.cvalue_to_string2391View Report