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:Sat Jun 28 15:00:47 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.c24401View 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 Errorlibstore/memobj.cclang_other_error_1QZKaD.iclang_other_error_1QZKaD.i.stderr.txt
Other Errorsutils/fsck.cclang_other_error_2kZ0Vu.iclang_other_error_2kZ0Vu.i.stderr.txt
Other Errorlibstore/memobj.cclang_other_error_4PhZnw.iclang_other_error_4PhZnw.i.stderr.txt
Other Errorlibstore/decode.cclang_other_error_5W0WDM.iclang_other_error_5W0WDM.i.stderr.txt
Other Errorlibstore/bunzip2.cclang_other_error_7NF4YG.iclang_other_error_7NF4YG.i.stderr.txt
Other Errorlibps/context.cclang_other_error_8tcJgj.iclang_other_error_8tcJgj.i.stderr.txt
Other Errorlibstore/remap.cclang_other_error_9OKFVL.iclang_other_error_9OKFVL.i.stderr.txt
Other Errorlibports/manage-multithread.cclang_other_error_9tRiND.iclang_other_error_9tRiND.i.stderr.txt
Other Errorlibstore/rdwr.cclang_other_error_B5oajk.iclang_other_error_B5oajk.i.stderr.txt
Other Errorlibps/fmt.cclang_other_error_BoU9Vw.iclang_other_error_BoU9Vw.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-rep.cclang_other_error_C2oHZ0.iclang_other_error_C2oHZ0.i.stderr.txt
Other Errorlibstore/url.cclang_other_error_GHHyzu.iclang_other_error_GHHyzu.i.stderr.txt
Other Errorlibps/fmt.cclang_other_error_GZb77B.iclang_other_error_GZb77B.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-rep.cclang_other_error_J1ELb_.iclang_other_error_J1ELb_.i.stderr.txt
Other Errorlibstore/nbd.cclang_other_error_JO8cGH.iclang_other_error_JO8cGH.i.stderr.txt
Other Errorsutils/clookup.cclang_other_error_J_pfXf.iclang_other_error_J_pfXf.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-rep.cclang_other_error_KMw_hu.iclang_other_error_KMw_hu.i.stderr.txt
Other Errorlibstore/url.cclang_other_error_Mvd7YL.iclang_other_error_Mvd7YL.i.stderr.txt
Other Errorlibports/manage-one-thread.cclang_other_error_N8D8Pm.iclang_other_error_N8D8Pm.i.stderr.txt
Other Errorlibstore/bunzip2.cclang_other_error_R3dih9.iclang_other_error_R3dih9.i.stderr.txt
Other Errorlibps/proclist.cclang_other_error_REDgbt.iclang_other_error_REDgbt.i.stderr.txt
Other Errorlibshouldbeinlibc/exec-reauth.cclang_other_error_S59HlU.iclang_other_error_S59HlU.i.stderr.txt
Other Errorlibstore/remap.cclang_other_error_S9_o2d.iclang_other_error_S9_o2d.i.stderr.txt
Other Errorlibstore/gunzip.cclang_other_error_SB1tVH.iclang_other_error_SB1tVH.i.stderr.txt
Other Errorlibstore/nbd.cclang_other_error_VwGtZ_.iclang_other_error_VwGtZ_.i.stderr.txt
Other Errorlibps/procstat.cclang_other_error_WU4HDC.iclang_other_error_WU4HDC.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-verify.cclang_other_error_X5PrxF.iclang_other_error_X5PrxF.i.stderr.txt
Other Errorlibports/manage-one-thread.cclang_other_error_YZirTs.iclang_other_error_YZirTs.i.stderr.txt
Other Errorlibstore/argp.cclang_other_error_alM3Bn.iclang_other_error_alM3Bn.i.stderr.txt
Other Errorlibstore/decode.cclang_other_error_fSFeYq.iclang_other_error_fSFeYq.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-rep.cclang_other_error_fy65aU.iclang_other_error_fy65aU.i.stderr.txt
Other Errorlibstore/rdwr.cclang_other_error_g0iXlI.iclang_other_error_g0iXlI.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-verify.cclang_other_error_gJRkTW.iclang_other_error_gJRkTW.i.stderr.txt
Other Errorlibshouldbeinlibc/portinfo.cclang_other_error_hWyyCi.iclang_other_error_hWyyCi.i.stderr.txt
Other Errorsutils/swapon.cclang_other_error_hwU61m.iclang_other_error_hwU61m.i.stderr.txt
Other Errorlibps/proclist.cclang_other_error_iy1Bqu.iclang_other_error_iy1Bqu.i.stderr.txt
Other Errorlibports/manage-multithread.cclang_other_error_k29KUQ.iclang_other_error_k29KUQ.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-posix.cclang_other_error_kJPeuM.iclang_other_error_kJPeuM.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-posix.cclang_other_error_lJi890.iclang_other_error_lJi890.i.stderr.txt
Other Errorlibstore/argp.cclang_other_error_n7OKbA.iclang_other_error_n7OKbA.i.stderr.txt
Other Errorlibshouldbeinlibc/portinfo.cclang_other_error_pD0PJe.iclang_other_error_pD0PJe.i.stderr.txt
Other Errorlibps/context.cclang_other_error_qjneSU.iclang_other_error_qjneSU.i.stderr.txt
Other Errorsutils/swapoff.cclang_other_error_qnpesN.iclang_other_error_qnpesN.i.stderr.txt
Other Errorlibshouldbeinlibc/exec-reauth.cclang_other_error_ug0c_R.iclang_other_error_ug0c_R.i.stderr.txt
Other Errorlibps/procstat.cclang_other_error_uih567.iclang_other_error_uih567.i.stderr.txt
Other Errorlibstore/gunzip.cclang_other_error_zmIj1F.iclang_other_error_zmIj1F.i.stderr.txt

Please consider submitting preprocessed files as bug reports.