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.0
Date:Thu Nov 25 18:38:57 2021

Bug Summary

Bug TypeQuantityDisplay?
All Bugs23
Logic error
Array subscript is undefined1
Dangerous variable-length array (VLA) declaration1
Dereference of null pointer4
Result of operation is garbage or undefined1
Memory error
Double free1
Memory leak10
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_init89016View Report
Logic errorDangerous variable-length array (VLA) declarationbin/tools/weighttp.cmain19837View Report
Unused codeDead assignmentbin/tools/weighttp.cconfig_request14431View Report
Unused codeDead incrementbin/tools/weighttp.cconfig_request14421View Report
Unused codeDead nested assignmentlib/realpathat.crealpathat2821View Report
Unused codeDead nested assignmentbin/tools/weighttp.cconfig_request14431View Report
Unused codeDead nested assignmentsamples/clock/gifenc.cput_image2141View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_connect56427View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_reset46026View Report
Logic errorDereference of null pointerlib/list.hlist_add_tail32417View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_revents95823View Report
Memory errorDouble freelib/lwan-mod-rewrite.cparse_condition_key_value60027View Report
Memory errorMemory leaklib/lwan.cparse_listener_prefix33431View Report
Memory errorMemory leakbin/tools/mimegen.cmain32220View Report
Memory errorMemory leakbin/tools/mimegen.cmain26523View Report
Memory errorMemory leakbin/tools/mimegen.cmain32235View Report
Memory errorMemory leaklib/lwan.cparse_listener_prefix33431View Report
Memory errorMemory leaklib/lwan-http-authorize.ccreate_realm_file7517View Report
Memory errorMemory leakbin/tools/mimegen.cmain26525View Report
Memory errorMemory leakbin/tools/weighttp.cworker_thread111819View Report
Memory errorMemory leaklib/lwan-http-authorize.ccreate_realm_file7517View Report
Memory errorMemory leakbin/tools/mimegen.cmain32242View Report
Logic errorResult of operation is garbage or undefinedlib/lwan-thread.clwan_thread_init91622View Report