build - scan-build results

User:buildbot@hadron
Working Directory:/home/buildbot/lwan-worker/clang-analyze/build
Command Line:make
Clang Version:clang version 14.0.6
Date:Tue Nov 22 06:55:49 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs28
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 leak12
Use-after-free1
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_revents94022View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_reset44726View Report
Logic errorDereference of null pointerlib/list.hlist_add_tail32417View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_connect54827View Report
Memory errorDouble freelib/lwan-mod-rewrite.cparse_condition_key_value63927View Report
Memory errorDouble freelib/sd-daemon.csd_listen_fds_with_names22624View Report
Memory errorMemory leaklib/lwan-http-authorize.ccreate_realm_file7217View Report
Memory errorMemory leaklib/sd-daemon.cstrv_split15812View Report
Memory errorMemory leaklib/lwan.cparse_listener_prefix33835View Report
Memory errorMemory leakbin/tools/mimegen.cmain26624View Report
Memory errorMemory leakbin/lwan/main.cmain29415View Report
Memory errorMemory leaklib/lwan-http-authorize.ccreate_realm_file7217View Report
Memory errorMemory leakbin/tools/mimegen.cmain26622View Report
Memory errorMemory leakbin/tools/mimegen.cmain32920View Report
Memory errorMemory leakbin/tools/mimegen.cmain32935View Report
Memory errorMemory leakbin/tools/weighttp.cworker_thread110019View Report
Memory errorMemory leaklib/lwan.cparse_listener_prefix33835View Report
Memory errorMemory leakbin/tools/mimegen.cmain32941View 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_port172113View Report
Memory errorUse-after-freelib/lwan-strbuf.clwan_strbuf_reset3238View Report