libcafeweather (clang-tools 1:16.0-57) - scan-build results

User:root@0fa72f7466e1
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 16.0.6 (19)
Date:Sun Feb 11 18:57:43 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs10
Logic error
Dereference of null pointer1
Out-of-bound access2
Unix Stream API Error
Resource Leak1
Unused code
Dead assignment2
Dead initialization2
Unreachable code2

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unused codeDead assignmentweather.c_weather_info_fill4971View Report
Unused codeDead assignmentweather-metar.cmetar_parse4541View Report
Unused codeDead initializationweather-sun.ccalc_sun21651View Report
Unused codeDead initializationweather-sun.ccalc_sun21641View Report
Logic errorDereference of null pointerweather-met.cmet_reprocess11123View Report
Logic errorOut-of-bound accessweather-met.cmet_reprocess11144View Report
Logic errorOut-of-bound accessweather-metar.cmetar_tok_vis1699View Report
Unix Stream API ErrorResource Leaktest_metar.cmain738View Report
Unused codeUnreachable codeweather-metar.cmetar_tok_vis1771View Report
Unused codeUnreachable codeweather-sun.cweather_info_next_sun_event3391View Report