build - scan-build results

User:buildbot@hadron
Working Directory:/home/buildbot/lwan-worker/clang-analyze/build
Command Line:make
Clang Version:clang version 13.0.1
Date:Tue May 17 02:16:44 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs26
Logic error
Array subscript is undefined1
Dangerous variable-length array (VLA) declaration1
Dereference of null pointer4
Result of operation is garbage or undefined1
Uninitialized argument value1
Memory error
Double free2
Memory leak11
Unused code
Dead assignment1
Dead increment1
Dead nested assignment3

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorArray subscript is undefinedlib/lwan-thread.clwan_thread_init129416View Report
Logic errorDangerous variable-length array (VLA) declarationbin/tools/weighttp.cmain19557View Report
Unused codeDead assignmentbin/tools/weighttp.cconfig_request14171View Report
Unused codeDead incrementbin/tools/weighttp.cconfig_request14161View Report
Unused codeDead nested assignmentbin/tools/weighttp.cconfig_request14171View Report
Unused codeDead nested assignmentlib/realpathat.crealpathat2821View Report
Unused codeDead nested assignmentsamples/clock/gifenc.cput_image2141View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_connect54827View Report
Logic errorDereference of null pointerlib/list.hlist_add_tail32417View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_reset44726View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_revents94023View Report
Memory errorDouble freelib/sd-daemon.csd_listen_fds_with_names22624View Report
Memory errorDouble freelib/lwan-mod-rewrite.cparse_condition_key_value61427View Report
Memory errorMemory leaklib/lwan.cparse_listener_prefix33831View Report
Memory errorMemory leaklib/lwan-http-authorize.ccreate_realm_file7217View Report
Memory errorMemory leakbin/tools/mimegen.cmain32935View Report
Memory errorMemory leaklib/lwan.cparse_listener_prefix33831View Report
Memory errorMemory leakbin/tools/mimegen.cmain26625View Report
Memory errorMemory leakbin/tools/weighttp.cworker_thread110019View Report
Memory errorMemory leakbin/tools/mimegen.cmain32920View Report
Memory errorMemory leakbin/tools/mimegen.cmain32941View Report
Memory errorMemory leaklib/sd-daemon.cstrv_split15812View Report
Memory errorMemory leakbin/tools/mimegen.cmain26623View Report
Memory errorMemory leaklib/lwan-http-authorize.ccreate_realm_file7217View Report
Logic errorResult of operation is garbage or undefinedlib/lwan-thread.clwan_thread_init132022View Report
Logic errorUninitialized argument valuelib/lwan-request.clwan_request_get_remote_address_and_port171013View Report