hurd-upstream - scan-build results

User:teythoon@hurdbox
Working Directory:/media/scratch/teythoon/repos/hurd-upstream
Command Line:make
Clang Version:Debian clang version 3.2-11 (tags/RELEASE_32/final) (based on LLVM 3.2)
Date:Thu Oct 17 15:37:01 2013

Bug Summary

Bug TypeQuantityDisplay?
All Bugs90
API
Argument with 'nonnull' attribute passed null1
Dead store
Dead assignment35
Dead increment3
Dead initialization9
Logic error
Array subscript is undefined1
Assigned value is garbage or undefined2
Branch condition evaluates to a garbage value2
Dereference of null pointer5
Division by zero1
Result of operation is garbage or undefined2
Uninitialized argument value8
Memory Error
Double free2
Memory leak9
Use-after-free5
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 errorArray subscript is undefinedlibdiskfs /fsys-getroot.c11314View Report
Logic errorAssigned value is garbage or undefinedlibftpconn /cmd.c13710View Report
Logic errorAssigned value is garbage or undefinedterm /hurdio.c59710View Report
Logic errorBranch condition evaluates to a garbage valuelibcons /dir-changed.c909View Report
Logic errorBranch condition evaluates to a garbage valueauth /auth.c45811View Report
Dead storeDead assignmentlibshouldbeinlibc /timefmt.c3411View Report
Dead storeDead assignmentlibshouldbeinlibc /maptime.c481View Report
Dead storeDead assignmentlibports /create-internal.c1091View Report
Dead storeDead assignmentlibstore /zero.c1121View Report
Dead storeDead assignmentlibstore /do-bunzip2.c13431View Report
Dead storeDead assignmentlibstore /do-bunzip2.c13601View Report
Dead storeDead assignmentlibstore /do-bunzip2.c14461View Report
Dead storeDead assignmentlibstore /do-bunzip2.c14601View Report
Dead storeDead assignmentlibstore /do-bunzip2.c14761View Report
Dead storeDead assignmentlibstore /do-bunzip2.c14881View Report
Dead storeDead assignmentlibdiskfs /dir-renamed.c1341View Report
Dead storeDead assignmentlibdiskfs /fsysServer.c4011View Report
Dead storeDead assignmentlibdiskfs /fsysServer.c5821View Report
Dead storeDead assignmentlibdiskfs /io-write.c591View Report
Dead storeDead assignmentlibdiskfs /ioServer.c1071View Report
Dead storeDead assignmentlibdiskfs /ioServer.c10511View Report
Dead storeDead assignmentlibtrivfs /fsysServer.c4111View Report
Dead storeDead assignmentlibtrivfs /fsysServer.c6021View Report
Dead storeDead assignmentlibtrivfs /ioServer.c1071View Report
Dead storeDead assignmentlibtrivfs /ioServer.c10511View Report
Dead storeDead assignmentlibps /spec.c4181View Report
Dead storeDead assignmentlibnetfs /fsys-getroot.c871View Report
Dead storeDead assignmentlibnetfs /fsysServer.c4021View Report
Dead storeDead assignmentlibnetfs /fsysServer.c5831View Report
Dead storeDead assignmentlibnetfs /ioServer.c1081View Report
Dead storeDead assignmentlibnetfs /ioServer.c10521View Report
Dead storeDead assignmentlibftpconn /cmd.c1611View Report
Dead storeDead assignmentinit /init.c4711View Report
Dead storeDead assignmentext2fs /dir.c1951View Report
Dead storeDead assignmentfatfs /dir.c2311View Report
Dead storeDead assignmentfatfs /dir.c8631View Report
Dead storeDead assignmentpflocal /ioServer.c1071View Report
Dead storeDead assignmentpflocal /ioServer.c10511View Report
Dead storeDead assignmentpflocal /socketServer.c6121View Report
Dead storeDead assignmentpflocal /socketServer.c10331View Report
Dead storeDead incrementlibstore /util.c1011View Report
Dead storeDead incrementlibstore /util.c1081View Report
Dead storeDead incrementpfinet /linux-src /include /linux /bitops.h341View Report
Dead storeDead initializationlibshouldbeinlibc /timefmt.c1081View Report
Dead storeDead initializationterm /device_replyServer.c651View Report
Dead storeDead initializationterm /device_replyServer.c751View Report
Dead storeDead initializationterm /device_replyServer.c1271View Report
Dead storeDead initializationterm /device_replyServer.c1371View Report
Dead storeDead initializationterm /device_replyServer.c1891View Report
Dead storeDead initializationterm /device_replyServer.c1991View Report
Dead storeDead initializationterm /device_replyServer.c2511View Report
Dead storeDead initializationterm /device_replyServer.c3081View Report
Logic errorDereference of null pointerext2fs /dir.c51322View Report
Logic errorDereference of null pointerisofs /inode.c3146View Report
Logic errorDereference of null pointerisofs /lookup.c14214View Report
Logic errorDereference of null pointerfatfs /dir.c53923View Report
Logic errorDereference of null pointerpfinet /linux-src /net /core /dev.c73917View 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.c18918View Report
Memory ErrorMemory leaklibtrivfs /dyn-classes.c1057View Report
Memory ErrorMemory leaklibtrivfs /dyn-classes.c1059View Report
Memory ErrorMemory leaklibftpconn /cwd.c4412View Report
Memory ErrorMemory leaklibftpconn /open.c9331View Report
Memory ErrorMemory leaklibftpconn /set-type.c598View Report
Memory ErrorMemory leakinit /init.c140926View Report
Memory ErrorMemory leakfatfs /dir.c12434View Report
Logic errorResult of operation is garbage or undefinedlibftpconn /reply.c23513View Report
Logic errorResult of operation is garbage or undefinedterm /hurdio.c5957View 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)tmpfs /node.c2383View Report
Logic errorUninitialized argument valuelibshouldbeinlibc /maptime.c526View Report
Logic errorUninitialized argument valuelibtrivfs /times.c311View Report
Logic errorUninitialized argument valuelibtrivfs /times.c461View Report
Logic errorUninitialized argument valuelibcons /dir-changed.c1078View Report
Logic errorUninitialized argument valueproc /info.c61228View Report
Logic errorUninitialized argument valueisofs /lookup.c12817View Report
Logic errorUninitialized argument valueisofs /lookup.c13617View Report
Logic errorUninitialized argument valueisofs /lookup.c14614View Report
Memory ErrorUse-after-freelibtrivfs /protid-clean.c454View Report
Memory ErrorUse-after-freelibftpconn /names.c14423View Report
Memory ErrorUse-after-freelibftpconn /names.c16223View Report
Memory ErrorUse-after-freelibftpconn /names.c23329View Report
Memory ErrorUse-after-freeproc /pgrp.c34519View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorlibshouldbeinlibc/exec-reauth.cclang_other_error_0BJHH4.iclang_other_error_0BJHH4.i.stderr.txt
Other Errorlibnetfs/dir-lookup.cclang_other_error_0LbW81.iclang_other_error_0LbW81.i.stderr.txt
Other Errorexec/hashexec.cclang_other_error_1cSzJi.iclang_other_error_1cSzJi.i.stderr.txt
Other Errorlibnetfs/shutdown.cclang_other_error_1wvgJL.iclang_other_error_1wvgJL.i.stderr.txt
Other Errorterm/users.cclang_other_error_27FEgV.iclang_other_error_27FEgV.i.stderr.txt
Other Errorexec/exec.cclang_other_error_2FswCe.iclang_other_error_2FswCe.i.stderr.txt
Other Errorlibdiskfs/io-revoke.cclang_other_error_2VrENX.iclang_other_error_2VrENX.i.stderr.txt
Other Errorlibshouldbeinlibc/portinfo.cclang_other_error_2hDdEX.iclang_other_error_2hDdEX.i.stderr.txt
Other Errorlibdiskfs/file-syncfs.cclang_other_error_3GwhGy.iclang_other_error_3GwhGy.i.stderr.txt
Other Errorlibstore/nbd.cclang_other_error_3Y1B_p.iclang_other_error_3Y1B_p.i.stderr.txt
Other Errorlibdiskfs/file-exec.cclang_other_error_3uXRvr.iclang_other_error_3uXRvr.i.stderr.txt
Other Errorlibdiskfs/dir-rmdir.cclang_other_error_4CMM1d.iclang_other_error_4CMM1d.i.stderr.txt
Other Errorlibdiskfs/fsys-syncfs.cclang_other_error_4Id4UK.iclang_other_error_4Id4UK.i.stderr.txt
Other Errorlibstore/decode.cclang_other_error_4VBL21.iclang_other_error_4VBL21.i.stderr.txt
Other Errorlibstore/argp.cclang_other_error_4bWU7i.iclang_other_error_4bWU7i.i.stderr.txt
Other Errorlibnetfs/file-exec.cclang_other_error_4e449n.iclang_other_error_4e449n.i.stderr.txt
Other Errorlibports/manage-multithread.cclang_other_error_4itS6c.iclang_other_error_4itS6c.i.stderr.txt
Other Errorlibfshelp/start-translator-long.cclang_other_error_4pwqxY.iclang_other_error_4pwqxY.i.stderr.txt
Other Errorlibdiskfs/fsys-options.cclang_other_error_6XSdEB.iclang_other_error_6XSdEB.i.stderr.txt
Other Errorlibfshelp/start-translator-long.cclang_other_error_6e2TFE.iclang_other_error_6e2TFE.i.stderr.txt
Other Errorlibps/fmt.cclang_other_error_6p0gic.iclang_other_error_6p0gic.i.stderr.txt
Other Errorlibdiskfs/fsys-get-children.cclang_other_error_7F2ArP.iclang_other_error_7F2ArP.i.stderr.txt
Other Errorlibps/context.cclang_other_error_7IK5ij.iclang_other_error_7IK5ij.i.stderr.txt
Other Errorlibnetfs/fsys-get-children.cclang_other_error_7iM8mb.iclang_other_error_7iM8mb.i.stderr.txt
Other Errorlibnetfs/io-revoke.cclang_other_error_87_v90.iclang_other_error_87_v90.i.stderr.txt
Other Errorstoreio/dev.cclang_other_error_912AqB.iclang_other_error_912AqB.i.stderr.txt
Other Errorlibps/procstat.cclang_other_error_96ao7S.iclang_other_error_96ao7S.i.stderr.txt
Other Errorlibstore/nbd.cclang_other_error_AVh0t_.iclang_other_error_AVh0t_.i.stderr.txt
Other Errorlibports/manage-multithread.cclang_other_error_Adngnp.iclang_other_error_Adngnp.i.stderr.txt
Other Errorproc/host.cclang_other_error_AjJL49.iclang_other_error_AjJL49.i.stderr.txt
Other Errorstoreio/pager.cclang_other_error_ApmNF3.iclang_other_error_ApmNF3.i.stderr.txt
Other Errorlibcons/opts-std-startup.cclang_other_error_AumRWo.iclang_other_error_AumRWo.i.stderr.txt
Other Errorproc/mgt.cclang_other_error_CDcn4M.iclang_other_error_CDcn4M.i.stderr.txt
Other Errorlibstore/memobj.cclang_other_error_ClKOIj.iclang_other_error_ClKOIj.i.stderr.txt
Other Errorlibfshelp/fetch-root.cclang_other_error_DMxY38.iclang_other_error_DMxY38.i.stderr.txt
Other Errorext2fs/inode.cclang_other_error_E1EXTc.iclang_other_error_E1EXTc.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-rep.cclang_other_error_EGaHjQ.iclang_other_error_EGaHjQ.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-rep.cclang_other_error_Ew3K1W.iclang_other_error_Ew3K1W.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-rep.cclang_other_error_FG5NsR.iclang_other_error_FG5NsR.i.stderr.txt
Other Errorlibstore/decode.cclang_other_error_HawXM6.iclang_other_error_HawXM6.i.stderr.txt
Other Errorlibdiskfs/dir-lookup.cclang_other_error_IQaghI.iclang_other_error_IQaghI.i.stderr.txt
Other Errorlibdiskfs/dir-rmdir.cclang_other_error_IsHgL6.iclang_other_error_IsHgL6.i.stderr.txt
Other Errorlibdiskfs/file-exec.cclang_other_error_JOb2l4.iclang_other_error_JOb2l4.i.stderr.txt
Other Errorfatfs/inode.cclang_other_error_LitwbY.iclang_other_error_LitwbY.i.stderr.txt
Other Errorproc/wait.cclang_other_error_MAt4B2.iclang_other_error_MAt4B2.i.stderr.txt
Other Errorlibdiskfs/io-revoke.cclang_other_error_OGXeXu.iclang_other_error_OGXeXu.i.stderr.txt
Other Errorlibnetfs/file-exec.cclang_other_error_OMKZ2U.iclang_other_error_OMKZ2U.i.stderr.txt
Other Errorlibcons/opts-std-startup.cclang_other_error_OxhEOA.iclang_other_error_OxhEOA.i.stderr.txt
Other Errorlibdiskfs/file-syncfs.cclang_other_error_Q2c8PK.iclang_other_error_Q2c8PK.i.stderr.txt
Other Errorlibstore/url.cclang_other_error_SFpdTI.iclang_other_error_SFpdTI.i.stderr.txt
Other Errorext2fs/balloc.cclang_other_error_SISVvn.iclang_other_error_SISVvn.i.stderr.txt
Other Errorlibstore/remap.cclang_other_error_SjfzeE.iclang_other_error_SjfzeE.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-verify.cclang_other_error_TUmXYv.iclang_other_error_TUmXYv.i.stderr.txt
Other Errorfatfs/pager.cclang_other_error_UOuqxW.iclang_other_error_UOuqxW.i.stderr.txt
Other Errorlibshouldbeinlibc/exec-reauth.cclang_other_error_UPBZmp.iclang_other_error_UPBZmp.i.stderr.txt
Other Errorlibpager/pager-memcpy.cclang_other_error_UbB4tN.iclang_other_error_UbB4tN.i.stderr.txt
Other Errorlibfshelp/fetch-root.cclang_other_error_W7TTYn.iclang_other_error_W7TTYn.i.stderr.txt
Other Errorlibstore/bunzip2.cclang_other_error_XGKul2.iclang_other_error_XGKul2.i.stderr.txt
Other Errorisofs/pager.cclang_other_error_XVHLvn.iclang_other_error_XVHLvn.i.stderr.txt
Other Errorlibstore/rdwr.cclang_other_error_XXCuKX.iclang_other_error_XXCuKX.i.stderr.txt
Other Errorlibstore/rdwr.cclang_other_error_Xvn1fL.iclang_other_error_Xvn1fL.i.stderr.txt
Other Errorlibpager/pager-memcpy.cclang_other_error_YEHbRO.iclang_other_error_YEHbRO.i.stderr.txt
Other Errorlibps/procstat.cclang_other_error_ZGtKE0.iclang_other_error_ZGtKE0.i.stderr.txt
Other Errorlibps/context.cclang_other_error_ZOLPlF.iclang_other_error_ZOLPlF.i.stderr.txt
Other Errorlibnetfs/io-revoke.cclang_other_error_ZY6Zse.iclang_other_error_ZY6Zse.i.stderr.txt
Other Errorlibstore/url.cclang_other_error_ZbZjtJ.iclang_other_error_ZbZjtJ.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-rep.cclang_other_error_axVBci.iclang_other_error_axVBci.i.stderr.txt
Other Errorlibdiskfs/shutdown.cclang_other_error_bhZ3n6.iclang_other_error_bhZ3n6.i.stderr.txt
Other Errorlibshouldbeinlibc/idvec-verify.cclang_other_error_c8SDxV.iclang_other_error_c8SDxV.i.stderr.txt
Other Errorlibdiskfs/fsys-options.cclang_other_error_dIeYWR.iclang_other_error_dIeYWR.i.stderr.txt
Other Errorlibshouldbeinlibc/portinfo.cclang_other_error_dXipx_.iclang_other_error_dXipx_.i.stderr.txt
Other Errorext2fs/pager.cclang_other_error_eSLvQi.iclang_other_error_eSLvQi.i.stderr.txt
Other Errorlibports/manage-one-thread.cclang_other_error_eTmHdx.iclang_other_error_eTmHdx.i.stderr.txt
Other Errorext2fs/truncate.cclang_other_error_edxESy.iclang_other_error_edxESy.i.stderr.txt
Other Errorlibstore/gunzip.cclang_other_error_elPb0x.iclang_other_error_elPb0x.i.stderr.txt
Other Errorlibstore/bunzip2.cclang_other_error_fOv81u.iclang_other_error_fOv81u.i.stderr.txt
Other Errorlibdiskfs/dir-lookup.cclang_other_error_fz4XOF.iclang_other_error_fz4XOF.i.stderr.txt
Other Errorlibstore/memobj.cclang_other_error_iDDEGT.iclang_other_error_iDDEGT.i.stderr.txt
Other Errorpflocal/sock.cclang_other_error_ieT9VU.iclang_other_error_ieT9VU.i.stderr.txt
Other Errorlibstore/gunzip.cclang_other_error_kKgWfC.iclang_other_error_kKgWfC.i.stderr.txt
Other Errorlibnetfs/shutdown.cclang_other_error_kSELiU.iclang_other_error_kSELiU.i.stderr.txt
Other Errorlibnetfs/fsys-set-options.cclang_other_error_kXyMd9.iclang_other_error_kXyMd9.i.stderr.txt
Other Errorlibfshelp/get-identity.cclang_other_error_kZbN2e.iclang_other_error_kZbN2e.i.stderr.txt
Other Errorlibports/manage-one-thread.cclang_other_error_lOhUJ_.iclang_other_error_lOhUJ_.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-posix.cclang_other_error_lxrpsa.iclang_other_error_lxrpsa.i.stderr.txt
Other Errorlibnetfs/dir-lookup.cclang_other_error_nRZxrI.iclang_other_error_nRZxrI.i.stderr.txt
Other Errorisofs/rr.cclang_other_error_ozA5mO.iclang_other_error_ozA5mO.i.stderr.txt
Other Errorlibps/proclist.cclang_other_error_penVm5.iclang_other_error_penVm5.i.stderr.txt
Other Errorlibps/fmt.cclang_other_error_plEnpw.iclang_other_error_plEnpw.i.stderr.txt
Other Errorlibnetfs/fsys-set-options.cclang_other_error_ptDCZS.iclang_other_error_ptDCZS.i.stderr.txt
Other Errorpflocal/io.cclang_other_error_qQLB53.iclang_other_error_qQLB53.i.stderr.txt
Other Errorlibshouldbeinlibc/ugids-posix.cclang_other_error_r14wPQ.iclang_other_error_r14wPQ.i.stderr.txt
Other Errorlibnetfs/fsys-get-children.cclang_other_error_rij7iX.iclang_other_error_rij7iX.i.stderr.txt
Other Errorlibdiskfs/shutdown.cclang_other_error_ty9oN4.iclang_other_error_ty9oN4.i.stderr.txt
Other Errorlibfshelp/get-identity.cclang_other_error_uMvfQp.iclang_other_error_uMvfQp.i.stderr.txt
Other Errorlibdiskfs/fsys-syncfs.cclang_other_error_vAALWP.iclang_other_error_vAALWP.i.stderr.txt
Other Errorlibstore/remap.cclang_other_error_vtMEcQ.iclang_other_error_vtMEcQ.i.stderr.txt
Other Errorfatfs/fat.cclang_other_error_w5XhAA.iclang_other_error_w5XhAA.i.stderr.txt
Other Errorlibdiskfs/readonly.cclang_other_error_wRVsPS.iclang_other_error_wRVsPS.i.stderr.txt
Other Errorlibdiskfs/fsys-get-children.cclang_other_error_wxdNLe.iclang_other_error_wxdNLe.i.stderr.txt
Other Errorlibdiskfs/readonly.cclang_other_error_xLutI2.iclang_other_error_xLutI2.i.stderr.txt
Other Errorlibstore/argp.cclang_other_error_zP7Np4.iclang_other_error_zP7Np4.i.stderr.txt
Other Errorlibps/proclist.cclang_other_error_zar4K4.iclang_other_error_zar4K4.i.stderr.txt

Please consider submitting preprocessed files as bug reports.