Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/spooles-2.2/cfiles.h Examining data/spooles-2.2/SPOOLES.h Examining data/spooles-2.2/A2.h Examining data/spooles-2.2/A2/A2.h Examining data/spooles-2.2/A2/src/IO.c Examining data/spooles-2.2/A2/src/QRreduce.c Examining data/spooles-2.2/A2/src/basics.c Examining data/spooles-2.2/A2/src/copyEntriesToVector.c Examining data/spooles-2.2/A2/src/init.c Examining data/spooles-2.2/A2/src/instance.c Examining data/spooles-2.2/A2/src/makeStaircase.c Examining data/spooles-2.2/A2/src/norms.c Examining data/spooles-2.2/A2/src/sort.c Examining data/spooles-2.2/A2/src/util.c Examining data/spooles-2.2/A2/drivers/testQR.c Examining data/spooles-2.2/A2/drivers/test_norms.c Examining data/spooles-2.2/BKL.h Examining data/spooles-2.2/BKL/BKL.h Examining data/spooles-2.2/BKL/src/basics.c Examining data/spooles-2.2/BKL/src/evalfcn.c Examining data/spooles-2.2/BKL/src/exhSearch.c Examining data/spooles-2.2/BKL/src/fidmat.c Examining data/spooles-2.2/BKL/src/init.c Examining data/spooles-2.2/BKL/src/util.c Examining data/spooles-2.2/BPG.h Examining data/spooles-2.2/BPG/BPG.h Examining data/spooles-2.2/BPG/src/DM.c Examining data/spooles-2.2/BPG/src/IO.c Examining data/spooles-2.2/BPG/src/basics.c Examining data/spooles-2.2/BPG/src/init.c Examining data/spooles-2.2/BPG/src/makeGraphs.c Examining data/spooles-2.2/BPG/src/maxFlow.c Examining data/spooles-2.2/BPG/src/pseudo.c Examining data/spooles-2.2/BPG/drivers/extractBPG.c Examining data/spooles-2.2/BPG/drivers/testDM.c Examining data/spooles-2.2/BPG/drivers/testIO.c Examining data/spooles-2.2/Chv.h Examining data/spooles-2.2/Chv/Chv.h Examining data/spooles-2.2/Chv/src/IO.c Examining data/spooles-2.2/Chv/src/assemble.c Examining data/spooles-2.2/Chv/src/basics.c Examining data/spooles-2.2/Chv/src/copy.c Examining data/spooles-2.2/Chv/src/factor.c Examining data/spooles-2.2/Chv/src/findPivot.c Examining data/spooles-2.2/Chv/src/init.c Examining data/spooles-2.2/Chv/src/instance.c Examining data/spooles-2.2/Chv/src/search.c Examining data/spooles-2.2/Chv/src/swap.c Examining data/spooles-2.2/Chv/src/update.c Examining data/spooles-2.2/Chv/src/util.c Examining data/spooles-2.2/Chv/drivers/test_addChevron.c Examining data/spooles-2.2/Chv/drivers/test_assmbChv.c Examining data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c Examining data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c Examining data/spooles-2.2/Chv/drivers/test_factor.c Examining data/spooles-2.2/Chv/drivers/test_findPivot.c Examining data/spooles-2.2/Chv/drivers/test_maxabs.c Examining data/spooles-2.2/Chv/drivers/test_r1upd.c Examining data/spooles-2.2/Chv/drivers/test_r2upd.c Examining data/spooles-2.2/Chv/drivers/test_swap.c Examining data/spooles-2.2/Chv/drivers/test_update.c Examining data/spooles-2.2/ChvList.h Examining data/spooles-2.2/ChvList/ChvList.h Examining data/spooles-2.2/ChvList/src/IO.c Examining data/spooles-2.2/ChvList/src/basics.c Examining data/spooles-2.2/ChvList/src/init.c Examining data/spooles-2.2/ChvList/src/util.c Examining data/spooles-2.2/ChvManager.h Examining data/spooles-2.2/ChvManager/ChvManager.h Examining data/spooles-2.2/ChvManager/src/IO.c Examining data/spooles-2.2/ChvManager/src/basics.c Examining data/spooles-2.2/ChvManager/src/init.c Examining data/spooles-2.2/ChvManager/src/util.c Examining data/spooles-2.2/Coords.h Examining data/spooles-2.2/Coords/Coords.h Examining data/spooles-2.2/Coords/src/IO.c Examining data/spooles-2.2/Coords/src/basics.c Examining data/spooles-2.2/Coords/src/init.c Examining data/spooles-2.2/Coords/src/util.c Examining data/spooles-2.2/Coords/drivers/mk9PCoords.c Examining data/spooles-2.2/Coords/drivers/testIO.c Examining data/spooles-2.2/DSTree.h Examining data/spooles-2.2/DSTree/DSTree.h Examining data/spooles-2.2/DSTree/src/IO.c Examining data/spooles-2.2/DSTree/src/basics.c Examining data/spooles-2.2/DSTree/src/init.c Examining data/spooles-2.2/DSTree/src/instance.c Examining data/spooles-2.2/DSTree/src/stages.c Examining data/spooles-2.2/DSTree/src/util.c Examining data/spooles-2.2/DSTree/drivers/testDomWeightStages.c Examining data/spooles-2.2/DSTree/drivers/testIO.c Examining data/spooles-2.2/DSTree/drivers/writeStagesIV.c Examining data/spooles-2.2/DV.h Examining data/spooles-2.2/DV/DV.h Examining data/spooles-2.2/DV/src/IO.c Examining data/spooles-2.2/DV/src/basics.c Examining data/spooles-2.2/DV/src/init.c Examining data/spooles-2.2/DV/src/instance.c Examining data/spooles-2.2/DV/src/profile.c Examining data/spooles-2.2/DV/src/util.c Examining data/spooles-2.2/DV/drivers/testIO.c Examining data/spooles-2.2/DenseMtx.h Examining data/spooles-2.2/DenseMtx/DenseMtx.h Examining data/spooles-2.2/DenseMtx/src/IO.c Examining data/spooles-2.2/DenseMtx/src/basics.c Examining data/spooles-2.2/DenseMtx/src/init.c Examining data/spooles-2.2/DenseMtx/src/initAsSubmtx.c Examining data/spooles-2.2/DenseMtx/src/instance.c Examining data/spooles-2.2/DenseMtx/src/permute.c Examining data/spooles-2.2/DenseMtx/src/scale.c Examining data/spooles-2.2/DenseMtx/src/util.c Examining data/spooles-2.2/Drand.h Examining data/spooles-2.2/Drand/Drand.h Examining data/spooles-2.2/Drand/src/basics.c Examining data/spooles-2.2/Drand/src/init.c Examining data/spooles-2.2/Drand/src/util.c Examining data/spooles-2.2/Drand/drivers/testDrand.c Examining data/spooles-2.2/EGraph.h Examining data/spooles-2.2/EGraph/EGraph.h Examining data/spooles-2.2/EGraph/src/IO.c Examining data/spooles-2.2/EGraph/src/basics.c Examining data/spooles-2.2/EGraph/src/init.c Examining data/spooles-2.2/EGraph/src/misc.c Examining data/spooles-2.2/EGraph/src/mkAdjGraph.c Examining data/spooles-2.2/EGraph/drivers/mkGraph.c Examining data/spooles-2.2/EGraph/drivers/mkGridEGraph.c Examining data/spooles-2.2/EGraph/drivers/testIO.c Examining data/spooles-2.2/ETree.h Examining data/spooles-2.2/ETree/ETree.h Examining data/spooles-2.2/ETree/src/IO.c Examining data/spooles-2.2/ETree/src/basics.c Examining data/spooles-2.2/ETree/src/compress.c Examining data/spooles-2.2/ETree/src/init.c Examining data/spooles-2.2/ETree/src/initFromSubtree.c Examining data/spooles-2.2/ETree/src/instance.c Examining data/spooles-2.2/ETree/src/justify.c Examining data/spooles-2.2/ETree/src/maps.c Examining data/spooles-2.2/ETree/src/metrics.c Examining data/spooles-2.2/ETree/src/ms.c Examining data/spooles-2.2/ETree/src/permute.c Examining data/spooles-2.2/ETree/src/semi.c Examining data/spooles-2.2/ETree/src/storage.c Examining data/spooles-2.2/ETree/src/transform.c Examining data/spooles-2.2/ETree/src/util.c Examining data/spooles-2.2/ETree/drivers/createETree.c Examining data/spooles-2.2/ETree/drivers/extractTopSep.c Examining data/spooles-2.2/ETree/drivers/mkNDETree.c Examining data/spooles-2.2/ETree/drivers/mkNDoutput.c Examining data/spooles-2.2/ETree/drivers/permuteETree.c Examining data/spooles-2.2/ETree/drivers/testExpand.c Examining data/spooles-2.2/ETree/drivers/testFS.c Examining data/spooles-2.2/ETree/drivers/testHeight.c Examining data/spooles-2.2/ETree/drivers/testIO.c Examining data/spooles-2.2/ETree/drivers/testMS.c Examining data/spooles-2.2/ETree/drivers/testMaps.c Examining data/spooles-2.2/ETree/drivers/testStats.c Examining data/spooles-2.2/ETree/drivers/testStorage.c Examining data/spooles-2.2/ETree/drivers/testTransform.c Examining data/spooles-2.2/Eigen/Bridge.h Examining data/spooles-2.2/Eigen/BridgeMPI.h Examining data/spooles-2.2/Eigen/BridgeMT.h Examining data/spooles-2.2/Eigen/srcST/Cleanup.c Examining data/spooles-2.2/Eigen/srcST/Factor.c Examining data/spooles-2.2/Eigen/srcST/MatMul.c Examining data/spooles-2.2/Eigen/srcST/Setup.c Examining data/spooles-2.2/Eigen/srcST/Solve.c Examining data/spooles-2.2/Eigen/srcMT/CleanupMT.c Examining data/spooles-2.2/Eigen/srcMT/FactorMT.c Examining data/spooles-2.2/Eigen/srcMT/MatMulMT.c Examining data/spooles-2.2/Eigen/srcMT/SetupMT.c Examining data/spooles-2.2/Eigen/srcMT/SolveMT.c Examining data/spooles-2.2/Eigen/srcMPI/CleanupMPI.c Examining data/spooles-2.2/Eigen/srcMPI/FactorMPI.c Examining data/spooles-2.2/Eigen/srcMPI/JimMatMulMPI.c Examining data/spooles-2.2/Eigen/srcMPI/JimSolveMPI.c Examining data/spooles-2.2/Eigen/srcMPI/MatMulMPI.c Examining data/spooles-2.2/Eigen/srcMPI/SetupMPI.c Examining data/spooles-2.2/Eigen/srcMPI/SolveMPI.c Examining data/spooles-2.2/Eigen/drivers/testMPI.c Examining data/spooles-2.2/Eigen/drivers/testMT.c Examining data/spooles-2.2/Eigen/drivers/testSerial.c Examining data/spooles-2.2/FrontMtx.h Examining data/spooles-2.2/FrontMtx/FrontMtx.h Examining data/spooles-2.2/FrontMtx/src/IO.c Examining data/spooles-2.2/FrontMtx/src/QRfactor.c Examining data/spooles-2.2/FrontMtx/src/QRsolve.c Examining data/spooles-2.2/FrontMtx/src/QRutil.c Examining data/spooles-2.2/FrontMtx/src/basics.c Examining data/spooles-2.2/FrontMtx/src/factor.c Examining data/spooles-2.2/FrontMtx/src/factorUtil.c Examining data/spooles-2.2/FrontMtx/src/init.c Examining data/spooles-2.2/FrontMtx/src/instance.c Examining data/spooles-2.2/FrontMtx/src/loadEntries.c Examining data/spooles-2.2/FrontMtx/src/permute.c Examining data/spooles-2.2/FrontMtx/src/postProcess.c Examining data/spooles-2.2/FrontMtx/src/postponed.c Examining data/spooles-2.2/FrontMtx/src/solve.c Examining data/spooles-2.2/FrontMtx/src/solveUtil.c Examining data/spooles-2.2/FrontMtx/src/split.c Examining data/spooles-2.2/FrontMtx/src/storeFront.c Examining data/spooles-2.2/FrontMtx/src/update.c Examining data/spooles-2.2/FrontMtx/src/util.c Examining data/spooles-2.2/FrontMtx/drivers/testFactor.c Examining data/spooles-2.2/FrontMtx/drivers/testGrid.c Examining data/spooles-2.2/FrontMtx/drivers/testQRgrid.c Examining data/spooles-2.2/GPart.h Examining data/spooles-2.2/GPart/DDsepInfo.h Examining data/spooles-2.2/GPart/GPart.h Examining data/spooles-2.2/GPart/src/DDsepInfo.c Examining data/spooles-2.2/GPart/src/DDviaFishnet.c Examining data/spooles-2.2/GPart/src/DDviaProjection.c Examining data/spooles-2.2/GPart/src/RBviaDDsep.c Examining data/spooles-2.2/GPart/src/TwoSetViaBKL.c Examining data/spooles-2.2/GPart/src/basics.c Examining data/spooles-2.2/GPart/src/domSegMap.c Examining data/spooles-2.2/GPart/src/identifyWideSep.c Examining data/spooles-2.2/GPart/src/init.c Examining data/spooles-2.2/GPart/src/makeYCmap.c Examining data/spooles-2.2/GPart/src/smoothBisector.c Examining data/spooles-2.2/GPart/src/smoothBy2layers.c Examining data/spooles-2.2/GPart/src/smoothYSep.c Examining data/spooles-2.2/GPart/src/split.c Examining data/spooles-2.2/GPart/src/util.c Examining data/spooles-2.2/GPart/drivers/mkDSTree.c Examining data/spooles-2.2/GPart/drivers/testDDviaFishnet.c Examining data/spooles-2.2/GPart/drivers/testRBviaDDsep.c Examining data/spooles-2.2/GPart/drivers/testRBviaDDsep2.c Examining data/spooles-2.2/GPart/drivers/testSmoothBisector.c Examining data/spooles-2.2/GPart/drivers/testTwoSetViaBKL.c Examining data/spooles-2.2/Graph.h Examining data/spooles-2.2/Graph/Graph.h Examining data/spooles-2.2/Graph/src/IO.c Examining data/spooles-2.2/Graph/src/basics.c Examining data/spooles-2.2/Graph/src/compress.c Examining data/spooles-2.2/Graph/src/equivMap.c Examining data/spooles-2.2/Graph/src/expand.c Examining data/spooles-2.2/Graph/src/fillFromOffsets.c Examining data/spooles-2.2/Graph/src/init.c Examining data/spooles-2.2/Graph/src/setListsFromOffsets.c Examining data/spooles-2.2/Graph/src/util.c Examining data/spooles-2.2/Graph/src/wirebasket.c Examining data/spooles-2.2/Graph/drivers/checkComponents.c Examining data/spooles-2.2/Graph/drivers/compressGraph.c Examining data/spooles-2.2/Graph/drivers/expandGraph.c Examining data/spooles-2.2/Graph/drivers/mkGridGraph.c Examining data/spooles-2.2/Graph/drivers/test1.c Examining data/spooles-2.2/Graph/drivers/testChacoIO.c Examining data/spooles-2.2/Graph/drivers/testIO.c Examining data/spooles-2.2/Graph/drivers/testIsSymmetric.c Examining data/spooles-2.2/Graph/drivers/testWirebasket.c Examining data/spooles-2.2/Graph/drivers/writeAIJ.c Examining data/spooles-2.2/Graph/drivers/writeMetisFile.c Examining data/spooles-2.2/I2Ohash.h Examining data/spooles-2.2/I2Ohash/I2Ohash.h Examining data/spooles-2.2/I2Ohash/src/basics.c Examining data/spooles-2.2/I2Ohash/src/init.c Examining data/spooles-2.2/I2Ohash/src/util.c Examining data/spooles-2.2/I2Ohash/src/IO.c Examining data/spooles-2.2/I2Ohash/drivers/test_hash.c Examining data/spooles-2.2/IIheap.h Examining data/spooles-2.2/IIheap/IIheap.h Examining data/spooles-2.2/IIheap/src/basics.c Examining data/spooles-2.2/ILUMtx.h Examining data/spooles-2.2/ILUMtx/ILUMtx.h Examining data/spooles-2.2/ILUMtx/src/IO.c Examining data/spooles-2.2/ILUMtx/src/basics.c Examining data/spooles-2.2/ILUMtx/src/factor.c Examining data/spooles-2.2/ILUMtx/src/init.c Examining data/spooles-2.2/ILUMtx/src/misc.c Examining data/spooles-2.2/ILUMtx/src/solve.c Examining data/spooles-2.2/ILUMtx/drivers/testFactor.c Examining data/spooles-2.2/ILUMtx/drivers/testSolve.c Examining data/spooles-2.2/IV.h Examining data/spooles-2.2/IV/IV.h Examining data/spooles-2.2/IV/src/IO.c Examining data/spooles-2.2/IV/src/basics.c Examining data/spooles-2.2/IV/src/init.c Examining data/spooles-2.2/IV/src/instance.c Examining data/spooles-2.2/IV/src/util.c Examining data/spooles-2.2/IV/drivers/testIO.c Examining data/spooles-2.2/IVL.h Examining data/spooles-2.2/IVL/IVL.h Examining data/spooles-2.2/IVL/src/IO.c Examining data/spooles-2.2/IVL/src/basics.c Examining data/spooles-2.2/IVL/src/init.c Examining data/spooles-2.2/IVL/src/instance.c Examining data/spooles-2.2/IVL/src/listmanip.c Examining data/spooles-2.2/IVL/src/misc.c Examining data/spooles-2.2/IVL/src/subIVL.c Examining data/spooles-2.2/IVL/src/util.c Examining data/spooles-2.2/IVL/drivers/testExpand.c Examining data/spooles-2.2/IVL/drivers/testIO.c Examining data/spooles-2.2/Ideq.h Examining data/spooles-2.2/Ideq/Ideq.h Examining data/spooles-2.2/Ideq/src/IO.c Examining data/spooles-2.2/Ideq/src/basics.c Examining data/spooles-2.2/Ideq/src/resize.c Examining data/spooles-2.2/Ideq/src/util.c Examining data/spooles-2.2/InpMtx.h Examining data/spooles-2.2/InpMtx/InpMtx.h Examining data/spooles-2.2/InpMtx/src/IO.c Examining data/spooles-2.2/InpMtx/src/adjForATA.c Examining data/spooles-2.2/InpMtx/src/basics.c Examining data/spooles-2.2/InpMtx/src/extract.c Examining data/spooles-2.2/InpMtx/src/fullAdj.c Examining data/spooles-2.2/InpMtx/src/gmmm.c Examining data/spooles-2.2/InpMtx/src/gmvm.c Examining data/spooles-2.2/InpMtx/src/init.c Examining data/spooles-2.2/InpMtx/src/input.c Examining data/spooles-2.2/InpMtx/src/instance.c Examining data/spooles-2.2/InpMtx/src/map.c Examining data/spooles-2.2/InpMtx/src/mvm.c Examining data/spooles-2.2/InpMtx/src/mvmVector.c Examining data/spooles-2.2/InpMtx/src/permute.c Examining data/spooles-2.2/InpMtx/src/profile.c Examining data/spooles-2.2/InpMtx/src/support.c Examining data/spooles-2.2/InpMtx/src/util.c Examining data/spooles-2.2/InpMtx/drivers/adjToGraph.c Examining data/spooles-2.2/InpMtx/drivers/createGraph.c Examining data/spooles-2.2/InpMtx/drivers/createGraphForATA.c Examining data/spooles-2.2/InpMtx/drivers/getProfile.c Examining data/spooles-2.2/InpMtx/drivers/mkLaplacianMtx.c Examining data/spooles-2.2/InpMtx/drivers/mkNaturalFactorMtx.c Examining data/spooles-2.2/InpMtx/drivers/readAIJ.c Examining data/spooles-2.2/InpMtx/drivers/readAIJ2.c Examining data/spooles-2.2/InpMtx/drivers/testExtract.c Examining data/spooles-2.2/InpMtx/drivers/testFullAdj.c Examining data/spooles-2.2/InpMtx/drivers/testFullAdj2.c Examining data/spooles-2.2/InpMtx/drivers/testGMMM.c Examining data/spooles-2.2/InpMtx/drivers/testGMVM.c Examining data/spooles-2.2/InpMtx/drivers/testHBIO.c Examining data/spooles-2.2/InpMtx/drivers/testHBIO2.c Examining data/spooles-2.2/InpMtx/drivers/testIO.c Examining data/spooles-2.2/InpMtx/drivers/testInput.c Examining data/spooles-2.2/InpMtx/drivers/testMMM.c Examining data/spooles-2.2/InpMtx/drivers/testR2D.c Examining data/spooles-2.2/InpMtx/drivers/weightedAdjToGraph.c Examining data/spooles-2.2/Iter/Iter.h Examining data/spooles-2.2/Iter/src/DenseMtx_mmm.c Examining data/spooles-2.2/Iter/src/bgmresl.c Examining data/spooles-2.2/Iter/src/bgmresr.c Examining data/spooles-2.2/Iter/src/bicgstabl.c Examining data/spooles-2.2/Iter/src/bicgstabr.c Examining data/spooles-2.2/Iter/src/mlbicgstabl.c Examining data/spooles-2.2/Iter/src/mlbicgstabr.c Examining data/spooles-2.2/Iter/src/pcgl.c Examining data/spooles-2.2/Iter/src/pcgr.c Examining data/spooles-2.2/Iter/src/tfqmrl.c Examining data/spooles-2.2/Iter/src/tfqmrr.c Examining data/spooles-2.2/Iter/src/util.c Examining data/spooles-2.2/Iter/src/zbicgstabl.c Examining data/spooles-2.2/Iter/src/zbicgstabr.c Examining data/spooles-2.2/Iter/src/zmlbicgstabl.c Examining data/spooles-2.2/Iter/src/zmlbicgstabr.c Examining data/spooles-2.2/Iter/src/zpcgl.c Examining data/spooles-2.2/Iter/src/zpcgr.c Examining data/spooles-2.2/Iter/src/ztfqmrl.c Examining data/spooles-2.2/Iter/src/ztfqmrr.c Examining data/spooles-2.2/Iter/drivers/iter.c Examining data/spooles-2.2/Iter/drivers/test_colCopy.c Examining data/spooles-2.2/Iter/drivers/test_colDotProduct.c Examining data/spooles-2.2/Iter/drivers/test_colGenAxpy.c Examining data/spooles-2.2/Iter/drivers/test_frobNorm.c Examining data/spooles-2.2/Iter/drivers/test_mmm.c Examining data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c Examining data/spooles-2.2/LinSol/Bridge.h Examining data/spooles-2.2/LinSol/BridgeMPI.h Examining data/spooles-2.2/LinSol/BridgeMT.h Examining data/spooles-2.2/LinSol/srcST/basics.c Examining data/spooles-2.2/LinSol/srcST/factor.c Examining data/spooles-2.2/LinSol/srcST/info.c Examining data/spooles-2.2/LinSol/srcST/instance.c Examining data/spooles-2.2/LinSol/srcST/setparams.c Examining data/spooles-2.2/LinSol/srcST/setup.c Examining data/spooles-2.2/LinSol/srcST/solve.c Examining data/spooles-2.2/LinSol/srcMT/basics.c Examining data/spooles-2.2/LinSol/srcMT/factor.c Examining data/spooles-2.2/LinSol/srcMT/factorSetup.c Examining data/spooles-2.2/LinSol/srcMT/info.c Examining data/spooles-2.2/LinSol/srcMT/instance.c Examining data/spooles-2.2/LinSol/srcMT/setparams.c Examining data/spooles-2.2/LinSol/srcMT/setup.c Examining data/spooles-2.2/LinSol/srcMT/solve.c Examining data/spooles-2.2/LinSol/srcMT/solveSetup.c Examining data/spooles-2.2/LinSol/srcMPI/basics.c Examining data/spooles-2.2/LinSol/srcMPI/factor.c Examining data/spooles-2.2/LinSol/srcMPI/factorSetup.c Examining data/spooles-2.2/LinSol/srcMPI/info.c Examining data/spooles-2.2/LinSol/srcMPI/instance.c Examining data/spooles-2.2/LinSol/srcMPI/setparams.c Examining data/spooles-2.2/LinSol/srcMPI/setup.c Examining data/spooles-2.2/LinSol/srcMPI/solve.c Examining data/spooles-2.2/LinSol/srcMPI/solveSetup.c Examining data/spooles-2.2/LinSol/drivers/testWrapper.c Examining data/spooles-2.2/LinSol/drivers/testWrapperMPI.c Examining data/spooles-2.2/LinSol/drivers/testWrapperMT.c Examining data/spooles-2.2/Lock.h Examining data/spooles-2.2/Lock/Lock.h Examining data/spooles-2.2/Lock/src/basics.c Examining data/spooles-2.2/Lock/src/init.c Examining data/spooles-2.2/Lock/src/util.c Examining data/spooles-2.2/MPI.h Examining data/spooles-2.2/MPI/spoolesMPI.h Examining data/spooles-2.2/MPI/src/DenseMtx_gather.c Examining data/spooles-2.2/MPI/src/DenseMtx_scatterAdd.c Examining data/spooles-2.2/MPI/src/ETree_Bcast.c Examining data/spooles-2.2/MPI/src/Graph_Bcast.c Examining data/spooles-2.2/MPI/src/IVL_Bcast.c Examining data/spooles-2.2/MPI/src/IVL_alltoall.c Examining data/spooles-2.2/MPI/src/IVLallgather.c Examining data/spooles-2.2/MPI/src/IV_Bcast.c Examining data/spooles-2.2/MPI/src/IVallgather.c Examining data/spooles-2.2/MPI/src/MMM.c Examining data/spooles-2.2/MPI/src/aggListMPI.c Examining data/spooles-2.2/MPI/src/colmapMPI.c Examining data/spooles-2.2/MPI/src/factorMPI.c Examining data/spooles-2.2/MPI/src/fullAdjMPI.c Examining data/spooles-2.2/MPI/src/makeSendRecvIVLs.c Examining data/spooles-2.2/MPI/src/postProcess.c Examining data/spooles-2.2/MPI/src/rowmapMPI.c Examining data/spooles-2.2/MPI/src/solveMPI.c Examining data/spooles-2.2/MPI/src/splitDenseMtx.c Examining data/spooles-2.2/MPI/src/splitFrontMtx.c Examining data/spooles-2.2/MPI/src/splitInpMtx.c Examining data/spooles-2.2/MPI/src/splitPencil.c Examining data/spooles-2.2/MPI/src/symbfacMPI.c Examining data/spooles-2.2/MPI/src/utilities.c Examining data/spooles-2.2/MPI/drivers/allInOneMPI.c Examining data/spooles-2.2/MPI/drivers/patchAndGoMPI.c Examining data/spooles-2.2/MPI/drivers/testGather.c Examining data/spooles-2.2/MPI/drivers/testGraph_Bcast.c Examining data/spooles-2.2/MPI/drivers/testGridMPI.c Examining data/spooles-2.2/MPI/drivers/testIVL_Bcast.c Examining data/spooles-2.2/MPI/drivers/testIVL_allgather.c Examining data/spooles-2.2/MPI/drivers/testIVL_alltoall.c Examining data/spooles-2.2/MPI/drivers/testIV_allgather.c Examining data/spooles-2.2/MPI/drivers/testMMM.c Examining data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c Examining data/spooles-2.2/MPI/drivers/testScatterInpMtx.c Examining data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c Examining data/spooles-2.2/MPI/drivers/testSplitInpMtx.c Examining data/spooles-2.2/MPI/drivers/testSymbFac.c Examining data/spooles-2.2/MSMD.h Examining data/spooles-2.2/MSMD/MSMD.h Examining data/spooles-2.2/MSMD/src/MSMDinfo.c Examining data/spooles-2.2/MSMD/src/MSMDvtx.c Examining data/spooles-2.2/MSMD/src/basics.c Examining data/spooles-2.2/MSMD/src/cleanReachSet.c Examining data/spooles-2.2/MSMD/src/eliminate.c Examining data/spooles-2.2/MSMD/src/fillPerms.c Examining data/spooles-2.2/MSMD/src/findInodes.c Examining data/spooles-2.2/MSMD/src/frontETree.c Examining data/spooles-2.2/MSMD/src/init.c Examining data/spooles-2.2/MSMD/src/makeSchurComplement.c Examining data/spooles-2.2/MSMD/src/order.c Examining data/spooles-2.2/MSMD/src/update.c Examining data/spooles-2.2/MSMD/drivers/orderViaMMD.c Examining data/spooles-2.2/MSMD/drivers/orderViaMS.c Examining data/spooles-2.2/MSMD/drivers/orderViaND.c Examining data/spooles-2.2/MSMD/drivers/orderViaStages.c Examining data/spooles-2.2/MT.h Examining data/spooles-2.2/MT/spoolesMT.h Examining data/spooles-2.2/MT/src/QRfactorMT.c Examining data/spooles-2.2/MT/src/QRsolveMT.c Examining data/spooles-2.2/MT/src/factorMT.c Examining data/spooles-2.2/MT/src/mvm.c Examining data/spooles-2.2/MT/src/solveMT.c Examining data/spooles-2.2/MT/drivers/allInOneMT.c Examining data/spooles-2.2/MT/drivers/patchAndGoMT.c Examining data/spooles-2.2/MT/drivers/testFactorMT.c Examining data/spooles-2.2/MT/drivers/testGridMT.c Examining data/spooles-2.2/MT/drivers/testMMM.c Examining data/spooles-2.2/MT/drivers/testQRgridMT.c Examining data/spooles-2.2/Network.h Examining data/spooles-2.2/Network/Network.h Examining data/spooles-2.2/Network/src/IO.c Examining data/spooles-2.2/Network/src/addArc.c Examining data/spooles-2.2/Network/src/augmentPath.c Examining data/spooles-2.2/Network/src/basics.c Examining data/spooles-2.2/Network/src/findAugmentingPath.c Examining data/spooles-2.2/Network/src/findMaxFlow.c Examining data/spooles-2.2/Network/src/findMincut.c Examining data/spooles-2.2/Network/src/init.c Examining data/spooles-2.2/PatchAndGoInfo.h Examining data/spooles-2.2/PatchAndGoInfo/PatchAndGoInfo.h Examining data/spooles-2.2/PatchAndGoInfo/src/basics.c Examining data/spooles-2.2/PatchAndGoInfo/src/init.c Examining data/spooles-2.2/Pencil.h Examining data/spooles-2.2/Pencil/Pencil.h Examining data/spooles-2.2/Pencil/src/IO.c Examining data/spooles-2.2/Pencil/src/basics.c Examining data/spooles-2.2/Pencil/src/init.c Examining data/spooles-2.2/Pencil/src/mmm.c Examining data/spooles-2.2/Pencil/src/permute.c Examining data/spooles-2.2/Pencil/src/setup.c Examining data/spooles-2.2/Pencil/src/util.c Examining data/spooles-2.2/Perm.h Examining data/spooles-2.2/Perm/Perm.h Examining data/spooles-2.2/Perm/src/IO.c Examining data/spooles-2.2/Perm/src/basics.c Examining data/spooles-2.2/Perm/src/compress.c Examining data/spooles-2.2/Perm/src/init.c Examining data/spooles-2.2/Perm/src/util.c Examining data/spooles-2.2/Perm/drivers/compressPerm.c Examining data/spooles-2.2/Perm/drivers/testIO.c Examining data/spooles-2.2/SemiImplMtx/SemiImplMtx.h Examining data/spooles-2.2/SemiImplMtx/src/IO.c Examining data/spooles-2.2/SemiImplMtx/src/basics.c Examining data/spooles-2.2/SemiImplMtx/src/init.c Examining data/spooles-2.2/SemiImplMtx/src/solve.c Examining data/spooles-2.2/SemiImplMtx/src/util.c Examining data/spooles-2.2/SemiImplMtx/drivers/testGrid.c Examining data/spooles-2.2/SemiImplMtx/drivers/testSimple.c Examining data/spooles-2.2/SolveMap.h Examining data/spooles-2.2/SolveMap/SolveMap.h Examining data/spooles-2.2/SolveMap/src/IO.c Examining data/spooles-2.2/SolveMap/src/basics.c Examining data/spooles-2.2/SolveMap/src/init.c Examining data/spooles-2.2/SolveMap/src/instance.c Examining data/spooles-2.2/SolveMap/src/maps.c Examining data/spooles-2.2/SolveMap/src/setup.c Examining data/spooles-2.2/SolveMap/src/util.c Examining data/spooles-2.2/SubMtx.h Examining data/spooles-2.2/SubMtx/SubMtx.h Examining data/spooles-2.2/SubMtx/src/IO.c Examining data/spooles-2.2/SubMtx/src/basics.c Examining data/spooles-2.2/SubMtx/src/init.c Examining data/spooles-2.2/SubMtx/src/initRandom.c Examining data/spooles-2.2/SubMtx/src/instance.c Examining data/spooles-2.2/SubMtx/src/scalevec.c Examining data/spooles-2.2/SubMtx/src/solve.c Examining data/spooles-2.2/SubMtx/src/solveH.c Examining data/spooles-2.2/SubMtx/src/solveT.c Examining data/spooles-2.2/SubMtx/src/solveupd.c Examining data/spooles-2.2/SubMtx/src/solveupdH.c Examining data/spooles-2.2/SubMtx/src/solveupdT.c Examining data/spooles-2.2/SubMtx/src/sort.c Examining data/spooles-2.2/SubMtx/src/util.c Examining data/spooles-2.2/SubMtx/drivers/testIO.c Examining data/spooles-2.2/SubMtx/drivers/test_scalevec.c Examining data/spooles-2.2/SubMtx/drivers/test_solve.c Examining data/spooles-2.2/SubMtx/drivers/test_solveH.c Examining data/spooles-2.2/SubMtx/drivers/test_solveT.c Examining data/spooles-2.2/SubMtx/drivers/test_solveupd.c Examining data/spooles-2.2/SubMtx/drivers/test_solveupdH.c Examining data/spooles-2.2/SubMtx/drivers/test_solveupdT.c Examining data/spooles-2.2/SubMtx/drivers/test_sort.c Examining data/spooles-2.2/SubMtxList.h Examining data/spooles-2.2/SubMtxList/SubMtxList.h Examining data/spooles-2.2/SubMtxList/src/IO.c Examining data/spooles-2.2/SubMtxList/src/basics.c Examining data/spooles-2.2/SubMtxList/src/init.c Examining data/spooles-2.2/SubMtxList/src/util.c Examining data/spooles-2.2/SubMtxManager.h Examining data/spooles-2.2/SubMtxManager/SubMtxManager.h Examining data/spooles-2.2/SubMtxManager/src/IO.c Examining data/spooles-2.2/SubMtxManager/src/basics.c Examining data/spooles-2.2/SubMtxManager/src/init.c Examining data/spooles-2.2/SubMtxManager/src/util.c Examining data/spooles-2.2/SymbFac.h Examining data/spooles-2.2/SymbFac/SymbFac.h Examining data/spooles-2.2/SymbFac/src/symbfac.c Examining data/spooles-2.2/SymbFac/drivers/testSymbfacGraph.c Examining data/spooles-2.2/SymbFac/drivers/testSymbfacInpMtx.c Examining data/spooles-2.2/Tree.h Examining data/spooles-2.2/Tree/Tree.h Examining data/spooles-2.2/Tree/src/IO.c Examining data/spooles-2.2/Tree/src/basics.c Examining data/spooles-2.2/Tree/src/compress.c Examining data/spooles-2.2/Tree/src/draw.c Examining data/spooles-2.2/Tree/src/getCoords.c Examining data/spooles-2.2/Tree/src/init.c Examining data/spooles-2.2/Tree/src/instance.c Examining data/spooles-2.2/Tree/src/justify.c Examining data/spooles-2.2/Tree/src/maximizeGain.c Examining data/spooles-2.2/Tree/src/metrics.c Examining data/spooles-2.2/Tree/src/perms.c Examining data/spooles-2.2/Tree/src/permute.c Examining data/spooles-2.2/Tree/src/subtree.c Examining data/spooles-2.2/Tree/src/util.c Examining data/spooles-2.2/Tree/drivers/drawTree.c Examining data/spooles-2.2/Utilities.h Examining data/spooles-2.2/Utilities/CV.h Examining data/spooles-2.2/Utilities/DLIST.h Examining data/spooles-2.2/Utilities/DV.h Examining data/spooles-2.2/Utilities/DVsort.h Examining data/spooles-2.2/Utilities/FV.h Examining data/spooles-2.2/Utilities/FileType.h Examining data/spooles-2.2/Utilities/I2OP.h Examining data/spooles-2.2/Utilities/IP.h Examining data/spooles-2.2/Utilities/IV.h Examining data/spooles-2.2/Utilities/IVsort.h Examining data/spooles-2.2/Utilities/MM.h Examining data/spooles-2.2/Utilities/ND.h Examining data/spooles-2.2/Utilities/PCV.h Examining data/spooles-2.2/Utilities/PDV.h Examining data/spooles-2.2/Utilities/PFV.h Examining data/spooles-2.2/Utilities/PIV.h Examining data/spooles-2.2/Utilities/Utilities.h Examining data/spooles-2.2/Utilities/ZV.h Examining data/spooles-2.2/Utilities/axpy.h Examining data/spooles-2.2/Utilities/iohb.h Examining data/spooles-2.2/Utilities/mdot.h Examining data/spooles-2.2/Utilities/misc.h Examining data/spooles-2.2/Utilities/newsort.h Examining data/spooles-2.2/Utilities/util.h Examining data/spooles-2.2/Utilities/src/CV.c Examining data/spooles-2.2/Utilities/src/DV.c Examining data/spooles-2.2/Utilities/src/FV.c Examining data/spooles-2.2/Utilities/src/I2OP.c Examining data/spooles-2.2/Utilities/src/IP.c Examining data/spooles-2.2/Utilities/src/IV.c Examining data/spooles-2.2/Utilities/src/PCV.c Examining data/spooles-2.2/Utilities/src/PDV.c Examining data/spooles-2.2/Utilities/src/PFV.c Examining data/spooles-2.2/Utilities/src/PIV.c Examining data/spooles-2.2/Utilities/src/ZV.c Examining data/spooles-2.2/Utilities/src/axpy.c Examining data/spooles-2.2/Utilities/src/newsort.c Examining data/spooles-2.2/Utilities/src/sortAndCompress.c Examining data/spooles-2.2/Utilities/src/iohb.c Examining data/spooles-2.2/Utilities/drivers/test_sort.c Examining data/spooles-2.2/Utilities/drivers/test_sortUpAndCompress.c Examining data/spooles-2.2/ZV.h Examining data/spooles-2.2/ZV/ZV.h Examining data/spooles-2.2/ZV/src/IO.c Examining data/spooles-2.2/ZV/src/basics.c Examining data/spooles-2.2/ZV/src/init.c Examining data/spooles-2.2/ZV/src/instance.c Examining data/spooles-2.2/ZV/src/profile.c Examining data/spooles-2.2/ZV/src/util.c Examining data/spooles-2.2/ZV/drivers/testIO.c Examining data/spooles-2.2/misc.h Examining data/spooles-2.2/misc/misc.h Examining data/spooles-2.2/misc/src/ND.c Examining data/spooles-2.2/misc/src/ND2.c Examining data/spooles-2.2/misc/src/drawGraphEPS.c Examining data/spooles-2.2/misc/src/fpgrids.c Examining data/spooles-2.2/misc/src/localND.c Examining data/spooles-2.2/misc/src/mkNDlinsys.c Examining data/spooles-2.2/misc/src/mkNDlinsysQR.c Examining data/spooles-2.2/misc/src/orderViaBestOfNDandMS.c Examining data/spooles-2.2/misc/src/orderViaMMD.c Examining data/spooles-2.2/misc/src/orderViaMS.c Examining data/spooles-2.2/misc/src/orderViaND.c Examining data/spooles-2.2/misc/drivers/QRallInOne.c Examining data/spooles-2.2/misc/drivers/allInOne.c Examining data/spooles-2.2/misc/drivers/drawGraph.c Examining data/spooles-2.2/misc/drivers/mallocTime.c Examining data/spooles-2.2/misc/drivers/patchAndGo.c Examining data/spooles-2.2/misc/drivers/testMemory.c Examining data/spooles-2.2/misc/drivers/testNDperm.c Examining data/spooles-2.2/misc/drivers/testOptPart.c Examining data/spooles-2.2/misc/drivers/testOrderViaBestOfNDandMS.c Examining data/spooles-2.2/misc/drivers/testOrderViaMMD.c Examining data/spooles-2.2/misc/drivers/testOrderViaMS.c Examining data/spooles-2.2/misc/drivers/testOrderViaND.c Examining data/spooles-2.2/misc/drivers/testSemi.c Examining data/spooles-2.2/timings.h FINAL RESULTS: data/spooles-2.2/Eigen/drivers/testMPI.c:73:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/Eigen/drivers/testMPI.c:149:1: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. fscanf(parmFile, "%d %s %s %d %le %d %le %le %d %le", data/spooles-2.2/Eigen/drivers/testMT.c:124:1: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. fscanf(parmFile, "%d %s %s %d %le %d %le %le %d %le", data/spooles-2.2/Eigen/drivers/testSerial.c:124:1: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. fscanf(parmFile, "%d %s %s %d %le %d %le %le %d %le", data/spooles-2.2/Iter/drivers/iter.c:95:7: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(ctemp, "%s", srcFileName); data/spooles-2.2/Iter/drivers/iter.c:97:7: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(ctemp, "%s", mtxFileName); data/spooles-2.2/Iter/drivers/iter.c:107:7: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(ctemp, "%s", etreeFileName); data/spooles-2.2/Iter/drivers/iter.c:109:7: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(ctemp, "%s", rhsFileName); data/spooles-2.2/Iter/drivers/iter.c:111:7: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(ctemp, "%s", slnFileName); data/spooles-2.2/Iter/drivers/iter.c:113:7: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(ctemp, "%s", msgFileName); data/spooles-2.2/Iter/drivers/iter.c:223:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(mtxFileName, srcFileName); data/spooles-2.2/LinSol/drivers/testWrapperMPI.c:77:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testGather.c:83:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testGraph_Bcast.c:62:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:107:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testIVL_Bcast.c:61:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testIVL_allgather.c:59:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testIVL_alltoall.c:58:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testIV_allgather.c:57:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testMMM.c:86:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:74:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:69:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:72:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testSplitInpMtx.c:69:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/MPI/drivers/testSymbFac.c:61:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "%s.%d", argv[2], myid) ; data/spooles-2.2/Utilities/MM.h:35:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, \ data/spooles-2.2/Utilities/MM.h:40:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, \ data/spooles-2.2/Utilities/MM.h:46:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, \ data/spooles-2.2/Utilities/src/iohb.c:884:8: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,pformat,entry); data/spooles-2.2/Utilities/src/iohb.c:894:8: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,iformat,entry); data/spooles-2.2/Utilities/src/iohb.c:906:8: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,vformat,val[i]); data/spooles-2.2/Utilities/src/iohb.c:920:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,rformat,rhs[j]); data/spooles-2.2/Utilities/src/iohb.c:930:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,rformat,guess[j]); data/spooles-2.2/Utilities/src/iohb.c:941:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,rformat,exact[j]); data/spooles-2.2/Utilities/src/iohb.c:1462:8: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,pformat,entry); data/spooles-2.2/Utilities/src/iohb.c:1472:8: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,iformat,entry); data/spooles-2.2/Utilities/src/iohb.c:1483:8: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,vformat,val+i*Valwidth); data/spooles-2.2/Utilities/src/iohb.c:1496:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,rformat,rhs+i*Rhswidth); data/spooles-2.2/Utilities/src/iohb.c:1506:12: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,rformat,guess+i*Rhswidth); data/spooles-2.2/Utilities/src/iohb.c:1517:12: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out_file,rformat,exact+i*Rhswidth); data/spooles-2.2/A2/drivers/testQR.c:42:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/A2/drivers/testQR.c:48:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/A2/drivers/testQR.c:52:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/A2/drivers/testQR.c:53:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/A2/drivers/testQR.c:54:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/A2/drivers/testQR.c:55:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/A2/drivers/testQR.c:56:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/A2/drivers/testQR.c:64:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/A2/drivers/testQR.c:65:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolX = atoi(argv[9]) ; data/spooles-2.2/A2/drivers/test_norms.c:39:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/A2/drivers/test_norms.c:45:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/A2/drivers/test_norms.c:49:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/A2/drivers/test_norms.c:50:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/A2/drivers/test_norms.c:51:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/A2/drivers/test_norms.c:52:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/A2/drivers/test_norms.c:53:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/A2/drivers/test_norms.c:61:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/A2/src/IO.c:48:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/A2/src/IO.c:56:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/A2/src/IO.c:268:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/A2/src/IO.c:276:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/A2/src/IO.c:284:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/A2/src/IO.c:293:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/BPG/drivers/extractBPG.c:42:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/BPG/drivers/extractBPG.c:45:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/BPG/drivers/extractBPG.c:53:23: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). icomp = atoi(argv[5]) ; data/spooles-2.2/BPG/drivers/testDM.c:33:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/BPG/drivers/testDM.c:36:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/BPG/drivers/testIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/BPG/drivers/testIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/BPG/src/IO.c:48:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/BPG/src/IO.c:57:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/BPG/src/IO.c:264:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/BPG/src/IO.c:273:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/BPG/src/IO.c:282:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/BPG/src/IO.c:292:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_addChevron.c:49:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_addChevron.c:55:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_addChevron.c:59:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nD = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_addChevron.c:60:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nU = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_addChevron.c:61:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_addChevron.c:62:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_addChevron.c:63:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_assmbChv.c:48:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_assmbChv.c:54:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_assmbChv.c:58:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nDJ = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_assmbChv.c:59:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nUJ = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_assmbChv.c:60:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nDI = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_assmbChv.c:61:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nUI = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_assmbChv.c:62:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_assmbChv.c:63:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[8]) ; data/spooles-2.2/Chv/drivers/test_assmbChv.c:64:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[9]) ; data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c:55:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c:61:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c:65:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nD = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c:66:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nU = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c:67:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c:68:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c:69:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c:70:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storeflag = atoi(argv[8]) ; data/spooles-2.2/Chv/drivers/test_copyBigEntriesToVector.c:71:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[9]) ; data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c:54:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c:60:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c:64:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nD = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c:65:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nU = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c:66:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c:67:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c:68:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c:69:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storeflag = atoi(argv[8]) ; data/spooles-2.2/Chv/drivers/test_copyEntriesToVector.c:70:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[9]) ; data/spooles-2.2/Chv/drivers/test_factor.c:54:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_factor.c:60:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_factor.c:64:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nD = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_factor.c:65:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nU = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_factor.c:66:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_factor.c:67:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_factor.c:68:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotflag = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_factor.c:69:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/Chv/drivers/test_findPivot.c:50:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_findPivot.c:56:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_findPivot.c:60:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nD = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_findPivot.c:61:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nU = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_findPivot.c:62:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_findPivot.c:63:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_findPivot.c:64:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_maxabs.c:48:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_maxabs.c:54:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_maxabs.c:58:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nD = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_maxabs.c:59:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nU = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_maxabs.c:60:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_maxabs.c:61:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_maxabs.c:62:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_r1upd.c:47:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_r1upd.c:53:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_r1upd.c:57:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nD = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_r1upd.c:58:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nU = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_r1upd.c:59:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_r1upd.c:60:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_r1upd.c:61:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_r2upd.c:46:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_r2upd.c:52:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_r2upd.c:56:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nD = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_r2upd.c:57:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nU = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_r2upd.c:58:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_r2upd.c:59:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_r2upd.c:60:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_swap.c:48:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_swap.c:54:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_swap.c:58:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nD = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_swap.c:59:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nU = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_swap.c:60:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_swap.c:61:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_swap.c:62:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_update.c:57:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Chv/drivers/test_update.c:63:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Chv/drivers/test_update.c:67:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/Chv/drivers/test_update.c:68:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[4]) ; data/spooles-2.2/Chv/drivers/test_update.c:69:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). sparsityflag = atoi(argv[5]) ; data/spooles-2.2/Chv/drivers/test_update.c:70:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolT = atoi(argv[6]) ; data/spooles-2.2/Chv/drivers/test_update.c:71:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nDT = atoi(argv[7]) ; data/spooles-2.2/Chv/drivers/test_update.c:72:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolU = atoi(argv[8]) ; data/spooles-2.2/Chv/drivers/test_update.c:73:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowD = atoi(argv[9]) ; data/spooles-2.2/Chv/drivers/test_update.c:74:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentU = atoi(argv[10]) ; data/spooles-2.2/Chv/drivers/test_update.c:75:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). offset = atoi(argv[11]) ; data/spooles-2.2/Chv/drivers/test_update.c:76:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[12]) ; data/spooles-2.2/Coords/drivers/mk9PCoords.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Coords/drivers/mk9PCoords.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Coords/drivers/mk9PCoords.c:43:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/Coords/drivers/mk9PCoords.c:44:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/Coords/drivers/testIO.c:33:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Coords/drivers/testIO.c:36:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Coords/src/IO.c:49:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/Coords/src/IO.c:58:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/Coords/src/IO.c:251:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/Coords/src/IO.c:260:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/Coords/src/IO.c:269:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/Coords/src/IO.c:279:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/DSTree/drivers/testDomWeightStages.c:43:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/DSTree/drivers/testDomWeightStages.c:46:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/DSTree/drivers/testIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/DSTree/drivers/testIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/DSTree/drivers/writeStagesIV.c:36:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/DSTree/drivers/writeStagesIV.c:39:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/DSTree/src/IO.c:48:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/DSTree/src/IO.c:57:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/DSTree/src/IO.c:235:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/DSTree/src/IO.c:244:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/DSTree/src/IO.c:253:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/DSTree/src/IO.c:263:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/DV/drivers/testIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/DV/drivers/testIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/DV/src/IO.c:49:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/DV/src/IO.c:58:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/DV/src/IO.c:236:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/DV/src/IO.c:245:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/DV/src/IO.c:254:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/DV/src/IO.c:264:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/DenseMtx/src/IO.c:48:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/DenseMtx/src/IO.c:56:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/DenseMtx/src/IO.c:329:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/DenseMtx/src/IO.c:338:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/DenseMtx/src/IO.c:347:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/DenseMtx/src/IO.c:357:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/Drand/drivers/testDrand.c:38:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Drand/drivers/testDrand.c:41:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Drand/drivers/testDrand.c:47:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). distribution = atoi(argv[3]) ; data/spooles-2.2/Drand/drivers/testDrand.c:55:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed1 = atoi(argv[6]) ; data/spooles-2.2/Drand/drivers/testDrand.c:56:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed2 = atoi(argv[7]) ; data/spooles-2.2/Drand/drivers/testDrand.c:57:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n = atoi(argv[8]) ; data/spooles-2.2/EGraph/drivers/mkGraph.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/EGraph/drivers/mkGraph.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/EGraph/drivers/mkGridEGraph.c:36:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/EGraph/drivers/mkGridEGraph.c:39:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/EGraph/drivers/mkGridEGraph.c:45:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/EGraph/drivers/mkGridEGraph.c:46:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/EGraph/drivers/mkGridEGraph.c:47:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/EGraph/drivers/mkGridEGraph.c:48:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncomp = atoi(argv[6]) ; data/spooles-2.2/EGraph/drivers/testIO.c:34:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/EGraph/drivers/testIO.c:37:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/EGraph/src/IO.c:48:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/EGraph/src/IO.c:57:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/EGraph/src/IO.c:299:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/EGraph/src/IO.c:308:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/EGraph/src/IO.c:317:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/EGraph/src/IO.c:327:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/ETree/drivers/createETree.c:44:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/createETree.c:47:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/extractTopSep.c:39:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/extractTopSep.c:42:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/mkNDETree.c:51:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/mkNDETree.c:54:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/mkNDETree.c:60:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/ETree/drivers/mkNDETree.c:61:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/ETree/drivers/mkNDETree.c:62:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/ETree/drivers/mkNDETree.c:63:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[6]) ; data/spooles-2.2/ETree/drivers/mkNDETree.c:64:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[7]) ; data/spooles-2.2/ETree/drivers/mkNDoutput.c:64:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/mkNDoutput.c:67:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/mkNDoutput.c:73:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/ETree/drivers/mkNDoutput.c:74:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/ETree/drivers/mkNDoutput.c:75:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/ETree/drivers/mkNDoutput.c:76:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[6]) ; data/spooles-2.2/ETree/drivers/mkNDoutput.c:77:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[7]) ; data/spooles-2.2/ETree/drivers/mkNDoutput.c:78:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthread = atoi(argv[8]) ; data/spooles-2.2/ETree/drivers/permuteETree.c:45:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/permuteETree.c:48:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testExpand.c:36:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/testExpand.c:39:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testFS.c:47:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/testFS.c:50:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testFS.c:57:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). labelflag = atoi(argv[4]) ; data/spooles-2.2/ETree/drivers/testHeight.c:37:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/testHeight.c:40:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/testIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testMS.c:44:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/testMS.c:47:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testMS.c:55:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = atoi(argv[5]) ; data/spooles-2.2/ETree/drivers/testMS.c:57:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). depth = atoi(argv[6]) ; data/spooles-2.2/ETree/drivers/testMaps.c:45:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/testMaps.c:48:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testMaps.c:56:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthread = atoi(argv[5]) ; data/spooles-2.2/ETree/drivers/testMaps.c:57:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[6]) ; data/spooles-2.2/ETree/drivers/testStats.c:66:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/testStats.c:69:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testStats.c:78:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). metricType = atoi(argv[6]) ; data/spooles-2.2/ETree/drivers/testStats.c:82:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). labelflag = atoi(argv[10]) ; data/spooles-2.2/ETree/drivers/testStorage.c:43:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/testStorage.c:46:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testTransform.c:47:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ETree/drivers/testTransform.c:50:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ETree/drivers/testTransform.c:59:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[6]) ; data/spooles-2.2/ETree/drivers/testTransform.c:60:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[7]) ; data/spooles-2.2/ETree/drivers/testTransform.c:61:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/ETree/src/IO.c:48:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/ETree/src/IO.c:57:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/ETree/src/IO.c:279:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/ETree/src/IO.c:288:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/ETree/src/IO.c:297:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/ETree/src/IO.c:307:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/Eigen/drivers/testMPI.c:25:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[20], pbtype[4], which[4] ; data/spooles-2.2/Eigen/drivers/testMPI.c:67:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Eigen/drivers/testMPI.c:74:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/Eigen/drivers/testMPI.c:83:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[4]) ; data/spooles-2.2/Eigen/drivers/testMPI.c:148:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). parmFile = fopen(parmFileName, "r"); data/spooles-2.2/Eigen/drivers/testMT.c:24:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[20], pbtype[4], which[4] ; data/spooles-2.2/Eigen/drivers/testMT.c:51:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Eigen/drivers/testMT.c:54:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Eigen/drivers/testMT.c:60:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[4]) ; data/spooles-2.2/Eigen/drivers/testMT.c:61:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthreads = atoi(argv[5]) ; data/spooles-2.2/Eigen/drivers/testMT.c:123:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). parmFile = fopen(parmFileName, "r"); data/spooles-2.2/Eigen/drivers/testSerial.c:25:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[20], pbtype[4], which[4] ; data/spooles-2.2/Eigen/drivers/testSerial.c:53:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Eigen/drivers/testSerial.c:56:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Eigen/drivers/testSerial.c:63:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[4]) ; data/spooles-2.2/Eigen/drivers/testSerial.c:123:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). parmFile = fopen(parmFileName, "r"); data/spooles-2.2/FrontMtx/drivers/testFactor.c:83:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/FrontMtx/drivers/testFactor.c:86:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/FrontMtx/drivers/testFactor.c:94:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/FrontMtx/drivers/testFactor.c:95:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[6]) ; data/spooles-2.2/FrontMtx/drivers/testFactor.c:96:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). sparsityflag = atoi(argv[7]) ; data/spooles-2.2/FrontMtx/drivers/testFactor.c:97:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[8]) ; data/spooles-2.2/FrontMtx/drivers/testFactor.c:100:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lockflag = atoi(argv[11]) ; data/spooles-2.2/FrontMtx/drivers/testFactor.c:101:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[12]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:91:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:94:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/FrontMtx/drivers/testGrid.c:100:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:101:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:102:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:103:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[6]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:104:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[7]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:105:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:106:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[9]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:107:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[10]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:108:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). sparsityflag = atoi(argv[11]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:109:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[12]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:112:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lockflag = atoi(argv[15]) ; data/spooles-2.2/FrontMtx/drivers/testGrid.c:113:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[16]) ; data/spooles-2.2/FrontMtx/drivers/testQRgrid.c:57:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/FrontMtx/drivers/testQRgrid.c:60:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/FrontMtx/drivers/testQRgrid.c:66:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/FrontMtx/drivers/testQRgrid.c:67:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/FrontMtx/drivers/testQRgrid.c:68:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/FrontMtx/drivers/testQRgrid.c:69:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/FrontMtx/drivers/testQRgrid.c:70:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[7]) ; data/spooles-2.2/FrontMtx/drivers/testQRgrid.c:71:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[8]) ; data/spooles-2.2/FrontMtx/src/IO.c:50:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/FrontMtx/src/IO.c:64:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/FrontMtx/src/IO.c:953:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/FrontMtx/src/IO.c:962:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/FrontMtx/src/IO.c:971:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/FrontMtx/src/IO.c:981:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/GPart/drivers/mkDSTree.c:60:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/GPart/drivers/mkDSTree.c:64:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/GPart/drivers/mkDSTree.c:71:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[4]) ; data/spooles-2.2/GPart/drivers/mkDSTree.c:72:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). minweight = atoi(argv[5]) ; data/spooles-2.2/GPart/drivers/mkDSTree.c:73:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxweight = atoi(argv[6]) ; data/spooles-2.2/GPart/drivers/mkDSTree.c:76:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxdomweight = atoi(argv[9]) ; data/spooles-2.2/GPart/drivers/mkDSTree.c:77:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). DDoption = atoi(argv[10]) ; data/spooles-2.2/GPart/drivers/mkDSTree.c:78:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nlayer = atoi(argv[11]) ; data/spooles-2.2/GPart/drivers/testDDviaFishnet.c:47:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/GPart/drivers/testDDviaFishnet.c:51:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/GPart/drivers/testDDviaFishnet.c:59:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). minweight = atoi(argv[5]) ; data/spooles-2.2/GPart/drivers/testDDviaFishnet.c:60:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxweight = atoi(argv[6]) ; data/spooles-2.2/GPart/drivers/testDDviaFishnet.c:61:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep.c:64:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep.c:68:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/GPart/drivers/testRBviaDDsep.c:75:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[4]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep.c:76:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). minweight = atoi(argv[5]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep.c:77:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxweight = atoi(argv[6]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep.c:80:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxdomweight = atoi(argv[9]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep.c:81:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). DDoption = atoi(argv[10]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep.c:82:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nlayer = atoi(argv[11]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep2.c:66:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep2.c:70:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/GPart/drivers/testRBviaDDsep2.c:77:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ntest = atoi(argv[4]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep2.c:81:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). minweight = atoi(argv[5]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep2.c:82:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxweight = atoi(argv[6]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep2.c:85:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxdomweight = atoi(argv[9]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep2.c:86:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). DDoption = atoi(argv[10]) ; data/spooles-2.2/GPart/drivers/testRBviaDDsep2.c:87:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nlayer = atoi(argv[11]) ; data/spooles-2.2/GPart/drivers/testSmoothBisector.c:52:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/GPart/drivers/testSmoothBisector.c:56:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/GPart/drivers/testSmoothBisector.c:64:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). option = atoi(argv[5]) ; data/spooles-2.2/GPart/drivers/testTwoSetViaBKL.c:49:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/GPart/drivers/testTwoSetViaBKL.c:53:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/GPart/drivers/testTwoSetViaBKL.c:61:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/Graph/drivers/checkComponents.c:34:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/checkComponents.c:37:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/compressGraph.c:44:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/compressGraph.c:47:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/compressGraph.c:54:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). coarseType = atoi(argv[4]) ; data/spooles-2.2/Graph/drivers/expandGraph.c:42:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/expandGraph.c:45:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/mkGridGraph.c:40:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/mkGridGraph.c:43:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/mkGridGraph.c:49:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). stencil = atoi(argv[3]) ; data/spooles-2.2/Graph/drivers/mkGridGraph.c:62:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[4]) ; data/spooles-2.2/Graph/drivers/mkGridGraph.c:63:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[5]) ; data/spooles-2.2/Graph/drivers/mkGridGraph.c:64:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[6]) ; data/spooles-2.2/Graph/drivers/test1.c:20:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(argv[1], "r")) == NULL ) { data/spooles-2.2/Graph/drivers/testChacoIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/testChacoIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/testIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/testIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/testIsSymmetric.c:32:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/testIsSymmetric.c:35:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/testWirebasket.c:40:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/testWirebasket.c:43:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/testWirebasket.c:52:23: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). radius = atoi(argv[6]) ; data/spooles-2.2/Graph/drivers/writeAIJ.c:40:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/writeAIJ.c:43:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/writeAIJ.c:103:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (outFile = fopen(outFileName, "w")) == NULL ) { data/spooles-2.2/Graph/drivers/writeMetisFile.c:33:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Graph/drivers/writeMetisFile.c:36:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Graph/drivers/writeMetisFile.c:87:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(outGraphFileName, "w")) == NULL ) { data/spooles-2.2/Graph/src/IO.c:50:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/Graph/src/IO.c:59:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/Graph/src/IO.c:105:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char string[BUFLEN], *s1, *s2; data/spooles-2.2/Graph/src/IO.c:130:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fp = fopen(fn, "r")) == (FILE*)NULL) { data/spooles-2.2/Graph/src/IO.c:614:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/Graph/src/IO.c:623:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/Graph/src/IO.c:632:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/Graph/src/IO.c:642:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/I2Ohash/drivers/test_hash.c:36:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/I2Ohash/drivers/test_hash.c:39:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/I2Ohash/drivers/test_hash.c:45:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size = atoi(argv[3]) ; data/spooles-2.2/I2Ohash/drivers/test_hash.c:46:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). grow = atoi(argv[4]) ; data/spooles-2.2/I2Ohash/drivers/test_hash.c:47:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxkey = atoi(argv[5]) ; data/spooles-2.2/I2Ohash/drivers/test_hash.c:48:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nent = atoi(argv[6]) ; data/spooles-2.2/I2Ohash/drivers/test_hash.c:49:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/ILUMtx/drivers/testFactor.c:47:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ILUMtx/drivers/testFactor.c:50:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ILUMtx/drivers/testFactor.c:56:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/ILUMtx/drivers/testFactor.c:57:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[4]) ; data/spooles-2.2/ILUMtx/drivers/testFactor.c:58:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). neqns = atoi(argv[5]) ; data/spooles-2.2/ILUMtx/drivers/testFactor.c:59:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nitem = atoi(argv[6]) ; data/spooles-2.2/ILUMtx/drivers/testFactor.c:60:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/ILUMtx/drivers/testFactor.c:67:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (matlabFile = fopen(argv[9], "w")) == NULL ) { data/spooles-2.2/ILUMtx/drivers/testSolve.c:49:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ILUMtx/drivers/testSolve.c:52:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ILUMtx/drivers/testSolve.c:58:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). neqns = atoi(argv[3]) ; data/spooles-2.2/ILUMtx/drivers/testSolve.c:59:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[4]) ; data/spooles-2.2/ILUMtx/drivers/testSolve.c:63:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/ILUMtx/drivers/testSolve.c:69:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (matlabFile = fopen(argv[9], "w")) == NULL ) { data/spooles-2.2/IV/drivers/testIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/IV/drivers/testIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/IV/src/IO.c:49:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/IV/src/IO.c:58:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/IV/src/IO.c:237:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/IV/src/IO.c:246:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/IV/src/IO.c:255:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/IV/src/IO.c:265:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/IVL/drivers/testExpand.c:36:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/IVL/drivers/testExpand.c:39:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/IVL/drivers/testIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/IVL/drivers/testIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/IVL/src/IO.c:59:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/IVL/src/IO.c:68:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/IVL/src/IO.c:373:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/IVL/src/IO.c:382:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/IVL/src/IO.c:391:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/IVL/src/IO.c:401:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/adjToGraph.c:41:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/adjToGraph.c:44:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/adjToGraph.c:50:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/adjToGraph.c:73:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(argv[3], "r")) == NULL ) { data/spooles-2.2/InpMtx/drivers/createGraph.c:33:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/createGraph.c:36:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/createGraphForATA.c:34:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/createGraphForATA.c:37:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/getProfile.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/getProfile.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/getProfile.c:44:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). npts = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/mkLaplacianMtx.c:53:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/mkLaplacianMtx.c:56:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/mkLaplacianMtx.c:62:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/mkLaplacianMtx.c:63:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/mkLaplacianMtx.c:64:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/mkNaturalFactorMtx.c:54:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/mkNaturalFactorMtx.c:57:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/mkNaturalFactorMtx.c:63:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/mkNaturalFactorMtx.c:64:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/mkNaturalFactorMtx.c:65:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/mkNaturalFactorMtx.c:66:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/InpMtx/drivers/readAIJ.c:45:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/readAIJ.c:48:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/readAIJ.c:54:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). dataType = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/readAIJ.c:57:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = atoi(argv[6]) ; data/spooles-2.2/InpMtx/drivers/readAIJ.c:75:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (inputFile = fopen(inFileName, "r")) == NULL ) { data/spooles-2.2/InpMtx/drivers/readAIJ2.c:42:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/readAIJ2.c:45:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/readAIJ2.c:68:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (inputFile = fopen(inFileName, "r")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testExtract.c:53:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:56:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testExtract.c:62:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). dataType = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:63:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:64:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). coordType = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:65:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[6]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:66:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[7]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:67:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nitem = atoi(argv[8]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:68:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow1 = atoi(argv[9]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:69:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow2 = atoi(argv[10]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:70:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol1 = atoi(argv[11]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:71:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol2 = atoi(argv[12]) ; data/spooles-2.2/InpMtx/drivers/testExtract.c:72:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[13]) ; data/spooles-2.2/InpMtx/drivers/testFullAdj.c:37:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testFullAdj.c:40:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testFullAdj.c:46:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nvtx = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/testFullAdj.c:47:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nent = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/testFullAdj.c:48:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/testFullAdj2.c:38:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testFullAdj2.c:41:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testFullAdj2.c:47:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nvtx = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/testFullAdj2.c:48:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentA = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/testFullAdj2.c:49:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentB = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/testFullAdj2.c:50:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:62:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:65:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testGMMM.c:71:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). dataType = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:72:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:73:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). coordType = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:74:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). transposeflag = atoi(argv[6]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:75:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[7]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:76:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[8]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:77:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nitem = atoi(argv[9]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:78:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[10]) ; data/spooles-2.2/InpMtx/drivers/testGMMM.c:79:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[11]) ; data/spooles-2.2/InpMtx/drivers/testGMVM.c:62:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testGMVM.c:65:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testGMVM.c:71:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). dataType = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/testGMVM.c:72:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/testGMVM.c:73:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). coordType = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/testGMVM.c:74:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). transposeflag = atoi(argv[6]) ; data/spooles-2.2/InpMtx/drivers/testGMVM.c:75:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[7]) ; data/spooles-2.2/InpMtx/drivers/testGMVM.c:76:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[8]) ; data/spooles-2.2/InpMtx/drivers/testGMVM.c:77:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nitem = atoi(argv[9]) ; data/spooles-2.2/InpMtx/drivers/testGMVM.c:78:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[10]) ; data/spooles-2.2/InpMtx/drivers/testHBIO.c:37:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testHBIO.c:40:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testHBIO2.c:34:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testHBIO2.c:37:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testIO.c:32:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testIO.c:35:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testInput.c:43:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testInput.c:46:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testInput.c:52:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/testInput.c:53:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/testInput.c:54:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/testInput.c:55:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[6]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:60:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:63:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testMMM.c:69:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). dataType = atoi(argv[3]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:70:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[4]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:71:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storageMode = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:72:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). transposeflag = atoi(argv[6]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:73:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[7]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:74:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[8]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:75:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nitem = atoi(argv[9]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:76:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[10]) ; data/spooles-2.2/InpMtx/drivers/testMMM.c:77:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[11]) ; data/spooles-2.2/InpMtx/drivers/testR2D.c:85:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/testR2D.c:88:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/testR2D.c:96:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). coordType = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/testR2D.c:97:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/InpMtx/drivers/weightedAdjToGraph.c:41:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/InpMtx/drivers/weightedAdjToGraph.c:44:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/InpMtx/drivers/weightedAdjToGraph.c:50:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = atoi(argv[5]) ; data/spooles-2.2/InpMtx/drivers/weightedAdjToGraph.c:73:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(argv[3], "r")) == NULL ) { data/spooles-2.2/InpMtx/src/IO.c:48:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/InpMtx/src/IO.c:57:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/InpMtx/src/IO.c:256:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/InpMtx/src/IO.c:265:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/InpMtx/src/IO.c:274:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/InpMtx/src/IO.c:284:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/Iter/drivers/iter.c:32:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char etreeFileName[80], mtxFileName[80], *cpt, rhsFileName[80], data/spooles-2.2/Iter/drivers/iter.c:67:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inFile = fopen(argv[1], "r"); data/spooles-2.2/Iter/drivers/iter.c:117:28: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/Iter/drivers/iter.c:840:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (srcFile = fopen(srcFileName, "r")) == NULL ) { data/spooles-2.2/Iter/drivers/test_colCopy.c:48:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Iter/drivers/test_colCopy.c:54:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Iter/drivers/test_colCopy.c:58:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/Iter/drivers/test_colCopy.c:59:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/Iter/drivers/test_colCopy.c:60:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/Iter/drivers/test_colCopy.c:61:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/Iter/drivers/test_colCopy.c:62:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/Iter/drivers/test_colCopy.c:70:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). icol = atoi(argv[8]) ; data/spooles-2.2/Iter/drivers/test_colCopy.c:71:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). jcol = atoi(argv[9]) ; data/spooles-2.2/Iter/drivers/test_colCopy.c:72:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[10]) ; data/spooles-2.2/Iter/drivers/test_colDotProduct.c:48:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Iter/drivers/test_colDotProduct.c:54:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Iter/drivers/test_colDotProduct.c:58:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/Iter/drivers/test_colDotProduct.c:59:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/Iter/drivers/test_colDotProduct.c:60:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/Iter/drivers/test_colDotProduct.c:61:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/Iter/drivers/test_colDotProduct.c:62:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/Iter/drivers/test_colDotProduct.c:70:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). icol = atoi(argv[8]) ; data/spooles-2.2/Iter/drivers/test_colDotProduct.c:71:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). jcol = atoi(argv[9]) ; data/spooles-2.2/Iter/drivers/test_colDotProduct.c:72:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[10]) ; data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:53:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:59:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:63:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:64:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:65:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:66:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:67:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:75:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). icol = atoi(argv[8]) ; data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:76:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). jcol = atoi(argv[9]) ; data/spooles-2.2/Iter/drivers/test_colGenAxpy.c:81:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[14]) ; data/spooles-2.2/Iter/drivers/test_frobNorm.c:43:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Iter/drivers/test_frobNorm.c:49:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Iter/drivers/test_frobNorm.c:53:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/Iter/drivers/test_frobNorm.c:54:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/Iter/drivers/test_frobNorm.c:55:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/Iter/drivers/test_frobNorm.c:56:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/Iter/drivers/test_frobNorm.c:57:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/Iter/drivers/test_frobNorm.c:65:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:29:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char A_opt[1]=" ", B_opt[1]=" "; data/spooles-2.2/Iter/drivers/test_mmm.c:59:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Iter/drivers/test_mmm.c:65:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Iter/drivers/test_mmm.c:69:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:70:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:71:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nk = atoi(argv[5]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:72:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[6]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:73:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ainc1= atoi(argv[7]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:74:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ainc2= atoi(argv[8]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:75:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). binc1= atoi(argv[9]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:76:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). binc2= atoi(argv[10]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:77:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cinc1= atoi(argv[11]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:78:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cinc2= atoi(argv[12]) ; data/spooles-2.2/Iter/drivers/test_mmm.c:92:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi (argv[19]) ; data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c:44:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c:50:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c:54:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c:55:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c:56:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c:57:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c:58:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c:66:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). jcol = atoi(argv[8]) ; data/spooles-2.2/Iter/drivers/test_twoNormOfColumn.c:67:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[9]) ; data/spooles-2.2/LinSol/drivers/testWrapper.c:60:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/LinSol/drivers/testWrapper.c:63:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "w")) == NULL ) { data/spooles-2.2/LinSol/drivers/testWrapper.c:69:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). neqns = atoi(argv[3]) ; data/spooles-2.2/LinSol/drivers/testWrapper.c:70:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[4]) ; data/spooles-2.2/LinSol/drivers/testWrapper.c:71:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[5]) ; data/spooles-2.2/LinSol/drivers/testWrapper.c:75:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[9]) ; data/spooles-2.2/LinSol/drivers/testWrapperMPI.c:71:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/LinSol/drivers/testWrapperMPI.c:78:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/LinSol/drivers/testWrapperMPI.c:87:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). neqns = atoi(argv[3]) ; data/spooles-2.2/LinSol/drivers/testWrapperMPI.c:88:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[4]) ; data/spooles-2.2/LinSol/drivers/testWrapperMPI.c:89:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[5]) ; data/spooles-2.2/LinSol/drivers/testWrapperMPI.c:93:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[9]) ; data/spooles-2.2/LinSol/drivers/testWrapperMT.c:63:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/LinSol/drivers/testWrapperMT.c:66:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "w")) == NULL ) { data/spooles-2.2/LinSol/drivers/testWrapperMT.c:72:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). neqns = atoi(argv[3]) ; data/spooles-2.2/LinSol/drivers/testWrapperMT.c:73:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[4]) ; data/spooles-2.2/LinSol/drivers/testWrapperMT.c:74:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[5]) ; data/spooles-2.2/LinSol/drivers/testWrapperMT.c:78:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[9]) ; data/spooles-2.2/LinSol/drivers/testWrapperMT.c:79:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthread = atoi(argv[10]) ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:34:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[128] ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:96:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:100:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "res.%d", myid) ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:101:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/allInOneMPI.c:108:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:109:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:110:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:111:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:132:1: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "haggar.mtx.%d.input", myid) ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:133:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(buffer, "r") ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:166:1: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "haggar.rhs.%d.input", myid) ; data/spooles-2.2/MPI/drivers/allInOneMPI.c:167:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(buffer, "r") ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:36:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[20] ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:107:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:111:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "res.%d", myid) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:112:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:119:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:120:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:121:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). patchAndGoFlag = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:124:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storeids = atoi(argv[8]) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:125:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storevalues = atoi(argv[9]) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:126:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[10]) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:136:1: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "patchMatrix.%d.input", myid) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:137:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(buffer, "r") ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:389:1: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "patchRhs.%d.input", myid) ; data/spooles-2.2/MPI/drivers/patchAndGoMPI.c:390:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(buffer, "r") ; data/spooles-2.2/MPI/drivers/testGather.c:77:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testGather.c:84:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testGather.c:92:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testGather.c:93:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testGather.c:94:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/testGather.c:95:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/MPI/drivers/testGather.c:96:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/MPI/drivers/testGather.c:97:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/MPI/drivers/testGraph_Bcast.c:56:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testGraph_Bcast.c:63:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testGraph_Bcast.c:71:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testGraph_Bcast.c:72:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nvtx = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testGraph_Bcast.c:73:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nitem = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/testGraph_Bcast.c:74:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). root = atoi(argv[6]) ; data/spooles-2.2/MPI/drivers/testGraph_Bcast.c:75:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:101:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:108:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testGridMPI.c:116:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[ 3]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:117:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[ 4]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:118:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[ 5]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:119:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[ 6]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:120:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[ 7]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:121:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[ 8]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:122:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[ 9]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:123:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[10]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:124:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). sparsityflag = atoi(argv[11]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:125:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[12]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:128:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lookahead = atoi(argv[15]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:129:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[16]) ; data/spooles-2.2/MPI/drivers/testGridMPI.c:130:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maptype = atoi(argv[17]) ; data/spooles-2.2/MPI/drivers/testIVL_Bcast.c:55:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testIVL_Bcast.c:62:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testIVL_Bcast.c:70:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nlist = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testIVL_Bcast.c:71:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxlistsize = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testIVL_Bcast.c:72:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). root = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/testIVL_Bcast.c:73:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/MPI/drivers/testIVL_allgather.c:53:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testIVL_allgather.c:60:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testIVL_allgather.c:68:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nlist = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testIVL_allgather.c:69:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testIVL_alltoall.c:52:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testIVL_alltoall.c:59:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testIVL_alltoall.c:67:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testIVL_alltoall.c:68:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testIV_allgather.c:51:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testIV_allgather.c:58:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testIV_allgather.c:66:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testIV_allgather.c:67:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testMMM.c:80:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testMMM.c:87:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testMMM.c:95:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testMMM.c:96:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testMMM.c:97:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentA = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/testMMM.c:98:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolX = atoi(argv[6]) ; data/spooles-2.2/MPI/drivers/testMMM.c:99:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). coordType = atoi(argv[7]) ; data/spooles-2.2/MPI/drivers/testMMM.c:100:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inputMode = atoi(argv[8]) ; data/spooles-2.2/MPI/drivers/testMMM.c:101:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[9]) ; data/spooles-2.2/MPI/drivers/testMMM.c:102:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). opflag = atoi(argv[10]) ; data/spooles-2.2/MPI/drivers/testMMM.c:103:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[11]) ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:68:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:75:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:83:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:84:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:85:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:86:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:87:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:88:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:89:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). root = atoi(argv[9]) ; data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:63:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:70:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:78:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). neqns = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:79:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nent = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:80:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:81:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). coordType = atoi(argv[6]) ; data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:82:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inputMode = atoi(argv[7]) ; data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:83:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). root = atoi(argv[8]) ; data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:66:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:73:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:81:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:82:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrow = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:83:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncol = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:84:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc1 = atoi(argv[6]) ; data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:85:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inc2 = atoi(argv[7]) ; data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:86:8: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/MPI/drivers/testSplitInpMtx.c:63:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testSplitInpMtx.c:70:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testSplitInpMtx.c:78:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). neqns = atoi(argv[3]) ; data/spooles-2.2/MPI/drivers/testSplitInpMtx.c:79:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nent = atoi(argv[4]) ; data/spooles-2.2/MPI/drivers/testSplitInpMtx.c:80:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/MPI/drivers/testSplitInpMtx.c:81:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). coordType = atoi(argv[6]) ; data/spooles-2.2/MPI/drivers/testSplitInpMtx.c:82:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). inputMode = atoi(argv[7]) ; data/spooles-2.2/MPI/drivers/testSymbFac.c:55:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MPI/drivers/testSymbFac.c:62:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MPI/drivers/testSymbFac.c:72:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/MPI/src/solveMPI.c:937:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(work, XJbuff, nbytes) ; data/spooles-2.2/MSMD/drivers/orderViaMMD.c:72:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MSMD/drivers/orderViaMMD.c:76:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/MSMD/drivers/orderViaMMD.c:83:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[4]) ; data/spooles-2.2/MSMD/drivers/orderViaMMD.c:84:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). compressFlag = atoi(argv[5]) ; data/spooles-2.2/MSMD/drivers/orderViaMMD.c:85:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). prioType = atoi(argv[6]) ; data/spooles-2.2/MSMD/drivers/orderViaMMD.c:86:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). stepType = atoi(argv[7]) ; data/spooles-2.2/MSMD/drivers/orderViaMS.c:76:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MSMD/drivers/orderViaMS.c:80:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/MSMD/drivers/orderViaMS.c:88:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/MSMD/drivers/orderViaMS.c:89:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). compressFlag = atoi(argv[6]) ; data/spooles-2.2/MSMD/drivers/orderViaMS.c:90:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). prioType = atoi(argv[7]) ; data/spooles-2.2/MSMD/drivers/orderViaMS.c:91:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). stepType = atoi(argv[8]) ; data/spooles-2.2/MSMD/drivers/orderViaND.c:76:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MSMD/drivers/orderViaND.c:80:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/MSMD/drivers/orderViaND.c:88:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/MSMD/drivers/orderViaND.c:89:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). compressFlag = atoi(argv[6]) ; data/spooles-2.2/MSMD/drivers/orderViaND.c:90:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). prioType = atoi(argv[7]) ; data/spooles-2.2/MSMD/drivers/orderViaND.c:91:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). stepType = atoi(argv[8]) ; data/spooles-2.2/MSMD/drivers/orderViaStages.c:75:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MSMD/drivers/orderViaStages.c:79:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(msgFileName, "a")) == NULL ) { data/spooles-2.2/MSMD/drivers/orderViaStages.c:87:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/MSMD/drivers/orderViaStages.c:88:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). compressFlag = atoi(argv[6]) ; data/spooles-2.2/MSMD/drivers/orderViaStages.c:89:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). prioType = atoi(argv[7]) ; data/spooles-2.2/MSMD/drivers/orderViaStages.c:90:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). stepType = atoi(argv[8]) ; data/spooles-2.2/MT/drivers/allInOneMT.c:91:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MT/drivers/allInOneMT.c:94:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/MT/drivers/allInOneMT.c:100:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/MT/drivers/allInOneMT.c:101:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[4]) ; data/spooles-2.2/MT/drivers/allInOneMT.c:102:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[5]) ; data/spooles-2.2/MT/drivers/allInOneMT.c:105:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/MT/drivers/allInOneMT.c:106:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthread = atoi(argv[9]) ; data/spooles-2.2/MT/drivers/allInOneMT.c:114:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(matrixFileName, "r") ; data/spooles-2.2/MT/drivers/allInOneMT.c:145:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(rhsFileName, "r") ; data/spooles-2.2/MT/drivers/patchAndGoMT.c:95:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MT/drivers/patchAndGoMT.c:98:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/MT/drivers/patchAndGoMT.c:104:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/MT/drivers/patchAndGoMT.c:105:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[4]) ; data/spooles-2.2/MT/drivers/patchAndGoMT.c:106:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). patchAndGoFlag = atoi(argv[5]) ; data/spooles-2.2/MT/drivers/patchAndGoMT.c:109:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storeids = atoi(argv[8]) ; data/spooles-2.2/MT/drivers/patchAndGoMT.c:110:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storevalues = atoi(argv[9]) ; data/spooles-2.2/MT/drivers/patchAndGoMT.c:113:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[12]) ; data/spooles-2.2/MT/drivers/patchAndGoMT.c:114:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthread = atoi(argv[13]) ; data/spooles-2.2/MT/drivers/patchAndGoMT.c:122:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (inputFile = fopen(matrixFileName, "r")) == NULL ) { data/spooles-2.2/MT/drivers/patchAndGoMT.c:301:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (inputFile = fopen(rhsFileName, "r")) == NULL ) { data/spooles-2.2/MT/drivers/testFactorMT.c:89:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MT/drivers/testFactorMT.c:92:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/MT/drivers/testFactorMT.c:100:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[5]) ; data/spooles-2.2/MT/drivers/testFactorMT.c:101:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[6]) ; data/spooles-2.2/MT/drivers/testFactorMT.c:102:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). sparsityflag = atoi(argv[7]) ; data/spooles-2.2/MT/drivers/testFactorMT.c:103:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[8]) ; data/spooles-2.2/MT/drivers/testFactorMT.c:106:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[11]) ; data/spooles-2.2/MT/drivers/testFactorMT.c:107:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthread = atoi(argv[12]) ; data/spooles-2.2/MT/drivers/testFactorMT.c:108:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maptype = atoi(argv[13]) ; data/spooles-2.2/MT/drivers/testFactorMT.c:110:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lookahead = atoi(argv[15]) ; data/spooles-2.2/MT/drivers/testGridMT.c:102:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MT/drivers/testGridMT.c:105:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/MT/drivers/testGridMT.c:111:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/MT/drivers/testGridMT.c:112:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/MT/drivers/testGridMT.c:113:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/MT/drivers/testGridMT.c:114:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[6]) ; data/spooles-2.2/MT/drivers/testGridMT.c:115:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[7]) ; data/spooles-2.2/MT/drivers/testGridMT.c:116:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/MT/drivers/testGridMT.c:117:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[9]) ; data/spooles-2.2/MT/drivers/testGridMT.c:118:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[10]) ; data/spooles-2.2/MT/drivers/testGridMT.c:119:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). sparsityflag = atoi(argv[11]) ; data/spooles-2.2/MT/drivers/testGridMT.c:120:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[12]) ; data/spooles-2.2/MT/drivers/testGridMT.c:123:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[15]) ; data/spooles-2.2/MT/drivers/testGridMT.c:124:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthread = atoi(argv[16]) ; data/spooles-2.2/MT/drivers/testGridMT.c:125:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maptype = atoi(argv[17]) ; data/spooles-2.2/MT/drivers/testGridMT.c:127:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lookahead = atoi(argv[19]) ; data/spooles-2.2/MT/drivers/testMMM.c:63:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MT/drivers/testMMM.c:66:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/MT/drivers/testMMM.c:72:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). dataType = atoi(argv[3]) ; data/spooles-2.2/MT/drivers/testMMM.c:73:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symflag = atoi(argv[4]) ; data/spooles-2.2/MT/drivers/testMMM.c:74:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storageMode = atoi(argv[5]) ; data/spooles-2.2/MT/drivers/testMMM.c:75:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). transposeflag = atoi(argv[6]) ; data/spooles-2.2/MT/drivers/testMMM.c:76:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[7]) ; data/spooles-2.2/MT/drivers/testMMM.c:77:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[8]) ; data/spooles-2.2/MT/drivers/testMMM.c:78:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nitem = atoi(argv[9]) ; data/spooles-2.2/MT/drivers/testMMM.c:79:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[10]) ; data/spooles-2.2/MT/drivers/testMMM.c:80:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[11]) ; data/spooles-2.2/MT/drivers/testMMM.c:83:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthread = atoi(argv[14]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:71:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:74:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/MT/drivers/testQRgridMT.c:80:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:81:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:82:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:83:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:84:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[7]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:85:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[8]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:86:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthread = atoi(argv[8]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:87:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maptype = atoi(argv[8]) ; data/spooles-2.2/MT/drivers/testQRgridMT.c:88:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cutoff = atoi(argv[8]) ; data/spooles-2.2/MT/src/QRfactorMT.c:138:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[20] ; data/spooles-2.2/MT/src/QRfactorMT.c:139:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "res.%d", myid) ; data/spooles-2.2/MT/src/QRfactorMT.c:140:29: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (data->msgFile = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MT/src/factorMT.c:161:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[20] ; data/spooles-2.2/MT/src/factorMT.c:238:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "res.%d", myid) ; data/spooles-2.2/MT/src/factorMT.c:239:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/MT/src/solveMT.c:104:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[20] ; data/spooles-2.2/MT/src/solveMT.c:181:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "solve.res.%d", myid) ; data/spooles-2.2/MT/src/solveMT.c:182:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(buffer, "w")) == NULL ) { data/spooles-2.2/Perm/drivers/compressPerm.c:36:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Perm/drivers/compressPerm.c:39:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Perm/drivers/testIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Perm/drivers/testIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Perm/src/IO.c:49:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/Perm/src/IO.c:58:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/Perm/src/IO.c:343:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/Perm/src/IO.c:352:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/Perm/src/IO.c:361:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/Perm/src/IO.c:371:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:85:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:88:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:94:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:95:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:96:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:97:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[6]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:98:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[7]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:99:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:100:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[9]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:101:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[10]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:102:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). sparsityflag = atoi(argv[11]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:103:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[12]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:106:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrhs = atoi(argv[15]) ; data/spooles-2.2/SemiImplMtx/drivers/testGrid.c:107:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). depth = atoi(argv[16]) ; data/spooles-2.2/SemiImplMtx/drivers/testSimple.c:40:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/SemiImplMtx/drivers/testSimple.c:43:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SolveMap/src/IO.c:49:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/SolveMap/src/IO.c:58:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/SolveMap/src/IO.c:425:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/SolveMap/src/IO.c:434:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/SolveMap/src/IO.c:443:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/SolveMap/src/IO.c:453:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/testIO.c:36:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/SubMtx/drivers/testIO.c:39:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/testIO.c:145:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(matlabFileName, "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/test_scalevec.c:44:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/SubMtx/drivers/test_scalevec.c:50:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/test_scalevec.c:54:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/SubMtx/drivers/test_scalevec.c:55:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mode = atoi(argv[4]) ; data/spooles-2.2/SubMtx/drivers/test_scalevec.c:56:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[5]) ; data/spooles-2.2/SubMtx/drivers/test_scalevec.c:57:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/SubMtx/drivers/test_solve.c:49:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/SubMtx/drivers/test_solve.c:55:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/test_solve.c:59:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/SubMtx/drivers/test_solve.c:60:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mode = atoi(argv[4]) ; data/spooles-2.2/SubMtx/drivers/test_solve.c:61:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[5]) ; data/spooles-2.2/SubMtx/drivers/test_solve.c:62:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentA = atoi(argv[6]) ; data/spooles-2.2/SubMtx/drivers/test_solve.c:63:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolB = atoi(argv[7]) ; data/spooles-2.2/SubMtx/drivers/test_solve.c:64:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/SubMtx/drivers/test_solveH.c:46:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/SubMtx/drivers/test_solveH.c:52:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/test_solveH.c:56:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/SubMtx/drivers/test_solveH.c:57:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mode = atoi(argv[4]) ; data/spooles-2.2/SubMtx/drivers/test_solveH.c:58:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[5]) ; data/spooles-2.2/SubMtx/drivers/test_solveH.c:59:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentA = atoi(argv[6]) ; data/spooles-2.2/SubMtx/drivers/test_solveH.c:60:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolB = atoi(argv[7]) ; data/spooles-2.2/SubMtx/drivers/test_solveH.c:61:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/SubMtx/drivers/test_solveT.c:46:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/SubMtx/drivers/test_solveT.c:52:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/test_solveT.c:56:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/SubMtx/drivers/test_solveT.c:57:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mode = atoi(argv[4]) ; data/spooles-2.2/SubMtx/drivers/test_solveT.c:58:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[5]) ; data/spooles-2.2/SubMtx/drivers/test_solveT.c:59:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentA = atoi(argv[6]) ; data/spooles-2.2/SubMtx/drivers/test_solveT.c:60:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolB = atoi(argv[7]) ; data/spooles-2.2/SubMtx/drivers/test_solveT.c:61:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/SubMtx/drivers/test_solveupd.c:51:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/SubMtx/drivers/test_solveupd.c:57:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/test_solveupd.c:61:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/SubMtx/drivers/test_solveupd.c:62:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mode = atoi(argv[4]) ; data/spooles-2.2/SubMtx/drivers/test_solveupd.c:63:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowY = atoi(argv[5]) ; data/spooles-2.2/SubMtx/drivers/test_solveupd.c:64:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolY = atoi(argv[6]) ; data/spooles-2.2/SubMtx/drivers/test_solveupd.c:65:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[7]) ; data/spooles-2.2/SubMtx/drivers/test_solveupd.c:66:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[8]) ; data/spooles-2.2/SubMtx/drivers/test_solveupd.c:67:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentA = atoi(argv[9]) ; data/spooles-2.2/SubMtx/drivers/test_solveupd.c:68:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowX = atoi(argv[10]) ; data/spooles-2.2/SubMtx/drivers/test_solveupd.c:69:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[11]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:49:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:55:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:60:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mode = atoi(argv[3]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:61:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowY = atoi(argv[4]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:62:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolY = atoi(argv[5]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:63:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[6]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:64:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[7]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:65:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentA = atoi(argv[8]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:66:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowX = atoi(argv[9]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdH.c:67:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[10]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:51:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:57:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:61:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:62:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mode = atoi(argv[4]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:63:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowY = atoi(argv[5]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:64:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolY = atoi(argv[6]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:65:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[7]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:66:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[8]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:67:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentA = atoi(argv[9]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:68:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowX = atoi(argv[10]) ; data/spooles-2.2/SubMtx/drivers/test_solveupdT.c:69:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[11]) ; data/spooles-2.2/SubMtx/drivers/test_sort.c:46:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ( (msglvl = atoi(argv[1])) < 0 ) { data/spooles-2.2/SubMtx/drivers/test_sort.c:52:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SubMtx/drivers/test_sort.c:56:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/SubMtx/drivers/test_sort.c:57:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mode = atoi(argv[4]) ; data/spooles-2.2/SubMtx/drivers/test_sort.c:58:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nrowA = atoi(argv[5]) ; data/spooles-2.2/SubMtx/drivers/test_sort.c:59:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ncolA = atoi(argv[6]) ; data/spooles-2.2/SubMtx/drivers/test_sort.c:60:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nentA = atoi(argv[7]) ; data/spooles-2.2/SubMtx/drivers/test_sort.c:61:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/SubMtx/src/IO.c:50:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/SubMtx/src/IO.c:59:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/SubMtx/src/IO.c:588:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/SubMtx/src/IO.c:597:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/SubMtx/src/IO.c:606:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/SubMtx/src/IO.c:616:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/SymbFac/drivers/testSymbfacGraph.c:50:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/SymbFac/drivers/testSymbfacGraph.c:53:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/SymbFac/drivers/testSymbfacInpMtx.c:48:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/SymbFac/drivers/testSymbfacInpMtx.c:51:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Tree/drivers/drawTree.c:50:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Tree/drivers/drawTree.c:53:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Tree/drivers/drawTree.c:74:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). tagsflag = atoi(argv[18]) ; data/spooles-2.2/Tree/src/IO.c:48:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/Tree/src/IO.c:57:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/Tree/src/IO.c:279:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/Tree/src/IO.c:288:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/Tree/src/IO.c:297:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/Tree/src/IO.c:307:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/Tree/src/draw.c:217:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(filename, "w")) == NULL ) { data/spooles-2.2/Utilities/drivers/test_sort.c:79:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Utilities/drivers/test_sort.c:82:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Utilities/drivers/test_sort.c:88:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n = atoi(argv[5]) ; data/spooles-2.2/Utilities/drivers/test_sort.c:89:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). range = atoi(argv[6]) ; data/spooles-2.2/Utilities/drivers/test_sort.c:90:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mod = atoi(argv[7]) ; data/spooles-2.2/Utilities/drivers/test_sort.c:91:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/Utilities/drivers/test_sortUpAndCompress.c:67:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/Utilities/drivers/test_sortUpAndCompress.c:70:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/Utilities/drivers/test_sortUpAndCompress.c:75:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n = atoi(argv[4]) ; data/spooles-2.2/Utilities/drivers/test_sortUpAndCompress.c:76:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). range = atoi(argv[5]) ; data/spooles-2.2/Utilities/drivers/test_sortUpAndCompress.c:77:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mod = atoi(argv[6]) ; data/spooles-2.2/Utilities/drivers/test_sortUpAndCompress.c:78:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/Utilities/src/iohb.c:250:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Title[73], Key[9], Rhstype[4]; data/spooles-2.2/Utilities/src/iohb.c:251:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Ptrfmt[17], Indfmt[17], Valfmt[21], Rhsfmt[21]; data/spooles-2.2/Utilities/src/iohb.c:259:21: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (in_file = fopen( filename, "r")) == NULL ) { data/spooles-2.2/Utilities/src/iohb.c:304:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[BUFSIZ]; data/spooles-2.2/Utilities/src/iohb.c:409:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[BUFSIZ]; data/spooles-2.2/Utilities/src/iohb.c:411:21: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (in_file = fopen( filename, "r")) == NULL ) { data/spooles-2.2/Utilities/src/iohb.c:470:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). colptr[count] = atoi(ThisElement)-offset; data/spooles-2.2/Utilities/src/iohb.c:493:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rowind[count] = atoi(ThisElement)-offset; data/spooles-2.2/Utilities/src/iohb.c:622:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Title[73], Key[9], Type[4], Rhstype[4]; data/spooles-2.2/Utilities/src/iohb.c:623:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Ptrfmt[17], Indfmt[17], Valfmt[21], Rhsfmt[21]; data/spooles-2.2/Utilities/src/iohb.c:624:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[BUFSIZ]; data/spooles-2.2/Utilities/src/iohb.c:626:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((in_file = fopen( filename, "r")) == NULL) { data/spooles-2.2/Utilities/src/iohb.c:806:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pformat[16],iformat[16],vformat[19],rformat[19]; data/spooles-2.2/Utilities/src/iohb.c:817:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (out_file = fopen( filename, "w")) == NULL ) { data/spooles-2.2/Utilities/src/iohb.c:825:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pformat,"%%%dd",Ptrwidth); data/spooles-2.2/Utilities/src/iohb.c:831:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(iformat,"%%%dd",Indwidth); data/spooles-2.2/Utilities/src/iohb.c:840:10: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(vformat,"%% %d.%df",Valwidth,Valprec); data/spooles-2.2/Utilities/src/iohb.c:842:10: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(vformat,"%% %d.%dE",Valwidth,Valprec); data/spooles-2.2/Utilities/src/iohb.c:851:11: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(rformat,"%% %d.%df",Rhswidth,Rhsprec); data/spooles-2.2/Utilities/src/iohb.c:853:11: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(rformat,"%% %d.%dE",Rhswidth,Rhsprec); data/spooles-2.2/Utilities/src/iohb.c:991:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[BUFSIZ]; data/spooles-2.2/Utilities/src/iohb.c:992:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Title[73], Key[8], Type[4], Rhstype[4]; data/spooles-2.2/Utilities/src/iohb.c:993:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Ptrfmt[17], Indfmt[17], Rhsfmt[21]; data/spooles-2.2/Utilities/src/iohb.c:995:21: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (in_file = fopen( filename, "r")) == NULL ) { data/spooles-2.2/Utilities/src/iohb.c:1034:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). colptr[count] = atoi(ThisElement)-offset; data/spooles-2.2/Utilities/src/iohb.c:1057:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rowind[count] = atoi(ThisElement)-offset; data/spooles-2.2/Utilities/src/iohb.c:1116:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Title[73], Key[9], Type[4], Rhstype[4]; data/spooles-2.2/Utilities/src/iohb.c:1117:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Ptrfmt[17], Indfmt[17], Rhsfmt[21]; data/spooles-2.2/Utilities/src/iohb.c:1119:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((in_file = fopen( filename, "r")) == NULL) { data/spooles-2.2/Utilities/src/iohb.c:1184:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Title[73], Key[9], Type[4], Rhstype[4]; data/spooles-2.2/Utilities/src/iohb.c:1185:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Ptrfmt[17], Indfmt[17], Valfmt[21], Rhsfmt[21]; data/spooles-2.2/Utilities/src/iohb.c:1186:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[BUFSIZ]; data/spooles-2.2/Utilities/src/iohb.c:1189:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((in_file = fopen( filename, "r")) == NULL) { data/spooles-2.2/Utilities/src/iohb.c:1330:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Title[73], Key[9], Type[4], Rhstype[4]; data/spooles-2.2/Utilities/src/iohb.c:1331:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Ptrfmt[17], Indfmt[17], Valfmt[21]; data/spooles-2.2/Utilities/src/iohb.c:1333:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((in_file = fopen( filename, "r")) == NULL) { data/spooles-2.2/Utilities/src/iohb.c:1389:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pformat[16],iformat[16],vformat[19],rformat[19]; data/spooles-2.2/Utilities/src/iohb.c:1400:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (out_file = fopen( filename, "w")) == NULL ) { data/spooles-2.2/Utilities/src/iohb.c:1408:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pformat,"%%%dd",Ptrwidth); data/spooles-2.2/Utilities/src/iohb.c:1412:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(iformat,"%%%dd",Indwidth); data/spooles-2.2/Utilities/src/iohb.c:1417:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(vformat,"%%%ds",Valwidth); data/spooles-2.2/Utilities/src/iohb.c:1432:8: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(rformat,"%%%ds",Rhswidth); data/spooles-2.2/Utilities/src/iohb.c:1597:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *pperline = atoi(locLeftParen + 1) ; data/spooles-2.2/Utilities/src/iohb.c:1600:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *pwidth = atoi(locI + 1) ; data/spooles-2.2/Utilities/src/iohb.c:1680:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *perline = atoi(locLeftParen + 1); data/spooles-2.2/Utilities/src/iohb.c:1685:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *prec = atoi(locDot + 1) ; data/spooles-2.2/Utilities/src/iohb.c:1688:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *width = atoi(locFlag + 1) ; data/spooles-2.2/Utilities/src/iohb.c:1692:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *width = atoi(locFlag + 1) ; data/spooles-2.2/ZV/drivers/testIO.c:35:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/ZV/drivers/testIO.c:38:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/ZV/src/IO.c:48:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "rb")) == NULL ) { data/spooles-2.2/ZV/src/IO.c:57:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "r")) == NULL ) { data/spooles-2.2/ZV/src/IO.c:235:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "wb")) == NULL ) { data/spooles-2.2/ZV/src/IO.c:244:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "w")) == NULL ) { data/spooles-2.2/ZV/src/IO.c:253:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/ZV/src/IO.c:263:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (fp = fopen(fn, "a")) == NULL ) { data/spooles-2.2/misc/drivers/QRallInOne.c:70:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/QRallInOne.c:73:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/QRallInOne.c:79:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/misc/drivers/QRallInOne.c:82:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/misc/drivers/QRallInOne.c:90:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(matrixFileName, "r") ; data/spooles-2.2/misc/drivers/QRallInOne.c:117:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(rhsFileName, "r") ; data/spooles-2.2/misc/drivers/allInOne.c:84:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/allInOne.c:87:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/allInOne.c:93:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/misc/drivers/allInOne.c:94:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[4]) ; data/spooles-2.2/misc/drivers/allInOne.c:95:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pivotingflag = atoi(argv[5]) ; data/spooles-2.2/misc/drivers/allInOne.c:98:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[8]) ; data/spooles-2.2/misc/drivers/allInOne.c:106:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(matrixFileName, "r") ; data/spooles-2.2/misc/drivers/allInOne.c:138:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(rhsFileName, "r") ; data/spooles-2.2/misc/drivers/drawGraph.c:67:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/drawGraph.c:70:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/mallocTime.c:42:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). zeroflag = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/mallocTime.c:43:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). sortflag = atoi(argv[2]) ; data/spooles-2.2/misc/drivers/patchAndGo.c:82:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/patchAndGo.c:85:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/patchAndGo.c:91:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). type = atoi(argv[3]) ; data/spooles-2.2/misc/drivers/patchAndGo.c:92:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). symmetryflag = atoi(argv[4]) ; data/spooles-2.2/misc/drivers/patchAndGo.c:93:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). patchAndGoFlag = atoi(argv[5]) ; data/spooles-2.2/misc/drivers/patchAndGo.c:96:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storeids = atoi(argv[8]) ; data/spooles-2.2/misc/drivers/patchAndGo.c:97:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). storevalues = atoi(argv[9]) ; data/spooles-2.2/misc/drivers/patchAndGo.c:100:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[12]) ; data/spooles-2.2/misc/drivers/patchAndGo.c:108:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(matrixFileName, "r") ; data/spooles-2.2/misc/drivers/patchAndGo.c:267:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inputFile = fopen(rhsFileName, "r") ; data/spooles-2.2/misc/drivers/testMemory.c:34:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/testMemory.c:37:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/testMemory.c:43:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nchunk = atoi(argv[3]) ; data/spooles-2.2/misc/drivers/testMemory.c:44:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). chunksize = atoi(argv[4]) ; data/spooles-2.2/misc/drivers/testNDperm.c:38:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/testNDperm.c:41:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/testNDperm.c:46:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n1 = atoi(argv[3]) ; data/spooles-2.2/misc/drivers/testNDperm.c:47:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n2 = atoi(argv[4]) ; data/spooles-2.2/misc/drivers/testNDperm.c:48:6: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n3 = atoi(argv[5]) ; data/spooles-2.2/misc/drivers/testOptPart.c:48:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/testOptPart.c:51:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/testOrderViaBestOfNDandMS.c:41:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/testOrderViaBestOfNDandMS.c:44:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/testOrderViaBestOfNDandMS.c:51:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxdomainsize = atoi(argv[4]) ; data/spooles-2.2/misc/drivers/testOrderViaBestOfNDandMS.c:52:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[5]) ; data/spooles-2.2/misc/drivers/testOrderViaBestOfNDandMS.c:53:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[6]) ; data/spooles-2.2/misc/drivers/testOrderViaBestOfNDandMS.c:54:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/misc/drivers/testOrderViaMMD.c:39:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/testOrderViaMMD.c:42:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/testOrderViaMMD.c:49:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[4]) ; data/spooles-2.2/misc/drivers/testOrderViaMMD.c:50:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[5]) ; data/spooles-2.2/misc/drivers/testOrderViaMMD.c:51:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[6]) ; data/spooles-2.2/misc/drivers/testOrderViaMS.c:40:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/testOrderViaMS.c:43:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/testOrderViaMS.c:50:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxdomainsize = atoi(argv[4]) ; data/spooles-2.2/misc/drivers/testOrderViaMS.c:51:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[5]) ; data/spooles-2.2/misc/drivers/testOrderViaMS.c:52:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[6]) ; data/spooles-2.2/misc/drivers/testOrderViaMS.c:53:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/misc/drivers/testOrderViaND.c:40:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/testOrderViaND.c:43:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/drivers/testOrderViaND.c:50:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxdomainsize = atoi(argv[4]) ; data/spooles-2.2/misc/drivers/testOrderViaND.c:51:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxsize = atoi(argv[5]) ; data/spooles-2.2/misc/drivers/testOrderViaND.c:52:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxzeros = atoi(argv[6]) ; data/spooles-2.2/misc/drivers/testOrderViaND.c:53:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = atoi(argv[7]) ; data/spooles-2.2/misc/drivers/testSemi.c:43:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). msglvl = atoi(argv[1]) ; data/spooles-2.2/misc/drivers/testSemi.c:46:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (msgFile = fopen(argv[2], "a")) == NULL ) { data/spooles-2.2/misc/src/drawGraphEPS.c:67:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if ( (epsFile = fopen(epsFileName, "w")) == NULL ) { data/spooles-2.2/A2/src/IO.c:44:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/A2/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/A2/src/IO.c:264:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/A2/src/IO.c:265:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/BPG/src/IO.c:44:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/BPG/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/BPG/src/IO.c:260:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/BPG/src/IO.c:261:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Coords/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/Coords/src/IO.c:46:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Coords/src/IO.c:247:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/Coords/src/IO.c:248:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/DSTree/src/IO.c:44:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/DSTree/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/DSTree/src/IO.c:231:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/DSTree/src/IO.c:232:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/DV/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/DV/src/IO.c:46:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/DV/src/IO.c:232:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/DV/src/IO.c:233:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/DenseMtx/src/IO.c:44:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/DenseMtx/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/DenseMtx/src/IO.c:325:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/DenseMtx/src/IO.c:326:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/EGraph/src/IO.c:44:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/EGraph/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/EGraph/src/IO.c:295:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/EGraph/src/IO.c:296:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/ETree/src/IO.c:44:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/ETree/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/ETree/src/IO.c:275:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/ETree/src/IO.c:276:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Eigen/drivers/testMPI.c:71:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/FrontMtx/src/IO.c:46:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/FrontMtx/src/IO.c:47:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/FrontMtx/src/IO.c:949:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/FrontMtx/src/IO.c:950:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Graph/src/IO.c:46:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/Graph/src/IO.c:47:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Graph/src/IO.c:222:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(string) == BUFLEN-1) { data/spooles-2.2/Graph/src/IO.c:610:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/Graph/src/IO.c:611:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/IV/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/IV/src/IO.c:46:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/IV/src/IO.c:233:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/IV/src/IO.c:234:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/IVL/src/IO.c:55:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/IVL/src/IO.c:56:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/IVL/src/IO.c:369:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/IVL/src/IO.c:370:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/InpMtx/src/IO.c:44:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/InpMtx/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/InpMtx/src/IO.c:252:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/InpMtx/src/IO.c:253:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Iter/drivers/iter.c:81:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(ctemp)==80) { data/spooles-2.2/LinSol/drivers/testWrapperMPI.c:75:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testGather.c:81:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testGraph_Bcast.c:60:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testGridMPI.c:105:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testIVL_Bcast.c:59:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testIVL_allgather.c:57:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testIVL_alltoall.c:56:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testIV_allgather.c:55:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testMMM.c:84:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testScatterDenseMtx.c:72:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testScatterInpMtx.c:67:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testSplitDenseMtx.c:70:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testSplitInpMtx.c:67:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/MPI/drivers/testSymbFac.c:59:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(argv[2]) + 1 + 4 ; data/spooles-2.2/Perm/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/Perm/src/IO.c:46:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Perm/src/IO.c:339:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/Perm/src/IO.c:340:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/SolveMap/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/SolveMap/src/IO.c:46:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/SolveMap/src/IO.c:421:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/SolveMap/src/IO.c:422:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/SubMtx/src/IO.c:46:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/SubMtx/src/IO.c:47:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/SubMtx/src/IO.c:584:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/SubMtx/src/IO.c:585:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Tree/src/IO.c:44:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/Tree/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Tree/src/IO.c:275:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/Tree/src/IO.c:276:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/Utilities/src/iohb.c:468:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ThisElement,line+col,Ptrwidth); data/spooles-2.2/Utilities/src/iohb.c:491:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ThisElement,line+col,Indwidth); data/spooles-2.2/Utilities/src/iohb.c:523:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ThisElement,line+col,Valwidth); data/spooles-2.2/Utilities/src/iohb.c:527:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). last = strlen(ThisElement); data/spooles-2.2/Utilities/src/iohb.c:720:8: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ThisElement,line+col,Rhswidth); data/spooles-2.2/Utilities/src/iohb.c:724:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). last = strlen(ThisElement); data/spooles-2.2/Utilities/src/iohb.c:1032:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ThisElement,line+col,Ptrwidth); data/spooles-2.2/Utilities/src/iohb.c:1055:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ThisElement,line+col,Indwidth); data/spooles-2.2/Utilities/src/iohb.c:1087:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ThisElement,line+col,Valwidth); data/spooles-2.2/Utilities/src/iohb.c:1091:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). last = strlen(ThisElement); data/spooles-2.2/Utilities/src/iohb.c:1287:8: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ThisElement,line+col,Rhswidth); data/spooles-2.2/Utilities/src/iohb.c:1290:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). last = strlen(ThisElement); data/spooles-2.2/Utilities/src/iohb.c:1705:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ( pos+len <= strlen(S)) { data/spooles-2.2/Utilities/src/iohb.c:1721:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(S); data/spooles-2.2/ZV/src/IO.c:44:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/ZV/src/IO.c:45:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; data/spooles-2.2/ZV/src/IO.c:231:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnlength = strlen(fn) ; data/spooles-2.2/ZV/src/IO.c:232:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sulength = strlen(suffixb) ; ANALYSIS SUMMARY: Hits = 1223 Lines analyzed = 227830 in approximately 7.92 seconds (28754 lines/second) Physical Source Lines of Code (SLOC) = 146857 Hits@level = [0] 10244 [1] 103 [2] 1080 [3] 0 [4] 40 [5] 0 Hits@level+ = [0+] 11467 [1+] 1223 [2+] 1120 [3+] 40 [4+] 40 [5+] 0 Hits/KSLOC@level+ = [0+] 78.0828 [1+] 8.32783 [2+] 7.62647 [3+] 0.272374 [4+] 0.272374 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.