UFOAI - scan-build results

User:archer@Yoshii.local
Working Directory:/Users/archer/Projects/UFOAI
Command Line:make -j4
Clang Version:clang version 3.2 (tags/checker/checker-267)
Date:Fri Jun 8 10:02:34 2012
Version:checker-267 (2012-06-01 14:49:04)

Bug Summary

Results in this analysis run are based on analyzer build checker-267.

Bug TypeQuantityDisplay?
All Bugs79
Dead store
Dead assignment18
Dead increment5
Logic error
Array subscript is undefined2
Assigned value is garbage or undefined5
Called function pointer is null (null dereference)1
Dereference of null pointer31
Function call argument is an uninitialized value7
Result of operation is garbage or undefined5
Stack address stored into global variable1
Unix API1
Memory Error
Memory leak3

Reports

Bug Group Bug Type ▾ File Line Path Length
Logic errorArray subscript is undefinedclient /renderer /r_model_alias.cpp48810View Report
Logic errorArray subscript is undefinedclient /renderer /r_model_alias.cpp50028View Report
Logic errorAssigned value is garbage or undefinedcommon /unzip.cpp703155View Report
Logic errorAssigned value is garbage or undefinedtools /ufo2map /common /polylib.cpp2423View Report
Logic errorAssigned value is garbage or undefinedtools /ufo2map /common /polylib.cpp3422View Report
Logic errorAssigned value is garbage or undefinedgame /g_svcmds.cpp1202View Report
Logic errorAssigned value is garbage or undefinedclient /cgame /campaign /cp_xvi.cpp1519View Report
Logic errorCalled function pointer is null (null dereference)client /cgame /campaign /cp_uforecovery_callbacks.cpp2947View Report
Dead storeDead assignmentclient /cgame /campaign /cp_building.cpp2111View Report
Dead storeDead assignmenttools /ufo2map /common /bspfile.cpp601View Report
Dead storeDead assignmenttools /ufo2map /faces.cpp1631View Report
Dead storeDead assignmentgame /g_move.cpp3121View Report
Dead storeDead assignmenttools /ufo2map /tree.cpp2051View Report
Dead storeDead assignmentcommon /routing.cpp5611View Report
Dead storeDead assignmentserver /sv_rma.cpp13161View Report
Dead storeDead assignmentcommon /unzip.cpp10241View Report
Dead storeDead assignmenttools /ufo2map /csg.cpp4581View Report
Dead storeDead assignmentcommon /routing.cpp5711View Report
Dead storeDead assignmentcommon /routing.cpp5611View Report
Dead storeDead assignmentcommon /routing.cpp5711View Report
Dead storeDead assignmentclient /cgame /campaign /cp_save.cpp3461View Report
Dead storeDead assignmentcommon /grid.cpp3561View Report
Dead storeDead assignmentclient /cgame /campaign /cp_aliencont.cpp6731View Report
Dead storeDead assignmentclient /ui /node /ui_node_textentry.cpp1751View Report
Dead storeDead assignmenttools /ufo2map /csg.cpp4641View Report
Dead storeDead assignmentgame /lua /lvm.cpp1581View Report
Dead storeDead incrementclient /ui /node /ui_node_textentry.cpp1821View Report
Dead storeDead incrementcommon /unzip.cpp6631View Report
Dead storeDead incrementcommon /unzip.cpp6651View Report
Dead storeDead incrementclient /cinematic /cl_cinematic_ogm.cpp3101View Report
Dead storeDead incrementclient /battlescape /cl_hud.cpp10401View Report
Logic errorDereference of null pointerserver /sv_mapcycle.cpp3710View Report
Logic errorDereference of null pointerserver /sv_ccmds.cpp766View Report
Logic errorDereference of null pointergame /lua /liolib.cpp3545View Report
Logic errorDereference of null pointergame /lua /lvm.cpp67725View Report
Logic errorDereference of null pointerclient /ui /ui_parse.cpp11497View Report
Logic errorDereference of null pointergame /g_ai_lua.cpp9461View Report
Logic errorDereference of null pointergame /g_ai_lua.cpp2901View Report
Logic errorDereference of null pointerclient /cgame /campaign /cp_missions.cpp17223View Report
Logic errorDereference of null pointergame /g_ai_lua.cpp3661View Report
Logic errorDereference of null pointerclient /battlescape /cl_hud.cpp116414View Report
Logic errorDereference of null pointerclient /cgame /campaign /cp_fightequip_callbacks.cpp8342View Report
Logic errorDereference of null pointergame /inventory.cpp2717View Report
Logic errorDereference of null pointerclient /ui /ui_expression.cpp71014View Report
Logic errorDereference of null pointerclient /cgame /campaign /cp_base.cpp1729View Report
Logic errorDereference of null pointergame /g_ai_lua.cpp9232View Report
Logic errorDereference of null pointerclient /cgame /campaign /cp_produce.cpp632View Report
Logic errorDereference of null pointerclient /ui /node /ui_node_material_editor.cpp30211View Report
Logic errorDereference of null pointerserver /sv_init.cpp477View Report
Logic errorDereference of null pointerclient /ui /node /ui_node_container.cpp56813View Report
Logic errorDereference of null pointerclient /cgame /campaign /cp_campaign.cpp2646View Report
Logic errorDereference of null pointercommon /net.cpp8755View Report
Logic errorDereference of null pointerclient /cgame /campaign /cp_research.cpp584View Report
Logic errorDereference of null pointergame /lua /ldebug.cpp6123View Report
Logic errorDereference of null pointerclient /ui /ui_nodes.cpp26813View Report
Logic errorDereference of null pointergame /g_ai_lua.cpp3456View Report
Logic errorDereference of null pointergame /g_ai_lua.cpp84810View Report
Logic errorDereference of null pointerclient /renderer /r_surface.cpp7815View Report
Logic errorDereference of null pointergame /g_ai_lua.cpp2741View Report
Logic errorDereference of null pointerclient /cgame /campaign /cp_fightequip_callbacks.cpp7666View Report
Logic errorDereference of null pointerserver /sv_ccmds.cpp766View Report
Logic errorDereference of null pointergame /lua /lparser.cpp98611View Report
Logic errorFunction call argument is an uninitialized valuegame /g_svcmds.cpp1956View Report
Logic errorFunction call argument is an uninitialized valuetools /ufo2map /check /checkentities.cpp1971View Report
Logic errorFunction call argument is an uninitialized valueclient /battlescape /cl_hud.cpp91413View Report
Logic errorFunction call argument is an uninitialized valueclient /battlescape /cl_hud.cpp92314View Report
Logic errorFunction call argument is an uninitialized valuegame /g_svcmds.cpp2238View Report
Logic errorFunction call argument is an uninitialized valuetools /ufo2map /threads.cpp15310View Report
Logic errorFunction call argument is an uninitialized valueclient /ui /node /ui_node_container.cpp8127View Report
Memory ErrorMemory leakshared /entitiesdef.cpp56163View Report
Memory ErrorMemory leakshared /entitiesdef.cpp56132View Report
Memory ErrorMemory leakshared /entitiesdef.cpp56132View Report
Logic errorResult of operation is garbage or undefinedclient /cgame /campaign /cp_aircraft.cpp20228View Report
Logic errorResult of operation is garbage or undefinedclient /cl_console.cpp985View Report
Logic errorResult of operation is garbage or undefinedcommon /routing.cpp126214View Report
Logic errorResult of operation is garbage or undefinedclient /ui /node /ui_node_image.cpp1818View Report
Logic errorResult of operation is garbage or undefinedcommon /routing.cpp126214View Report
Logic errorStack address stored into global variablecommon /md4.cpp1991View Report
Logic errorUnix APIgame /lua /lauxlib.cpp1054View Report