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:Sun Feb 6 20:39:04 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs18
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 leak5
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_init122116View 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 assignmentbin/tools/weighttp.cconfig_request14431View Report
Unused codeDead nested assignmentlib/realpathat.crealpathat2821View Report
Unused codeDead nested assignmentsamples/clock/gifenc.cput_image2141View Report
Logic errorDereference of null pointerlib/list.hlist_add_tail32417View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_revents95823View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_reset46026View Report
Logic errorDereference of null pointerbin/tools/weighttp.cclient_connect56427View 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_file7017View Report
Memory errorMemory leaklib/lwan-http-authorize.ccreate_realm_file7017View Report
Memory errorMemory leakbin/tools/weighttp.cworker_thread111819View Report
Memory errorMemory leaklib/lwan.cparse_listener_prefix33831View Report
Logic errorResult of operation is garbage or undefinedlib/lwan-thread.clwan_thread_init124722View Report