libkanberra (clang-tools 1:14.0-55.3) - scan-build results

User:root@a5cee292acee
Working Directory:/rootdir
Command Line:make -j 3
Clang Version:Debian clang version 14.0.6
Date:Mon Dec 26 01:34:03 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs26
Logic error
Cast region with wrong size1
Dereference of null pointer1
Out-of-bound access2
Memory error
Memory leak1
Use-after-free3
Unix API
malloc() size overflow2
Unused code
Dead assignment7
Dead nested assignment4
Unreachable code5

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorCast region with wrong sizeproplist.cka_proplist_setf15413View Report
Unused codeDead assignmentkanberra-ctk-module.cdispatch_sound_event7351View Report
Unused codeDead assignmentkanberra-ctk-module.cdispatch_sound_event4871View Report
Unused codeDead assignmentkanberra-ctk-module.cdispatch_sound_event6471View Report
Unused codeDead assignmentkanberra-ctk-module.cdispatch_sound_event7441View Report
Unused codeDead assignmentkanberra-ctk-module.cdispatch_sound_event4421View Report
Unused codeDead assignmentkanberra-ctk-module.cdispatch_sound_event4591View Report
Unused codeDead assignmentkanberra-ctk-module.cdispatch_sound_event6791View Report
Unused codeDead nested assignmentpulse.cpulse_driver_cache12181View Report
Unused codeDead nested assignmentpulse.cpulse_driver_cache12121View Report
Unused codeDead nested assignmentpulse.cpulse_driver_play8941View Report
Unused codeDead nested assignmentpulse.cpulse_driver_cache12281View Report
Logic errorDereference of null pointerkanberra-ctk-module.cdispatch_sound_event59819View Report
Memory errorMemory leakcommon.cka_context_create14112View Report
Logic errorOut-of-bound accesssound-theme-spec.cfind_sound_for_name59597View Report
Logic errorOut-of-bound accesssound-theme-spec.cload_theme_path250132View Report
Unused codeUnreachable coderead-sound-file.cka_sound_file_read_arbitrary1941View Report
Unused codeUnreachable codeproplist.cka_proplist_setf1841View Report
Unused codeUnreachable codefork-detect.cka_detect_fork531View Report
Unused codeUnreachable codeproplist.cka_proplist_setf1721View Report
Unused codeUnreachable coderead-wav.cka_wav_open2451View Report
Memory errorUse-after-freepulse.cpulse_driver_destroy46253View Report
Memory errorUse-after-freesound-theme-spec.cka_theme_data_free85889View Report
Memory errorUse-after-freepulse.ccontext_state_cb29432View Report
Unix APImalloc() size overflowcache.cget_last_change4291View Report
Unix APImalloc() size overflowalsa.cthread_func3041View Report