cafe-power-manager (clang-tools 1:16.0-58.1) - scan-build results

User:root@db034b2c798a
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 16.0.6 (27+b1)
Date:Sun Jul 14 21:51:30 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs13
Logic error
Dereference of null pointer1
Memory error
Use-after-free1
Unused code
Dead assignment5
Unreachable code6

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unused codeDead assignmentcpm-prefs-core.ccpm_prefs_init8251View Report
Unused codeDead assignmentcpm-manager.ccpm_manager_init18221View Report
Unused codeDead assignmentcpm-statistics.cmain12551View Report
Unused codeDead assignmentcsd_media-keys-window.ccsd_media_keys_window_init6551View Report
Unused codeDead assignmentcpm-statistics.cmain14471View Report
Logic errorDereference of null pointercpm-manager.ccpm_manager_systemd_inhibit178612View Report
Unused codeUnreachable codecpm-dpms.ccpm_dpms_poll_mode_cb2371View Report
Unused codeUnreachable codecpm-brightness.ccpm_brightness_down7641View Report
Unused codeUnreachable codecpm-main.cmain2471View Report
Unused codeUnreachable codecpm-control.ccpm_control_hibernate3911View Report
Unused codeUnreachable codecpm-control.ccpm_control_suspend2731View Report
Unused codeUnreachable codeegg-idletime.cegg_idletime_finalize4461View Report
Memory errorUse-after-freeegg-idletime.cegg_idletime_alarm_free33422View Report