cafe-control-center (clang-tools 1:16.0-58.1) - scan-build results

User:root@cd19db5d3b1b
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 16.0.6 (27+b1)
Date:Tue Aug 6 11:15:17 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs27
API
Argument with 'nonnull' attribute passed null3
Logic error
Cast from non-struct type to struct type3
Dereference of null pointer2
Out-of-bound access8
Uninitialized argument value2
Memory error
Memory leak1
Unused code
Dead assignment1
Dead nested assignment2
Unreachable code5

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullcapplets/appearance/appearance-themes.ctheme_message_area_update60121View Report
APIArgument with 'nonnull' attribute passed nullcapplets/time-admin/src/time-zone.cload_backward_tz14717View Report
APIArgument with 'nonnull' attribute passed nullcapplets/about-me/cafe-about-me-fingerprint.cget_reason_for_error9912View Report
Logic errorCast from non-struct type to struct typecapplets/keybindings/cafe-keybinding-properties.cappend_keys_to_tree_from_file9211View Report
Logic errorCast from non-struct type to struct typecapplets/keybindings/cafe-keybinding-properties.cappend_keys_to_tree_from_file9551View Report
Logic errorCast from non-struct type to struct typecapplets/keybindings/cafe-keybinding-properties.cappend_keys_to_tree_from_gsettings10161View Report
Unused codeDead assignmentcapplets/keyboard/cafe-keyboard-properties-xkbltadd.cxkl_layout_chooser_add_default_switcher_if_necessary4061View Report
Unused codeDead nested assignmentcapplets/keyboard/cafe-keyboard-properties-xkbpv.cxkb_layout_preview_set_drawing_layout931View Report
Unused codeDead nested assignmentcapplets/keyboard/cafe-keyboard-properties-xkbpv.cxkb_layout_preview_set_drawing_layout961View Report
Logic errorDereference of null pointercapplets/common/ctkrc-utils.cctkrc_get_details16324View Report
Logic errorDereference of null pointercapplets/keybindings/cafe-keybinding-properties.cshow_error120821View Report
Memory errorMemory leakcapplets/common/cafe-theme-info.creal_add_top_theme_dir_monitor123516View Report
Logic errorOut-of-bound accesscapplets/appearance/theme-save.cescape_string_and_dup6323View Report
Logic errorOut-of-bound accesslibslab/bookmark-agent.cupdate_items67017View Report
Logic errorOut-of-bound accesscapplets/appearance/theme-save.cescape_string_and_dup6417View Report
Logic errorOut-of-bound accesslibslab/bookmark-agent.cupdate_items69127View Report
Logic errorOut-of-bound accesscapplets/appearance/theme-save.cescape_string_and_dup6817View Report
Logic errorOut-of-bound accesslibslab/bookmark-agent.cupdate_items71926View Report
Logic errorOut-of-bound accesscapplets/appearance/theme-save.cescape_string_and_dup7914View Report
Logic errorOut-of-bound accesscapplets/appearance/theme-save.cescape_string_and_dup7217View Report
Logic errorUninitialized argument valuefont-viewer/sushi-font-widget.csushi_font_widget_draw50713View Report
Logic errorUninitialized argument valuecapplets/display/xrandr-capplet.con_clone_changed100913View Report
Unused codeUnreachable codecapplets/common/theme-thumbnail.cgenerate_ctk_theme_thumbnail9341View Report
Unused codeUnreachable codecapplets/appearance/cafe-wp-item.cwp_item_shading_to_string601View Report
Unused codeUnreachable codecapplets/appearance/cafe-wp-item.cwp_item_option_to_string351View Report
Unused codeUnreachable codetyping-break/drw-break-window.cpostpone_clicked_cb5041View Report
Unused codeUnreachable codetyping-break/drw-break-window.cpostpone_clicked_cb4981View Report