cafe-settings-daemon (clang-tools 1:16.0-58.1) - scan-build results

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

Bug Summary

Bug TypeQuantityDisplay?
All Bugs21
Logic error
Assigned value is garbage or undefined1
Cast from non-struct type to struct type3
Division by zero2
Out-of-bound access4
Unix API
malloc() size overflow1
Unused code
Dead assignment3
Dead nested assignment2
Unreachable code5

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefinedplugins/xsettings/xsettings-common.cxsettings_list_free16224View Report
Logic errorCast from non-struct type to struct typeplugins/mouse/csd_mouse-manager.cset_motion_legacy_driver6891View Report
Logic errorCast from non-struct type to struct typeplugins/mouse/csd_mouse-manager.cxinput_device_has_buttons2061View Report
Logic errorCast from non-struct type to struct typeplugins/clipboard/xutils.ctimestamp_predicate871View Report
Unused codeDead assignmentplugins/xrandr/csd_xrandr-manager.cfind_best_mode8181View Report
Unused codeDead assignmentplugins/xrandr/csd_xrandr-manager.cfind_best_mode8171View Report
Unused codeDead assignmentplugins/media-keys/csd_media-keys-manager.cdo_eject_action6031View Report
Unused codeDead nested assignmentplugins/xrandr/csd_xrandr-manager.cfind_best_mode8021View Report
Unused codeDead nested assignmentplugins/xrandr/csd_xrandr-manager.cfind_best_mode8021View Report
Logic errorDivision by zeroplugins/clipboard/csd_clipboard-manager.csend_incrementally38414View Report
Logic errorDivision by zeroplugins/clipboard/csd_clipboard-manager.cconvert_clipboard_target53914View Report
Logic errorOut-of-bound accessplugins/keybindings/csd_keybindings-manager.cget_exec_environment43640View Report
Logic errorOut-of-bound accessplugins/xsettings/xsettings-manager.csetting_store3276View Report
Logic errorOut-of-bound accessplugins/xsettings/xsettings-manager.csetting_store3419View Report
Logic errorOut-of-bound accessplugins/keybindings/csd_keybindings-manager.cget_exec_environment43242View Report
Unused codeUnreachable codeplugins/datetime/csd_datetime-mechanism.cdo_exit521View Report
Unused codeUnreachable codeplugins/xsettings/xsettings-common.cxsettings_setting_equal1421View Report
Unused codeUnreachable codeplugins/xsettings/xsettings-common.cxsettings_byte_order2631View Report
Unused codeUnreachable codecafe-settings-daemon/main.cmain5491View Report
Unused codeUnreachable codecafe-settings-daemon/main.cmain4881View Report
Unix APImalloc() size overflowplugins/clipboard/csd_clipboard-manager.csave_targets2051View Report