cafe-sensors-applet (clang-tools 1:19.0-63) - scan-build results

User:root@955a1ccbe78f
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 19.1.7 (1+b1)
Date:Wed Feb 12 07:23:07 2025

Bug Summary

Bug TypeQuantityDisplay?
All Bugs17
Logic error
Cast from non-struct type to struct type7
Division by zero1
Garbage return value1
Uninitialized argument value1
Stream handling error
Invalid stream state1
Stream already in EOF1
Unused code
Dead assignment5

Filter Results by File

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_sensors3001View 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 typesensors-applet/sensors-applet.cprefs_cb621View Report
Logic errorCast from non-struct type to struct typeplugins/udisks2/udisks2-plugin.cudisks2_plugin_get_sensors3231View Report
Logic errorCast from non-struct type to struct typeplugins/udisks2/udisks2-plugin.cudisks2_plugin_get_sensors3201View Report
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_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_value20410View Report
Stream handling errorInvalid stream stateplugins/i8k/i8k-plugin.ci8k_plugin_get_sensor_value1069View Report
Stream handling errorStream already in EOFplugins/i8k/i8k-plugin.ci8k_plugin_get_sensor_value1069View Report
Logic errorUninitialized argument valuesensors-applet/active-sensor.cactive_sensor_update_graph3056View Report