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:Wed Mar 26 10:31:38 2014

Bug Summary

Bug TypeQuantityDisplay?
All Bugs33
API
Argument with 'nonnull' attribute passed null1
Dead store
Dead assignment8
Dead initialization1
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 /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
Dead storeDead initializationlibshouldbeinlibc /timefmt.c1081View 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.c9413View 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 Errorlibports/manage-one-thread.cclang_other_error_00zEj2.iclang_other_error_00zEj2.i.stderr.txt
Other Errorlibstore/argp.cclang_other_error_0sBQXN.iclang_other_error_0sBQXN.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-rep.cclang_other_error_4TdbUD.iclang_other_error_4TdbUD.i.stderr.txt
Other Errorlibports/manage-multithread.cclang_other_error_63Tyug.iclang_other_error_63Tyug.i.stderr.txt
Other Errorlibshouldbeinlibc/portinfo.cclang_other_error_6ha5Q2.iclang_other_error_6ha5Q2.i.stderr.txt
Other Errorlibstore/nbd.cclang_other_error_A993_r.iclang_other_error_A993_r.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-rep.cclang_other_error_AQDiTc.iclang_other_error_AQDiTc.i.stderr.txt
Other Errorlibstore/decode.cclang_other_error_C0bKGO.iclang_other_error_C0bKGO.i.stderr.txt
Other Errorsutils/clookup.cclang_other_error_CLSWWw.iclang_other_error_CLSWWw.i.stderr.txt
Other Errorlibstore/url.cclang_other_error_CNPxrw.iclang_other_error_CNPxrw.i.stderr.txt
Other Errorlibports/manage-one-thread.cclang_other_error_Gb_HRT.iclang_other_error_Gb_HRT.i.stderr.txt
Other Errorlibstore/remap.cclang_other_error_IBWh1B.iclang_other_error_IBWh1B.i.stderr.txt
Other Errorlibstore/remap.cclang_other_error_KmQGee.iclang_other_error_KmQGee.i.stderr.txt
Other Errorlibps/proclist.cclang_other_error_QX9ClV.iclang_other_error_QX9ClV.i.stderr.txt
Other Errorlibshouldbeinlibc/portinfo.cclang_other_error_TWNhjT.iclang_other_error_TWNhjT.i.stderr.txt
Other Errorlibstore/memobj.cclang_other_error_Uj3ujL.iclang_other_error_Uj3ujL.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-posix.cclang_other_error_X8bF7F.iclang_other_error_X8bF7F.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-posix.cclang_other_error_XwpoMD.iclang_other_error_XwpoMD.i.stderr.txt
Other Errorlibps/fmt.cclang_other_error_Z2Hkc8.iclang_other_error_Z2Hkc8.i.stderr.txt
Other Errorlibstore/nbd.cclang_other_error_ZreTOb.iclang_other_error_ZreTOb.i.stderr.txt
Other Errorlibstore/argp.cclang_other_error_b0NwOz.iclang_other_error_b0NwOz.i.stderr.txt
Other Errorlibps/fmt.cclang_other_error_b6cbNy.iclang_other_error_b6cbNy.i.stderr.txt
Other Errorsutils/fsck.cclang_other_error_bIvQlA.iclang_other_error_bIvQlA.i.stderr.txt
Other Errorlibps/procstat.cclang_other_error_bLsLkP.iclang_other_error_bLsLkP.i.stderr.txt
Other Errorlibstore/gunzip.cclang_other_error_ckZKfy.iclang_other_error_ckZKfy.i.stderr.txt
Other Errorlibstore/decode.cclang_other_error_hcCqEr.iclang_other_error_hcCqEr.i.stderr.txt
Other Errorlibshouldbeinlibc/exec-reauth.cclang_other_error_iB9b9T.iclang_other_error_iB9b9T.i.stderr.txt
Other Errorsutils/swapon.cclang_other_error_ioXuUU.iclang_other_error_ioXuUU.i.stderr.txt
Other Errorlibstore/bunzip2.cclang_other_error_j82Lih.iclang_other_error_j82Lih.i.stderr.txt
Other Errorlibstore/gunzip.cclang_other_error_jp06IP.iclang_other_error_jp06IP.i.stderr.txt
Other Errorlibps/procstat.cclang_other_error_kQ7EqB.iclang_other_error_kQ7EqB.i.stderr.txt
Other Errorlibstore/url.cclang_other_error_lQKMJK.iclang_other_error_lQKMJK.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-rep.cclang_other_error_mSFsBh.iclang_other_error_mSFsBh.i.stderr.txt
Other Errorlibps/context.cclang_other_error_myEjfi.iclang_other_error_myEjfi.i.stderr.txt
Other Errorlibports/manage-multithread.cclang_other_error_nC8K1u.iclang_other_error_nC8K1u.i.stderr.txt
Other Errorlibstore/memobj.cclang_other_error_nDt9oz.iclang_other_error_nDt9oz.i.stderr.txt
Other Errorsutils/swapoff.cclang_other_error_oEXvbM.iclang_other_error_oEXvbM.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-verify.cclang_other_error_p_q_fl.iclang_other_error_p_q_fl.i.stderr.txt
Other Errorlibstore/rdwr.cclang_other_error_pkWt1Y.iclang_other_error_pkWt1Y.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-verify.cclang_other_error_pvjaUJ.iclang_other_error_pvjaUJ.i.stderr.txt
Other Errorlibshouldbeinlibc/exec-reauth.cclang_other_error_qJqrmt.iclang_other_error_qJqrmt.i.stderr.txt
Other Errorlibps/context.cclang_other_error_tTxpNP.iclang_other_error_tTxpNP.i.stderr.txt
Other Errorlibstore/rdwr.cclang_other_error_tmDQam.iclang_other_error_tmDQam.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-rep.cclang_other_error_uOzU0y.iclang_other_error_uOzU0y.i.stderr.txt
Other Errorlibps/proclist.cclang_other_error_vsS8av.iclang_other_error_vsS8av.i.stderr.txt
Other Errorlibstore/bunzip2.cclang_other_error_yjWWHI.iclang_other_error_yjWWHI.i.stderr.txt

Please consider submitting preprocessed files as bug reports.