wu-ftpd-2.6.0 - scan-build results

User:srtate@scode
Working Directory:/home/srtate/z/wu-ftpd-2.6.0
Command Line:make
Clang Version:Ubuntu clang version 3.6.1-svn232753-1~exp1 (branches/release_36) (based on LLVM 3.6.1)
Date:Tue Mar 24 11:20:55 2015

Bug Summary

Bug TypeQuantityDisplay?
All Bugs45
API
Argument with 'nonnull' attribute passed null3
Dead store
Dead assignment10
Logic error
Dereference of null pointer1
Out-of-bound access1
Stack address stored into global variable2
Memory Error
Memory leak5
Security
Potential insecure implementation-specific behavior in call 'vfork'1
Return value is not checked in call to 'setegid'1
Return value is not checked in call to 'seteuid'19
Return value is not checked in call to 'setgid'1
Return value is not checked in call to 'setuid'1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullftpcmd.chelp373721View Report
APIArgument with 'nonnull' attribute passed nullglob.cstrspl6294View Report
APIArgument with 'nonnull' attribute passed nullftpshut.cmain46246View Report
Dead storeDead assignmentftpcount.cparsetime1071View Report
Dead storeDead assignmentftpd.csend_file_list63131View Report
Dead storeDead assignmentftpshut.cmain2801View Report
Dead storeDead assignmentaccess.cacl_remove13101View Report
Dead storeDead assignmentextensions.cchecknoretrieve16491View Report
Dead storeDead assignmentrealpath.cfb_realpath2131View Report
Dead storeDead assignmentftpcmd.cyydestruct13901View Report
Dead storeDead assignmentaccess.cparsetime1251View Report
Dead storeDead assignmentaccess.cacl_remove13131View Report
Dead storeDead assignmentextensions.callow_retrieve15811View Report
Logic errorDereference of null pointerglob.cblkcpy6094View Report
Memory ErrorMemory leakftpshut.cmain29913View Report
Memory ErrorMemory leakftpcount.cmain41715View Report
Memory ErrorMemory leakftpd.cReply72056View Report
Memory ErrorMemory leakftpcount.cmain41712View Report
Memory ErrorMemory leakftpd.cemail71163View Report
Logic errorOut-of-bound accessglob.cexpand23114View Report
SecurityPotential insecure implementation-specific behavior in call 'vfork'popen.cftpd_popen1341View Report
SecurityReturn value is not checked in call to 'setegid'private.cpriv_gpass3241View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath3571View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath1351View Report
SecurityReturn value is not checked in call to 'seteuid'popen.cftpd_popen1741View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath1761View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath1251View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath2441View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath2471View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath1791View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath1981View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath2261View Report
SecurityReturn value is not checked in call to 'seteuid'private.cpriv_gpass3231View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath2751View Report
SecurityReturn value is not checked in call to 'seteuid'private.cpriv_gpass3251View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath2861View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath2231View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath3511View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath3211View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath1951View Report
SecurityReturn value is not checked in call to 'seteuid'realpath.cfb_realpath3281View Report
SecurityReturn value is not checked in call to 'setgid'popen.cftpd_popen1751View Report
SecurityReturn value is not checked in call to 'setuid'popen.cftpd_popen1761View Report
Logic errorStack address stored into global variableftprestart.cmain31716View Report
Logic errorStack address stored into global variableftpshut.cmain47831View Report