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

User:root@d076fb8d0574
Working Directory:/rootdir
Command Line:make -j 5
Clang Version:Debian clang version 16.0.6 (19)
Date:Wed Feb 7 17:12:27 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs17
API
Argument with 'nonnull' attribute passed null1
Logic error
Cast from non-struct type to struct type2
Dereference of null pointer4
Out-of-bound access2
Result of operation is garbage or undefined1
Unused code
Dead increment1
Unreachable code6

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullcafe-dictionary/libgdict/gdict-client-context.cgdict_client_context_parse_line148917View Report
Logic errorCast from non-struct type to struct typegsearchtool/libeggsmclient/eggsmclient-xsmp.cptrarray_prop11871View Report
Logic errorCast from non-struct type to struct typegsearchtool/libeggsmclient/eggsmclient-xsmp.carray_prop11541View Report
Unused codeDead incrementcafe-dictionary/libgdict/gdict-client-context.cgdict_client_context_parse_line13871View Report
Logic errorDereference of null pointercafe-dictionary/libgdict/gdict-client-context.cgdict_client_context_parse_line161822View Report
Logic errorDereference of null pointercafe-dictionary/libgdict/gdict-client-context.cgdict_client_context_parse_line151221View Report
Logic errorDereference of null pointercafe-dictionary/libgdict/gdict-client-context.cgdict_client_context_parse_line145822View Report
Logic errorDereference of null pointercafe-dictionary/libgdict/gdict-client-context.cgdict_client_context_parse_line141122View Report
Logic errorOut-of-bound accesscafe-screenshot/src/cafe-screenshot.cbuild_uri92625View Report
Logic errorOut-of-bound accesscafe-dictionary/libgdict/gdict-defbox.cbreakup_string86324View Report
Logic errorResult of operation is garbage or undefinedcafe-dictionary/libgdict/gdict-defbox.clines_match62727View Report
Unused codeUnreachable codecafe-screenshot/src/cafe-screenshot.cmain13541View Report
Unused codeUnreachable codecafe-dictionary/libgdict/gdict-client-context.cgdict_client_context_parse_line14051View Report
Unused codeUnreachable codebaobab/src/baobab.cshow_version12191View Report
Unused codeUnreachable codecafe-screenshot/src/cafe-screenshot.cmain13941View Report
Unused codeUnreachable codecafe-screenshot/src/screenshot-save.cscreenshot_save_start2231View Report
Unused codeUnreachable codecafe-dictionary/libgdict/gdict-client-context.cgdict_client_context_finalize4751View Report