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

User:root@22ecd89e4b78
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 16.0.6 (19)
Date:Thu Jan 11 17:32:36 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs15
Logic error
Cast from non-struct type to struct type7
Division by zero1
Garbage return value1
Uninitialized argument value1
Unused code
Dead assignment5

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorCast from non-struct type to struct typeplugins/udisks2/udisks2-plugin.cudisks2_plugin_get_sensors3211View Report
Logic errorCast from non-struct type to struct typeplugins/udisks2/udisks2-plugin.cudisks2_plugin_get_sensors3001View Report
Logic errorCast from non-struct type to struct typeplugins/udisks2/udisks2-plugin.cudisks2_plugin_get_sensors3221View Report
Logic errorCast from non-struct type to struct typeplugins/udisks2/udisks2-plugin.cudisks2_plugin_get_sensors3251View Report
Logic errorCast from non-struct type to struct typesensors-applet/sensors-applet.cprefs_cb621View Report
Logic errorCast from non-struct type to struct typeplugins/udisks2/udisks2-plugin.cudisks2_plugin_get_sensors3241View Report
Logic errorCast from non-struct type to struct typeplugins/udisks2/udisks2-plugin.cudisks2_plugin_get_sensors3011View Report
Unused codeDead assignmentsensors-applet/sensors-applet.csensors_applet_add_sensor8671View Report
Unused codeDead assignmentsensors-applet/sensors-applet.csensors_applet_add_sensor8941View Report
Unused codeDead assignmentplugins/libsensors/libsensors-plugin.clibsensors_plugin_get_sensors2831View Report
Unused codeDead assignmentsensors-applet/active-sensor.cactive_sensor_update7281View Report
Unused codeDead assignmentsensors-applet/sensor-config-dialog.csensor_config_dialog_response791View Report
Logic errorDivision by zerosensors-applet/sensors-applet.csensors_applet_pack_display53613View Report
Logic errorGarbage return valueplugins/ibm-acpi/ibm-acpi-plugin.cibm_acpi_plugin_get_sensor_value20411View Report
Logic errorUninitialized argument valuesensors-applet/active-sensor.cactive_sensor_update_graph3056View Report