freedroid - scan-build results

User:matthias@t400
Working Directory:/home/matthias/vcs/git/freedroid
Command Line:make -k
Clang Version:clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Date:Wed Jul 2 01:04:53 2014

Bug Summary

Bug TypeQuantityDisplay?
All Bugs12
API
Argument with 'nonnull' attribute passed null1
Dead store
Dead assignment1
Dead increment3
Logic error
Dereference of null pointer1
Division by zero1
Out-of-bound array access1
Memory Error
Memory leak3
Unix API
Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)1

Reports

Bug Group Bug Type ▾ File Line Path Length
APIArgument with 'nonnull' attribute passed nullsrc /map.c16785View Report
Dead storeDead assignmentsrc /text_public.c6721View Report
Dead storeDead incrementsrc /takeover.c7431View Report
Dead storeDead incrementsrc /map.c3501View Report
Dead storeDead incrementsrc /skills.c9321View Report
Logic errorDereference of null pointersrc /blocks.c2064View Report
Logic errorDivision by zerosrc /mapgen /gram_simple.c2804View Report
Memory ErrorMemory leaksrc /lvledit /lvledit_actions.c2126View Report
Memory ErrorMemory leaksrc /text_public.c43814View Report
Memory ErrorMemory leaksrc /menu.c177330View Report
Logic errorOut-of-bound array accesssrc /text_public.c2006View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)win32 /pngtoico.c11628View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorsrc/chat.cclang_other_error_8Jl6xJ.iclang_other_error_8Jl6xJ.i.stderr.txt
Other Errorsrc/game_ui.cclang_other_error_F7Twt0.iclang_other_error_F7Twt0.i.stderr.txt
Other Errorsrc/quest_browser_ui.cclang_other_error_eGh2dd.iclang_other_error_eGh2dd.i.stderr.txt

Please consider submitting preprocessed files as bug reports.