obj-scan-build - scan-build results

User:teythoon@darnassus
Working Directory:/home/teythoon/qa/packages/hurd/obj-scan-build
Command Line:make -k
Clang Version:Debian clang version 3.2-11+b1 (tags/RELEASE_32/final) (based on LLVM 3.2)
Date:Fri Nov 14 21:16:58 2014

Bug Summary

Bug TypeQuantityDisplay?
All Bugs33
API
Argument with 'nonnull' attribute passed null1
Dead store
Dead assignment9
Logic error
Assigned value is garbage or undefined3
Division by zero1
Result of operation is garbage or undefined1
Uninitialized argument value2
Memory Error
Double free2
Memory leak6
Use-after-free3
Unix API
Allocator sizeof operand mismatch2
Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)3

Reports

Bug Group Bug Type ▾ File Line Path Length
Unix APIAllocator sizeof operand mismatchlibftpconn /unix.c611View Report
Unix APIAllocator sizeof operand mismatchlibftpconn /xfer.c421View Report
APIArgument with 'nonnull' attribute passed nullinit /init.c87416View Report
Logic errorAssigned value is garbage or undefinedlibftpconn /cmd.c13710View Report
Logic errorAssigned value is garbage or undefinedboot /boot.c75632View Report
Logic errorAssigned value is garbage or undefinedboot /boot.c16073View Report
Dead storeDead assignmentlibstore /zero.c1121View Report
Dead storeDead assignmentlibftpconn /cmd.c1611View Report
Dead storeDead assignmentinit /init.c4711View Report
Dead storeDead assignmentmach-defpager /default_pager.c24491View Report
Dead storeDead assignmentmach-defpager /wiring.c1201View Report
Dead storeDead assignmentmach-defpager /wiring.c1321View Report
Dead storeDead assignmentobj-scan-build /boot /ioServer.c1041View Report
Dead storeDead assignmentobj-scan-build /boot /ioServer.c9771View Report
Dead storeDead assignmentfstests /fstests.c561View Report
Logic errorDivision by zerolibstore /derive.c555View Report
Memory ErrorDouble freelibftpconn /names.c13723View Report
Memory ErrorDouble freelibftpconn /names.c20519View Report
Memory ErrorMemory leaklibshouldbeinlibc /idvec-impgids.c8213View Report
Memory ErrorMemory leaklibshouldbeinlibc /ugids-verify-auth.c18418View Report
Memory ErrorMemory leaklibftpconn /cwd.c4412View Report
Memory ErrorMemory leaklibftpconn /open.c9331View Report
Memory ErrorMemory leaklibftpconn /set-type.c598View Report
Memory ErrorMemory leaksutils /fstab.c90014View Report
Logic errorResult of operation is garbage or undefinedlibftpconn /reply.c23513View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)libstore /kids.c2044View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)libps /user.c424View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)fstests /fstests.c928View Report
Logic errorUninitialized argument valuemach-defpager /kalloc.c2155View Report
Logic errorUninitialized argument valuemach-defpager /kalloc.c2543View Report
Memory ErrorUse-after-freelibftpconn /names.c14423View Report
Memory ErrorUse-after-freelibftpconn /names.c16223View Report
Memory ErrorUse-after-freelibftpconn /names.c23329View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorlibps/proclist.cclang_other_error_02p4mp.iclang_other_error_02p4mp.i.stderr.txt
Other Errorlibstore/remap.cclang_other_error_3EOTR1.iclang_other_error_3EOTR1.i.stderr.txt
Other Errorsutils/swapon.cclang_other_error_5Nupyd.iclang_other_error_5Nupyd.i.stderr.txt
Other Errorlibports/manage-one-thread.cclang_other_error_5lXxKz.iclang_other_error_5lXxKz.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-verify.cclang_other_error_6ZGP8N.iclang_other_error_6ZGP8N.i.stderr.txt
Other Errorlibstore/memobj.cclang_other_error_6rgWI1.iclang_other_error_6rgWI1.i.stderr.txt
Other Errorlibps/context.cclang_other_error_8MBJFD.iclang_other_error_8MBJFD.i.stderr.txt
Other Errorlibps/fmt.cclang_other_error_9VDd6I.iclang_other_error_9VDd6I.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-verify.cclang_other_error_B3lsS9.iclang_other_error_B3lsS9.i.stderr.txt
Other Errorlibstore/bunzip2.cclang_other_error_DTx10K.iclang_other_error_DTx10K.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-rep.cclang_other_error_G6nG1d.iclang_other_error_G6nG1d.i.stderr.txt
Other Errorlibstore/gunzip.cclang_other_error_GL1x3j.iclang_other_error_GL1x3j.i.stderr.txt
Other Errorsutils/fsck.cclang_other_error_HHLnU5.iclang_other_error_HHLnU5.i.stderr.txt
Other Errorlibps/context.cclang_other_error_Hkcf9o.iclang_other_error_Hkcf9o.i.stderr.txt
Other Errorlibports/manage-multithread.cclang_other_error_Jprcnj.iclang_other_error_Jprcnj.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-rep.cclang_other_error_N73Vl2.iclang_other_error_N73Vl2.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-posix.cclang_other_error_NJCRZu.iclang_other_error_NJCRZu.i.stderr.txt
Other Errorlibps/fmt.cclang_other_error_NO58l9.iclang_other_error_NO58l9.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-rep.cclang_other_error_P8f4Gr.iclang_other_error_P8f4Gr.i.stderr.txt
Other Errorlibstore/url.cclang_other_error_PiQ_96.iclang_other_error_PiQ_96.i.stderr.txt
Other Errorlibps/proclist.cclang_other_error_RjQkMC.iclang_other_error_RjQkMC.i.stderr.txt
Other Errorsutils/clookup.cclang_other_error_Utm7sv.iclang_other_error_Utm7sv.i.stderr.txt
Other Errorlibstore/nbd.cclang_other_error_UvLo08.iclang_other_error_UvLo08.i.stderr.txt
Other Errorlibshouldbeinlibc/portinfo.cclang_other_error_XnysSY.iclang_other_error_XnysSY.i.stderr.txt
Other Errorlibps/procstat.cclang_other_error_ZT5_2_.iclang_other_error_ZT5_2_.i.stderr.txt
Other Errorsutils/swapoff.cclang_other_error__AZFMr.iclang_other_error__AZFMr.i.stderr.txt
Other Errorlibstore/url.cclang_other_error_aV_f2l.iclang_other_error_aV_f2l.i.stderr.txt
Other Errorlibshouldbeinlibc/portinfo.cclang_other_error_aZ7DHw.iclang_other_error_aZ7DHw.i.stderr.txt
Other Errorlibstore/rdwr.cclang_other_error_bC8BUs.iclang_other_error_bC8BUs.i.stderr.txt
Other Errorlibstore/argp.cclang_other_error_bLVNGi.iclang_other_error_bLVNGi.i.stderr.txt
Other Errorlibstore/bunzip2.cclang_other_error_giJTXV.iclang_other_error_giJTXV.i.stderr.txt
Other Errorlibstore/nbd.cclang_other_error_h21cVU.iclang_other_error_h21cVU.i.stderr.txt
Other Errorlibstore/remap.cclang_other_error_hF8wJS.iclang_other_error_hF8wJS.i.stderr.txt
Other Errorlibports/manage-one-thread.cclang_other_error_l7bbG3.iclang_other_error_l7bbG3.i.stderr.txt
Other Errorlibps/procstat.cclang_other_error_myohlL.iclang_other_error_myohlL.i.stderr.txt
Other Errorlibstore/decode.cclang_other_error_o6AUCh.iclang_other_error_o6AUCh.i.stderr.txt
Other Errorlibstore/decode.cclang_other_error_oSsOz8.iclang_other_error_oSsOz8.i.stderr.txt
Other Errorlibshouldbeinlibc/exec-reauth.cclang_other_error_q5ht07.iclang_other_error_q5ht07.i.stderr.txt
Other Errorlibstore/memobj.cclang_other_error_rMk2r3.iclang_other_error_rMk2r3.i.stderr.txt
Other Errorlibstore/gunzip.cclang_other_error_tttvyb.iclang_other_error_tttvyb.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-posix.cclang_other_error_uSStsp.iclang_other_error_uSStsp.i.stderr.txt
Other Errorlibshouldbeinlibc/exec-reauth.cclang_other_error_vlwmW7.iclang_other_error_vlwmW7.i.stderr.txt
Other Errorlibstore/rdwr.cclang_other_error_wdTOMg.iclang_other_error_wdTOMg.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-rep.cclang_other_error_xfOQU4.iclang_other_error_xfOQU4.i.stderr.txt
Other Errorlibports/manage-multithread.cclang_other_error_ysNIXC.iclang_other_error_ysNIXC.i.stderr.txt
Other Errorlibstore/argp.cclang_other_error_zfoG4D.iclang_other_error_zfoG4D.i.stderr.txt

Please consider submitting preprocessed files as bug reports.