build - scan-build results

User:scm@Matthiass-MacBook-Pro.local
Working Directory:/Users/scm/git/github/teem/build
Command Line:/opt/local/bin/cmake --build /Users/scm/git/github/teem/build --config release -- -j4
Clang Version:clang version 3.8.1 (tags/RELEASE_381/final)
Date:Fri May 26 14:58:38 2017

Bug Summary

Bug TypeQuantityDisplay?
All Bugs193
Dead store
Dead assignment76
Dead increment20
Dead initialization4
Logic error
Assigned value is garbage or undefined4
Branch condition evaluates to a garbage value3
Dereference of null pointer17
Dereference of undefined pointer value8
Division by zero1
Result of operation is garbage or undefined15
Uninitialized argument value3
Unix API1
Memory Error
Memory leak30
Unix API
Allocator sizeof operand mismatch2
Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)9

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchsrc/echo/renderEcho.cechoThreadStateInit621View Report
Unix APIAllocator sizeof operand mismatchsrc/limn/polymod.climnPolyDataClipMulti17911View Report
Logic errorAssigned value is garbage or undefinedsrc/nrrd/axis.cnrrdAxisInfoGet_va6407View Report
Logic errorAssigned value is garbage or undefinedsrc/nrrd/apply1D.cnrrd1DIrregAclGenerate8466View Report
Logic errorAssigned value is garbage or undefinedsrc/ell/eigen.cell_3m_svd_d6881View Report
Logic errorAssigned value is garbage or undefinedsrc/gage/vecGage.c_gageVecAnswer38827View Report
Logic errorBranch condition evaluates to a garbage valuesrc/nrrd/kernel.cnrrdKernelCheck342320View Report
Logic errorBranch condition evaluates to a garbage valuesrc/nrrd/encodingAscii.c_nrrdEncodingAscii_write1525View Report
Logic errorBranch condition evaluates to a garbage valuesrc/mite/txf.c_miteAnswerPointer51414View Report
Dead storeDead assignmentsrc/ten/tenGage.c_tenGageAnswer17461View Report
Dead storeDead assignmentsrc/pull/popcntl.c_pullPointProcessAdding2421View Report
Dead storeDead assignmentsrc/dye/methodsDye.cdyeColorParse2111View Report
Dead storeDead assignmentsrc/pull/binningPull.c_pullIterFinishDescent4601View Report
Dead storeDead assignmentsrc/pull/popcntl.c_pullPointProcessAdding3431View Report
Dead storeDead assignmentsrc/nrrd/resampleNrrd.cnrrdSpatialResample8361View Report
Dead storeDead assignmentsrc/ten/qglox.c_tenQGLInterpNEvec4981View Report
Dead storeDead assignmentsrc/ten/tenGage.c_tenGageAnswer17141View Report
Dead storeDead assignmentsrc/ten/chan.ctenDWMRIKeyValueParse2051View Report
Dead storeDead assignmentsrc/nrrd/resampleNrrd.cnrrdSpatialResample7661View Report
Dead storeDead assignmentsrc/dye/methodsDye.cdyeStrToSpace881View Report
Dead storeDead assignmentsrc/nrrd/formatPNG.c_nrrdFormatPNG_write5731View Report
Dead storeDead assignmentsrc/bin/gprobe.cmain8491View Report
Dead storeDead assignmentsrc/unrrdu/undos.cundosConvert2151View Report
Dead storeDead assignmentsrc/nrrd/kernel.c_nrrdZeroN_d1531View Report
Dead storeDead assignmentsrc/pull/trace.cpullTraceMultiRead11791View Report
Dead storeDead assignmentsrc/unrrdu/flotsam.cunrrduMaybeFclose5951View Report
Dead storeDead assignmentsrc/nrrd/formatText.c_nrrdFormatText_read2071View Report
Dead storeDead assignmentsrc/nrrd/kernel.c_nrrdZero1_d1321View Report
Dead storeDead assignmentsrc/ten/bimod.c_tenEMBimodalSaveImage3011View Report
Dead storeDead assignmentTesting/meet/probeSS.cmain10821View Report
Dead storeDead assignmentsrc/ten/bimod.c_tenEMBimodalSaveImage3001View Report
Dead storeDead assignmentsrc/nrrd/resampleNrrd.cnrrdSpatialResample7651View Report
Dead storeDead assignmentsrc/pull/popcntl.c_pullPointProcessAdding2061View Report
Dead storeDead assignmentsrc/ten/grads.ctenGradientBalance4111View Report
Dead storeDead assignmentsrc/ten/bimod.c_tenEMBimodalSaveImage2991View Report
Dead storeDead assignmentsrc/nrrd/apply1D.cnrrdApply1DIrregMap9911View Report
Dead storeDead assignmentsrc/nrrd/formatText.c_nrrdFormatText_read2751View Report
Dead storeDead assignmentsrc/ten/chan.ctenDWMRIKeyValueParse2341View Report
Dead storeDead assignmentsrc/nrrd/methodsNrrd.cnrrdKernelSpecNix4151View Report
Dead storeDead assignmentsrc/ten/chan.ctenDWMRIKeyValueParse1011View Report
Dead storeDead assignmentsrc/pull/popcntl.c_pullPointProcessAdding2761View Report
Dead storeDead assignmentsrc/limn/renderLimn.climnObjectPSDrawConcave3971View Report
Dead storeDead assignmentsrc/unrrdu/undos.cundosConvert1151View Report
Dead storeDead assignmentsrc/nrrd/kernel.c_nrrdZeroN_f1651View Report
Dead storeDead assignmentsrc/nrrd/resampleNrrd.cnrrdSpatialResample8241View Report
Dead storeDead assignmentsrc/gage/sclanswer.c_gageSclAnswer2261View Report
Dead storeDead assignmentsrc/hest/usage.c_hestPrintStr1141View Report
Dead storeDead assignmentsrc/ten/bvec.ctenBVecNonLinearFit1571View Report
Dead storeDead assignmentsrc/pull/popcntl.c_pullPointProcessAdding2921View Report
Dead storeDead assignmentsrc/limn/io.climnObjectReadOFF3001View Report
Dead storeDead assignmentsrc/ten/tenGage.c_tenGageAnswer17091View Report
Dead storeDead assignmentsrc/echo/sqd.c_echoRayIntx_Superquad3441View Report
Dead storeDead assignmentsrc/limn/renderLimn.climnObjectPSDrawConcave3691View Report
Dead storeDead assignmentsrc/echo/sqd.c_echoRayIntx_Superquad3681View Report
Dead storeDead assignmentsrc/nrrd/resampleNrrd.cnrrdSimpleResample1201View Report
Dead storeDead assignmentsrc/pull/pointPull.c_pullPointSetup13201View Report
Dead storeDead assignmentsrc/limn/io.climnPolyDataReadOFF10911View Report
Dead storeDead assignmentsrc/echo/list.cechoListSplit1421View Report
Dead storeDead assignmentsrc/bin/gprobe.cmain8481View Report
Dead storeDead assignmentsrc/ten/epireg.c_tenEpiRegThresholdFind2241View Report
Dead storeDead assignmentsrc/ten/tendEstim.ctend_estimMain3291View Report
Dead storeDead assignmentsrc/ten/bimod.c_tenEMBimodalSaveImage3031View Report
Dead storeDead assignmentsrc/nrrd/kernel.c_nrrdZero1_f1411View Report
Dead storeDead assignmentsrc/ten/fiber.c_fiberTraceSet6171View Report
Dead storeDead assignmentsrc/nrrd/apply1D.cnrrdApply1DIrregMap9761View Report
Dead storeDead assignmentsrc/pull/corePull.cpullRun3971View Report
Dead storeDead assignmentsrc/ten/chan.ctenDWMRIKeyValueParse1551View Report
Dead storeDead assignmentsrc/ten/bimod.c_tenEMBimodalSaveImage3021View Report
Dead storeDead assignmentsrc/pull/popcntl.c_pullPointProcessAdding2991View Report
Dead storeDead assignmentsrc/dye/methodsDye.cdyeColorNix1751View Report
Dead storeDead assignmentsrc/ten/chan.ctenDWMRIKeyValueParse2491View Report
Dead storeDead assignmentsrc/pull/corePull.c_pullIterate3061View Report
Dead storeDead assignmentsrc/nrrd/apply1D.cnrrdApply1DIrregMap9351View Report
Dead storeDead assignmentsrc/ten/chan.ctenDWMRIKeyValueParse2221View Report
Dead storeDead assignmentsrc/seek/textract.c_seekTriangulateT14521View Report
Dead storeDead assignmentsrc/pull/popcntl.c_pullPointProcessAdding2841View Report
Dead storeDead assignmentsrc/limn/io.climnObjectReadOFF3611View Report
Dead storeDead assignmentsrc/nrrd/cc.cnrrdCCFind3391View Report
Dead storeDead assignmentsrc/ten/fiber.c_fiberTraceSet6041View Report
Dead storeDead assignmentsrc/pull/popcntl.c_pullPointProcessAdding2301View Report
Dead storeDead assignmentsrc/limn/io.climnObjectReadOFF3641View Report
Dead storeDead assignmentsrc/ten/chan.ctenDWMRIKeyValueParse1151View Report
Dead storeDead assignmentsrc/pull/popcntl.c_pullPointProcessAdding2541View Report
Dead storeDead assignmentsrc/nrrd/formatPNG.c_nrrdFormatPNG_read3841View Report
Dead storeDead assignmentsrc/nrrd/methodsNrrd.cnrrdResampleInfoNix3781View Report
Dead storeDead incrementsrc/limn/polyshapes.climnPolyDataOctahedron3951View Report
Dead storeDead incrementsrc/limn/polyshapes.climnPolyDataCube791View Report
Dead storeDead incrementsrc/limn/polyshapes.climnPolyDataCubeTriangles2001View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_d1_cn_1ef_1_f37421View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_d1_cn_1ef_N_f37711View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_dn_cn_1ef_1_d8111View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_d1_cn_1ef_1_d37311View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_d1_cn_1ef_N_d37561View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_d2_cn_1ef_1_f52021View Report
Dead storeDead incrementsrc/limn/polyshapes.climnPolyDataOctahedron4041View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_dn_cn_1ef_1_f8221View Report
Dead storeDead incrementsrc/echo/renderEcho.c_echoRTRenderThreadBody4081View Report
Dead storeDead incrementsrc/nrrd/reorder.cnrrdJoin7711View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_dn_cn_1ef_N_f8511View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_dn_cn_1ef_N_d8361View Report
Dead storeDead incrementsrc/limn/polyshapes.climnPolyDataCube861View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_d2_cn_1ef_N_f52311View Report
Dead storeDead incrementsrc/limn/polyshapes.climnPolyDataCubeTriangles2181View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_d2_cn_1ef_1_d51911View Report
Dead storeDead incrementsrc/nrrd/tmfKernel.c_nrrd_TMF_d2_cn_1ef_N_d52161View Report
Dead storeDead initializationsrc/pull/corePull.cpullRun3531View Report
Dead storeDead initializationsrc/pull/corePull.cpullRun3531View Report
Dead storeDead initializationsrc/pull/constraints.cconstraintSatHght3981View Report
Dead storeDead initializationsrc/pull/corePull.cpullRun3531View Report
Logic errorDereference of null pointersrc/ten/experSpec.ctenExperSpecFromKeyValueSet23619View Report
Logic errorDereference of null pointersrc/limn/obj.climnObjectPartAdd2423View Report
Logic errorDereference of null pointersrc/limn/obj.climnObjectPreSet2184View Report
Logic errorDereference of null pointersrc/pull/volumePull.c_pullVolumeSetup3798View Report
Logic errorDereference of null pointersrc/nrrd/axis.cnrrdAxisInfoIdxRange8193View Report
Logic errorDereference of null pointersrc/nrrd/parseNrrd.c_nrrdGetQuotedString74710View Report
Logic errorDereference of null pointersrc/nrrd/filt.cdistanceL2Sqrd71822View Report
Logic errorDereference of null pointersrc/limn/io.climnObjectReadOFF3186View Report
Logic errorDereference of null pointersrc/hest/parseHest.c_hestSetValues106840View Report
Logic errorDereference of null pointersrc/pull/pointPull.cpullPointInitializeGivenPos103036View Report
Logic errorDereference of null pointersrc/nrrd/parseNrrd.c_nrrdGetQuotedString73910View Report
Logic errorDereference of null pointersrc/unrrdu/undos.cundosConvert1049View Report
Logic errorDereference of null pointersrc/mite/txf.cmiteNtxfCheck28716View Report
Logic errorDereference of null pointersrc/nrrd/filt.cdistanceL2Sqrd71219View Report
Logic errorDereference of null pointersrc/nrrd/axis.cnrrdAxisInfoIdxRange8193View Report
Logic errorDereference of null pointersrc/hest/parseHest.c_hestSetValues106540View Report
Logic errorDereference of null pointersrc/hest/parseHest.c_hestSetValues104556View Report
Logic errorDereference of undefined pointer valuesrc/nrrd/read.c_nrrdOneLine14313View Report
Logic errorDereference of undefined pointer valuesrc/meet/enumall.cmeetAirEnumAll703View Report
Logic errorDereference of undefined pointer valuesrc/ten/fiber.c_fiberTraceSet75444View Report
Logic errorDereference of undefined pointer valuesrc/nrrd/read.c_nrrdOneLine15913View Report
Logic errorDereference of undefined pointer valuesrc/ten/fiber.c_fiberTraceSet74644View Report
Logic errorDereference of undefined pointer valuesrc/meet/meetNrrd.cmeetNrrdKernelAll473View Report
Logic errorDereference of undefined pointer valuesrc/limn/polymod.c_limnPolyDataVertexWindingProcess121820View Report
Logic errorDereference of undefined pointer valuesrc/ten/fiber.c_fiberTraceSet80247View Report
Logic errorDivision by zerosrc/nrrd/parseNrrd.c_nrrdDataFNCheck127820View Report
Memory ErrorMemory leaksrc/limn/polymod.climnPolyDataPrimitiveSort146812View Report
Memory ErrorMemory leaksrc/unrrdu/aabplot.cunrrdu_aabplotMain20712View Report
Memory ErrorMemory leaksrc/ten/epireg.ctenEpiRegister4D124910View Report
Memory ErrorMemory leaksrc/limn/polymod.cdoSplitting9544View Report
Memory ErrorMemory leaksrc/ten/path.ctenInterpParmCopy1358View Report
Memory ErrorMemory leaksrc/ten/path.ctenInterpMulti3D107217View Report
Memory ErrorMemory leaksrc/ten/epireg.ctenEpiRegister3D10694View Report
Memory ErrorMemory leaksrc/ten/epireg.ctenEpiRegister4D124910View Report
Memory ErrorMemory leaksrc/pull/trace.cpullTraceMultiRead117116View Report
Memory ErrorMemory leaksrc/limn/polymod.cdoSplitting9544View Report
Memory ErrorMemory leaksrc/limn/polymod.cdoSplitting9544View Report
Memory ErrorMemory leaksrc/limn/polymod.climnPolyDataPrimitiveSort146812View Report
Memory ErrorMemory leaksrc/pull/taskPull.c_pullTaskNew4311View Report
Memory ErrorMemory leaksrc/limn/polymod.climnPolyDataCCFind138119View Report
Memory ErrorMemory leaksrc/ten/tenModel.ctenModelSqeFit53521View Report
Memory ErrorMemory leaksrc/limn/polymod.climnPolyDataPrimitiveSort146812View Report
Memory ErrorMemory leaksrc/limn/polymod.climnPolyDataCCFind138119View Report
Memory ErrorMemory leaksrc/seek/extract.csurfaceExtract90313View Report
Memory ErrorMemory leaksrc/nrrd/resampleNrrd.c_nrrdResampleMakeWeightIndex40414View Report
Memory ErrorMemory leaksrc/limn/polymod.climnPolyDataCCFind138119View Report
Memory ErrorMemory leaksrc/mite/shade.cmiteShadeSpecNew405View Report
Memory ErrorMemory leaksrc/nrrd/resampleNrrd.c_nrrdResampleMakeWeightIndex3579View Report
Memory ErrorMemory leaksrc/limn/polymod.cdoSplitting9544View Report
Memory ErrorMemory leaksrc/gage/optimsig.cgageOptimSigContextNew3285View Report
Memory ErrorMemory leaksrc/mite/thread.cmiteThreadNew586View Report
Memory ErrorMemory leaksrc/ten/epireg.ctenEpiRegister4D124910View Report
Memory ErrorMemory leaksrc/limn/polymod.climnPolyDataPrimitiveSort146812View Report
Memory ErrorMemory leaksrc/ten/epireg.ctenEpiRegister3D10694View Report
Memory ErrorMemory leaksrc/ten/epireg.ctenEpiRegister4D124910View Report
Memory ErrorMemory leaksrc/unrrdu/jhisto.cunrrdu_jhistoMain15615View Report
Logic errorResult of operation is garbage or undefinedsrc/ten/fiber.c_fiberTraceSet81060View Report
Logic errorResult of operation is garbage or undefinedsrc/hoover/rays.chooverRender47117View Report
Logic errorResult of operation is garbage or undefinedsrc/limn/polymod.cflipNeed11928View Report
Logic errorResult of operation is garbage or undefinedsrc/nrrd/subset.cnrrdSample_nva6067View Report
Logic errorResult of operation is garbage or undefinedsrc/seek/textract.ccomputeGradientLin2045View Report
Logic errorResult of operation is garbage or undefinedsrc/seek/extract.ctriangulate79916View Report
Logic errorResult of operation is garbage or undefinedsrc/limn/polymod.cflipNeed12129View Report
Logic errorResult of operation is garbage or undefinedsrc/seek/textract.ccomputeEdgeGradient3277View Report
Logic errorResult of operation is garbage or undefinedsrc/seek/textract.ccomputeGradientLin2045View Report
Logic errorResult of operation is garbage or undefinedsrc/seek/textract.ccomputeGradientLin2115View Report
Logic errorResult of operation is garbage or undefinedsrc/seek/textract.ccomputeGradientLin2115View Report
Logic errorResult of operation is garbage or undefinedsrc/nrrd/subset.cnrrdCrop2468View Report
Logic errorResult of operation is garbage or undefinedsrc/limn/polyfilter.climnPolyDataSpiralTubeWrap14337View Report
Logic errorResult of operation is garbage or undefinedsrc/ten/fiber.c_fiberTraceSet81461View Report
Logic errorResult of operation is garbage or undefinedsrc/seek/textract.ccomputeGradientLin2057View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/limn/polymod.climnPolyDataPrimitiveSort14599View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/nrrd/filt.cdistanceL2Sqrd6719View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/ten/bimod.c_tenEMBimodalInit1109View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/mite/txf.c_miteStageSet5547View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/pull/volumePull.c_pullVolumeSet16818View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/limn/polyfilter.climnPolyDataSmoothHC43416View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)Testing/meet/probeSS.cmultiAnswerAdd5324View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/nrrd/cc.cnrrdCCMerge6939View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)src/limn/polymod.climnPolyDataPrimitiveSelect160011View Report
Logic errorUninitialized argument valuesrc/hoover/rays.chooverRender45413View Report
Logic errorUninitialized argument valuesrc/nrrd/formatText.c_nrrdFormatText_read20010View Report
Logic errorUninitialized argument valuesrc/unrrdu/heq.cunrrdu_heqMain945View Report
Logic errorUnix APIsrc/air/heap.cairHeapFromArray15218View Report