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/coinmp-1.8.4/Cgl/src/CglTreeInfo.hpp Examining data/coinmp-1.8.4/Cgl/src/CglLiftAndProject/CglLiftAndProject.cpp Examining data/coinmp-1.8.4/Cgl/src/CglLiftAndProject/CglLiftAndProject.hpp Examining data/coinmp-1.8.4/Cgl/src/CglSimpleRounding/CglSimpleRounding.hpp Examining data/coinmp-1.8.4/Cgl/src/CglSimpleRounding/CglSimpleRounding.cpp Examining data/coinmp-1.8.4/Cgl/src/CglSimpleRounding/CglSimpleRoundingTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglCutGenerator.cpp Examining data/coinmp-1.8.4/Cgl/src/CglZeroHalf/CglZeroHalf.cpp Examining data/coinmp-1.8.4/Cgl/src/CglZeroHalf/Cgl012cut.cpp Examining data/coinmp-1.8.4/Cgl/src/CglZeroHalf/Cgl012cut.hpp Examining data/coinmp-1.8.4/Cgl/src/CglZeroHalf/CglZeroHalf.hpp Examining data/coinmp-1.8.4/Cgl/src/CglZeroHalf/CglZeroHalfTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglAllDifferent/CglAllDifferent.hpp Examining data/coinmp-1.8.4/Cgl/src/CglAllDifferent/CglAllDifferent.cpp Examining data/coinmp-1.8.4/Cgl/src/config_default.h Examining data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp Examining data/coinmp-1.8.4/Cgl/src/CglKnapsackCover/CglKnapsackCoverTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglKnapsackCover/CglKnapsackCover.cpp Examining data/coinmp-1.8.4/Cgl/src/CglKnapsackCover/CglKnapsackCover.hpp Examining data/coinmp-1.8.4/Cgl/src/CglCutGenerator.hpp Examining data/coinmp-1.8.4/Cgl/src/CglStored.cpp Examining data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp Examining data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.hpp Examining data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHoleTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.hpp Examining data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit/CglRedSplit.hpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit/CglRedSplitTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit/CglRedSplitParam.hpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit/CglRedSplit.cpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit/CglRedSplitParam.cpp Examining data/coinmp-1.8.4/Cgl/src/CglMessage.cpp Examining data/coinmp-1.8.4/Cgl/src/CglClique/CglCliqueHelper.cpp Examining data/coinmp-1.8.4/Cgl/src/CglClique/CglClique.hpp Examining data/coinmp-1.8.4/Cgl/src/CglClique/CglCliqueTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglClique/CglClique.cpp Examining data/coinmp-1.8.4/Cgl/src/CglStored.hpp Examining data/coinmp-1.8.4/Cgl/src/config_cgl_default.h Examining data/coinmp-1.8.4/Cgl/src/CglParam.hpp Examining data/coinmp-1.8.4/Cgl/src/CglParam.cpp Examining data/coinmp-1.8.4/Cgl/src/CglConfig.h Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPMessages.cpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPSimplex.cpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPTabRow.hpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPTabRow.cpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPMessages.hpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandP.cpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPValidator.hpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPSimplex.hpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandP.hpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPUtils.hpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPUtils.cpp Examining data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPValidator.cpp Examining data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomory.cpp Examining data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomoryTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomory.hpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit2/CglRedSplit2Test.cpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit2/CglRedSplit2Param.cpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit2/CglRedSplit2.cpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit2/CglRedSplit2.hpp Examining data/coinmp-1.8.4/Cgl/src/CglRedSplit2/CglRedSplit2Param.hpp Examining data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.hpp Examining data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.cpp Examining data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomirTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglFlowCover/CglFlowCover.cpp Examining data/coinmp-1.8.4/Cgl/src/CglFlowCover/CglFlowCover.hpp Examining data/coinmp-1.8.4/Cgl/src/CglFlowCover/CglFlowCoverTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglGMI/CglGMI.hpp Examining data/coinmp-1.8.4/Cgl/src/CglGMI/CglGMI.cpp Examining data/coinmp-1.8.4/Cgl/src/CglGMI/CglGMIParam.cpp Examining data/coinmp-1.8.4/Cgl/src/CglGMI/CglGMIParam.hpp Examining data/coinmp-1.8.4/Cgl/src/CglResidualCapacity/CglResidualCapacity.hpp Examining data/coinmp-1.8.4/Cgl/src/CglResidualCapacity/CglResidualCapacityTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglResidualCapacity/CglResidualCapacity.cpp Examining data/coinmp-1.8.4/Cgl/src/CglMixedIntegerRounding2/CglMixedIntegerRounding2.cpp Examining data/coinmp-1.8.4/Cgl/src/CglMixedIntegerRounding2/CglMixedIntegerRounding2.hpp Examining data/coinmp-1.8.4/Cgl/src/CglMixedIntegerRounding2/CglMixedIntegerRounding2Test.cpp Examining data/coinmp-1.8.4/Cgl/src/CglProbing/CglProbing.hpp Examining data/coinmp-1.8.4/Cgl/src/CglProbing/CglProbingTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglProbing/CglProbing.cpp Examining data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp Examining data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.hpp Examining data/coinmp-1.8.4/Cgl/src/CglMixedIntegerRounding/CglMixedIntegerRounding.hpp Examining data/coinmp-1.8.4/Cgl/src/CglMixedIntegerRounding/CglMixedIntegerRounding.cpp Examining data/coinmp-1.8.4/Cgl/src/CglMixedIntegerRounding/CglMixedIntegerRoundingTest.cpp Examining data/coinmp-1.8.4/Cgl/src/CglMessage.hpp Examining data/coinmp-1.8.4/Cgl/examples/cgl_data_test.cpp Examining data/coinmp-1.8.4/Cgl/examples/cgl1.cpp Examining data/coinmp-1.8.4/Cgl/test/unitTest.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinFactorization2.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveIsolated.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinParamUtils.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveDupcol.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinSearchTree.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveSingleton.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinAlloc.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinDenseFactorization.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinDenseVector.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveTighten.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveImpliedFree.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinBuild.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveTighten.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartPrimalDual.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveSubst.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinDenseFactorization.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinError.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinFactorization1.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinDenseVector.hpp Examining data/coinmp-1.8.4/CoinUtils/src/config_default.h Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveSubst.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinWarmStart.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveImpliedFree.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolvePsdebug.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization2.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinSignal.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartPrimalDual.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPrePostsolveMatrix.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveEmpty.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveDual.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinModel.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPackedMatrix.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveHelperFunctions.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPostsolveMatrix.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveTripleton.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinIndexedVector.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveFixed.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinMessage.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartBasis.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinShallowPackedVector.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveMatrix.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinError.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartDual.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPackedMatrix.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinSort.hpp Examining data/coinmp-1.8.4/CoinUtils/src/Coin_C_defines.h Examining data/coinmp-1.8.4/CoinUtils/src/CoinRational.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinSnapshot.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinParam.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveMonitor.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartDual.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPackedVector.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinSearchTree.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization3.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveMonitor.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinMessage.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinBuild.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinUtility.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveDupcol.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinIndexedVector.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinShallowPackedVector.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPackedVectorBase.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveFixed.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveDual.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveIsolated.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinDistance.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPragma.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinRational.cpp Examining data/coinmp-1.8.4/CoinUtils/src/config_coinutils_default.h Examining data/coinmp-1.8.4/CoinUtils/src/CoinFinite.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinTime.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveUseless.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolvePsdebug.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartVector.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveTripleton.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveUseless.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPackedVector.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveEmpty.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveDoubleton.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinTypes.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveZeros.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveDoubleton.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinUtilsConfig.h Examining data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinFactorization.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinFactorization4.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinSnapshot.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinAlloc.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveMatrix.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful2.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPackedVectorBase.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartBasis.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinOslC.h Examining data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinFactorization3.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveSingleton.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinFinite.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinParam.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveZeros.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveForcing.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinFloatEqual.hpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinPresolveForcing.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartVector.cpp Examining data/coinmp-1.8.4/CoinUtils/src/CoinSmartPtr.hpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinErrorTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinMpsIOTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinPackedMatrixTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinDenseVectorTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinMessageHandlerTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinIndexedVectorTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinLpIOTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinModelTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/unitTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinPackedVectorTest.cpp Examining data/coinmp-1.8.4/CoinUtils/test/CoinShallowPackedVectorTest.cpp Examining data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp Examining data/coinmp-1.8.4/CoinMP/src/CoinResult.c Examining data/coinmp-1.8.4/CoinMP/src/CoinMPConfig.h Examining data/coinmp-1.8.4/CoinMP/src/CoinSolver.h Examining data/coinmp-1.8.4/CoinMP/src/CoinSolver.c Examining data/coinmp-1.8.4/CoinMP/src/CoinCbc.h Examining data/coinmp-1.8.4/CoinMP/src/CoinResult.h Examining data/coinmp-1.8.4/CoinMP/src/CoinMP.h Examining data/coinmp-1.8.4/CoinMP/src/config_coinmp_default.h Examining data/coinmp-1.8.4/CoinMP/src/CoinProblem.h Examining data/coinmp-1.8.4/CoinMP/src/CoinProblem.c Examining data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp Examining data/coinmp-1.8.4/CoinMP/src/CoinOption.h Examining data/coinmp-1.8.4/CoinMP/src/CoinOption.c Examining data/coinmp-1.8.4/CoinMP/examples/example.c Examining data/coinmp-1.8.4/CoinMP/test/unitTest.cpp Examining data/coinmp-1.8.4/CoinMP/MSVisualStudio/v10/CoinMP/resource.h Examining data/coinmp-1.8.4/CoinMP/MSVisualStudio/v9/CoinMP/resource.h Examining data/coinmp-1.8.4/Clp/src/config_clp_default.h Examining data/coinmp-1.8.4/Clp/src/AbcSimplexFactorization.cpp Examining data/coinmp-1.8.4/Clp/src/ClpSimplexNonlinear.cpp Examining data/coinmp-1.8.4/Clp/src/ClpHelperFunctions.cpp Examining data/coinmp-1.8.4/Clp/src/MyEventHandler.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization1.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPrimalColumnPivot.hpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcSmallFactorization3.cpp Examining data/coinmp-1.8.4/Clp/src/ClpLinearObjective.hpp Examining data/coinmp-1.8.4/Clp/src/AbcSimplexDual.hpp Examining data/coinmp-1.8.4/Clp/src/Clp_C_Interface.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPackedMatrix.cpp Examining data/coinmp-1.8.4/Clp/src/ClpMessage.cpp Examining data/coinmp-1.8.4/Clp/src/ClpConstraintQuadratic.hpp Examining data/coinmp-1.8.4/Clp/src/AbcPrimalColumnPivot.cpp Examining data/coinmp-1.8.4/Clp/src/AbcDualRowSteepest.cpp Examining data/coinmp-1.8.4/Clp/src/Clp_C_Interface.h Examining data/coinmp-1.8.4/Clp/src/ClpSimplexPrimal.cpp Examining data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.hpp Examining data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.cpp Examining data/coinmp-1.8.4/Clp/src/ClpNetworkBasis.cpp Examining data/coinmp-1.8.4/Clp/src/ClpParameters.hpp Examining data/coinmp-1.8.4/Clp/src/ClpNetworkBasis.hpp Examining data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPredictorCorrector.cpp Examining data/coinmp-1.8.4/Clp/src/ClpDualRowDantzig.hpp Examining data/coinmp-1.8.4/Clp/src/ClpNetworkMatrix.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization.hpp Examining data/coinmp-1.8.4/Clp/src/ClpPresolve.cpp Examining data/coinmp-1.8.4/Clp/src/ClpDummyMatrix.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcSmallFactorization4.cpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyMumps.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPrimalColumnDantzig.hpp Examining data/coinmp-1.8.4/Clp/src/AbcPrimalColumnSteepest.cpp Examining data/coinmp-1.8.4/Clp/src/config_default.h Examining data/coinmp-1.8.4/Clp/src/ClpDualRowPivot.cpp Examining data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp Examining data/coinmp-1.8.4/Clp/src/ClpSolve.hpp Examining data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp Examining data/coinmp-1.8.4/Clp/src/AbcDualRowSteepest.hpp Examining data/coinmp-1.8.4/Clp/src/AbcNonLinearCost.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcFactorization2.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcSmallFactorization2.cpp Examining data/coinmp-1.8.4/Clp/src/ClpSolve.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPackedMatrix.hpp Examining data/coinmp-1.8.4/Clp/src/ClpPrimalColumnSteepest.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPrimalColumnPivot.cpp Examining data/coinmp-1.8.4/Clp/src/ClpMain.cpp Examining data/coinmp-1.8.4/Clp/src/Idiot.hpp Examining data/coinmp-1.8.4/Clp/src/ClpQuadraticObjective.hpp Examining data/coinmp-1.8.4/Clp/src/AbcCommon.hpp Examining data/coinmp-1.8.4/Clp/src/ClpNonLinearCost.hpp Examining data/coinmp-1.8.4/Clp/src/ClpGubMatrix.cpp Examining data/coinmp-1.8.4/Clp/src/ClpDynamicExampleMatrix.cpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyWssmpKKT.hpp Examining data/coinmp-1.8.4/Clp/src/CbcOrClpParam.hpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyMumps.hpp Examining data/coinmp-1.8.4/Clp/src/ClpModel.hpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyTaucs.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcOrderedFactorization2.cpp Examining data/coinmp-1.8.4/Clp/src/ClpQuadraticObjective.cpp Examining data/coinmp-1.8.4/Clp/src/ClpDynamicExampleMatrix.hpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization2.cpp Examining data/coinmp-1.8.4/Clp/src/ClpFactorization.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization5.cpp Examining data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp Examining data/coinmp-1.8.4/Clp/src/ClpEventHandler.hpp Examining data/coinmp-1.8.4/Clp/src/ClpNonLinearCost.cpp Examining data/coinmp-1.8.4/Clp/src/ClpModel.cpp Examining data/coinmp-1.8.4/Clp/src/AbcSimplexPrimal.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcFactorization5.cpp Examining data/coinmp-1.8.4/Clp/src/ClpLsqr.hpp Examining data/coinmp-1.8.4/Clp/src/ClpPdcoBase.cpp Examining data/coinmp-1.8.4/Clp/src/ClpSimplexOther.hpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcDenseFactorization.hpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcCommon.hpp Examining data/coinmp-1.8.4/Clp/src/ClpGubDynamicMatrix.cpp Examining data/coinmp-1.8.4/Clp/src/AbcDualRowPivot.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcOrderedFactorization3.cpp Examining data/coinmp-1.8.4/Clp/src/ClpDualRowDantzig.cpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyWssmp.hpp Examining data/coinmp-1.8.4/Clp/src/ClpSimplexPrimal.hpp Examining data/coinmp-1.8.4/Clp/src/AbcDualRowDantzig.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcFactorization1.cpp Examining data/coinmp-1.8.4/Clp/src/ClpObjective.cpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyBase.hpp Examining data/coinmp-1.8.4/Clp/src/ClpPdcoBase.hpp Examining data/coinmp-1.8.4/Clp/src/ClpNode.cpp Examining data/coinmp-1.8.4/Clp/src/ClpMatrixBase.cpp Examining data/coinmp-1.8.4/Clp/src/ClpMatrixBase.hpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcOrderedFactorization5.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPresolve.hpp Examining data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyWssmp.cpp Examining data/coinmp-1.8.4/Clp/src/Clp_ampl.h Examining data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp Examining data/coinmp-1.8.4/Clp/src/MyMessageHandler.hpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyUfl.hpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcFactorization4.cpp Examining data/coinmp-1.8.4/Clp/src/ClpFactorization.hpp Examining data/coinmp-1.8.4/Clp/src/ClpDynamicMatrix.hpp Examining data/coinmp-1.8.4/Clp/src/ClpConstraintLinear.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcHelperFunctions.cpp Examining data/coinmp-1.8.4/Clp/src/MyEventHandler.hpp Examining data/coinmp-1.8.4/Clp/src/ClpHelperFunctions.hpp Examining data/coinmp-1.8.4/Clp/src/ClpPrimalColumnSteepest.hpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyWssmpKKT.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization3.cpp Examining data/coinmp-1.8.4/Clp/src/ClpSimplexDual.hpp Examining data/coinmp-1.8.4/Clp/src/ClpNode.hpp Examining data/coinmp-1.8.4/Clp/src/Idiot.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcSmallFactorization5.cpp Examining data/coinmp-1.8.4/Clp/src/ClpLinearObjective.cpp Examining data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcCommonFactorization.hpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyTaucs.hpp Examining data/coinmp-1.8.4/Clp/src/AbcMatrix.hpp Examining data/coinmp-1.8.4/Clp/src/ClpPrimalColumnDantzig.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPredictorCorrector.hpp Examining data/coinmp-1.8.4/Clp/src/AbcPrimalColumnPivot.hpp Examining data/coinmp-1.8.4/Clp/src/ClpPdco.hpp Examining data/coinmp-1.8.4/Clp/src/IdiSolve.cpp Examining data/coinmp-1.8.4/Clp/src/ClpGubDynamicMatrix.hpp Examining data/coinmp-1.8.4/Clp/src/ClpGubMatrix.hpp Examining data/coinmp-1.8.4/Clp/src/ClpObjective.hpp Examining data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp Examining data/coinmp-1.8.4/Clp/src/AbcSimplexFactorization.hpp Examining data/coinmp-1.8.4/Clp/src/ClpDummyMatrix.hpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcHelperFunctions.hpp Examining data/coinmp-1.8.4/Clp/src/ClpPrimalQuadraticDantzig.hpp Examining data/coinmp-1.8.4/Clp/src/unitTest.cpp Examining data/coinmp-1.8.4/Clp/src/ClpMessage.hpp Examining data/coinmp-1.8.4/Clp/src/ClpConstraint.cpp Examining data/coinmp-1.8.4/Clp/src/AbcPrimalColumnDantzig.hpp Examining data/coinmp-1.8.4/Clp/src/ClpPlusMinusOneMatrix.cpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyBase.cpp Examining data/coinmp-1.8.4/Clp/src/ClpSimplex.hpp Examining data/coinmp-1.8.4/Clp/src/AbcSimplexPrimal.hpp Examining data/coinmp-1.8.4/Clp/src/ClpConstraint.hpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcFactorization3.cpp Examining data/coinmp-1.8.4/Clp/src/AbcWarmStart.cpp Examining data/coinmp-1.8.4/Clp/src/ClpDualRowPivot.hpp Examining data/coinmp-1.8.4/Clp/src/AbcDualRowDantzig.hpp Examining data/coinmp-1.8.4/Clp/src/AbcMatrix.cpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyDense.cpp Examining data/coinmp-1.8.4/Clp/src/AbcSimplex.hpp Examining data/coinmp-1.8.4/Clp/src/ClpInterior.cpp Examining data/coinmp-1.8.4/Clp/src/AbcDualRowPivot.hpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcOrderedFactorization1.cpp Examining data/coinmp-1.8.4/Clp/src/AbcPrimalColumnSteepest.hpp Examining data/coinmp-1.8.4/Clp/src/ClpNetworkMatrix.hpp Examining data/coinmp-1.8.4/Clp/src/ClpConfig.h Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyUfl.cpp Examining data/coinmp-1.8.4/Clp/src/AbcPrimalColumnDantzig.cpp Examining data/coinmp-1.8.4/Clp/src/ClpConstraintQuadratic.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcSmallFactorization1.cpp Examining data/coinmp-1.8.4/Clp/src/ClpDualRowSteepest.hpp Examining data/coinmp-1.8.4/Clp/src/ClpSolver.cpp Examining data/coinmp-1.8.4/Clp/src/ClpInterior.hpp Examining data/coinmp-1.8.4/Clp/src/AbcWarmStart.hpp Examining data/coinmp-1.8.4/Clp/src/ClpEventHandler.cpp Examining data/coinmp-1.8.4/Clp/src/ClpConstraintLinear.hpp Examining data/coinmp-1.8.4/Clp/src/ClpDynamicMatrix.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcDenseFactorization.cpp Examining data/coinmp-1.8.4/Clp/src/AbcSimplexParallel.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization4.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPlusMinusOneMatrix.hpp Examining data/coinmp-1.8.4/Clp/src/ClpCholeskyDense.hpp Examining data/coinmp-1.8.4/Clp/src/AbcNonLinearCost.hpp Examining data/coinmp-1.8.4/Clp/src/ClpDualRowSteepest.cpp Examining data/coinmp-1.8.4/Clp/src/ClpPdco.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcOrderedFactorization4.cpp Examining data/coinmp-1.8.4/Clp/src/MyMessageHandler.cpp Examining data/coinmp-1.8.4/Clp/src/CoinAbcFactorization.hpp Examining data/coinmp-1.8.4/Clp/src/ClpSimplexNonlinear.hpp Examining data/coinmp-1.8.4/Clp/examples/testGub2.cpp Examining data/coinmp-1.8.4/Clp/examples/dualCuts.cpp Examining data/coinmp-1.8.4/Clp/examples/testGub.cpp Examining data/coinmp-1.8.4/Clp/examples/pdco.cpp Examining data/coinmp-1.8.4/Clp/examples/defaults.cpp Examining data/coinmp-1.8.4/Clp/examples/driver2.cpp Examining data/coinmp-1.8.4/Clp/examples/addBits.cpp Examining data/coinmp-1.8.4/Clp/examples/minimum.cpp Examining data/coinmp-1.8.4/Clp/examples/myPdco.cpp Examining data/coinmp-1.8.4/Clp/examples/makeDual.cpp Examining data/coinmp-1.8.4/Clp/examples/ekk.cpp Examining data/coinmp-1.8.4/Clp/examples/decomp2.cpp Examining data/coinmp-1.8.4/Clp/examples/testQP.cpp Examining data/coinmp-1.8.4/Clp/examples/useVolume.cpp Examining data/coinmp-1.8.4/Clp/examples/modify.cpp Examining data/coinmp-1.8.4/Clp/examples/rowColumn.cpp Examining data/coinmp-1.8.4/Clp/examples/testBasis.cpp Examining data/coinmp-1.8.4/Clp/examples/decomp3.cpp Examining data/coinmp-1.8.4/Clp/examples/addColumns.cpp Examining data/coinmp-1.8.4/Clp/examples/driverC.c Examining data/coinmp-1.8.4/Clp/examples/addRows.cpp Examining data/coinmp-1.8.4/Clp/examples/myPdco.hpp Examining data/coinmp-1.8.4/Clp/examples/sprint.cpp Examining data/coinmp-1.8.4/Clp/examples/testBarrier.cpp Examining data/coinmp-1.8.4/Clp/examples/decompose.cpp Examining data/coinmp-1.8.4/Clp/examples/sprint2.cpp Examining data/coinmp-1.8.4/Clp/examples/network.cpp Examining data/coinmp-1.8.4/Clp/examples/driver.cpp Examining data/coinmp-1.8.4/Clp/examples/driver3.cpp Examining data/coinmp-1.8.4/Clp/examples/ekk_interface.cpp Examining data/coinmp-1.8.4/Clp/examples/piece.cpp Examining data/coinmp-1.8.4/Clp/examples/hello.cpp Examining data/coinmp-1.8.4/Clp/test/osiUnitTest.cpp Examining data/coinmp-1.8.4/Clp/test/OsiClpSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/BuildTools/headers/configall_system.h Examining data/coinmp-1.8.4/BuildTools/headers/configall_system_msc.h Examining data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.hpp Examining data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp Examining data/coinmp-1.8.4/Osi/src/OsiGlpk/OsiGlpkSolverInterface.cpp Examining data/coinmp-1.8.4/Osi/src/OsiGlpk/OsiGlpkSolverInterface.hpp Examining data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp Examining data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.hpp Examining data/coinmp-1.8.4/Osi/src/OsiSpx/OsiSpxSolverInterface.cpp Examining data/coinmp-1.8.4/Osi/src/OsiSpx/OsiSpxSolverInterface.hpp Examining data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp Examining data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.hpp Examining data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiCutsTest.cpp Examining data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiUnitTestUtils.cpp Examining data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiNetlibTest.cpp Examining data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiColCutTest.cpp Examining data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiRowCutDebuggerTest.cpp Examining data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiSimplexAPITest.cpp Examining data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiRowCutTest.cpp Examining data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiUnitTests.hpp Examining data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.hpp Examining data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiRowCut.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiCuts.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiRowCut.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiCut.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiPresolve.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiAuxInfo.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiPresolve.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/config_default.h Examining data/coinmp-1.8.4/Osi/src/Osi/OsiCollections.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/config_osi_default.h Examining data/coinmp-1.8.4/Osi/src/Osi/OsiSolverInterface.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiRowCutDebugger.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiChooseVariable.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiCuts.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiSolverInterface.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiConfig.h Examining data/coinmp-1.8.4/Osi/src/Osi/OsiCut.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiColCut.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiRowCutDebugger.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiColCut.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiAuxInfo.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiChooseVariable.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiNames.cpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.hpp Examining data/coinmp-1.8.4/Osi/src/Osi/OsiSolverParameters.hpp Examining data/coinmp-1.8.4/Osi/examples/opbdp_solve.cpp Examining data/coinmp-1.8.4/Osi/examples/basic.cpp Examining data/coinmp-1.8.4/Osi/examples/parameters.cpp Examining data/coinmp-1.8.4/Osi/examples/query.cpp Examining data/coinmp-1.8.4/Osi/examples/build.cpp Examining data/coinmp-1.8.4/Osi/examples/readconic.cpp Examining data/coinmp-1.8.4/Osi/examples/opbdp_solve.hpp Examining data/coinmp-1.8.4/Osi/test/OsiGlpkSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/Osi/test/OsiMskSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/Osi/test/OsiTestSolverInterface.cpp Examining data/coinmp-1.8.4/Osi/test/OsiXprSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/Osi/test/OsiTestSolver.hpp Examining data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp Examining data/coinmp-1.8.4/Osi/test/OsiTestSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/Osi/test/OsiGrbSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/Osi/test/OsiTestSolverInterface.hpp Examining data/coinmp-1.8.4/Osi/test/unitTest.cpp Examining data/coinmp-1.8.4/Osi/test/OsiTestSolverInterfaceIO.cpp Examining data/coinmp-1.8.4/Osi/test/OsiSpxSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/Osi/test/OsiCpxSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcFollowOn.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcThread.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenCbcParam.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveVectorLength.cpp Examining data/coinmp-1.8.4/Cbc/src/OsiCbc/OsiCbcSolverInterface.cpp Examining data/coinmp-1.8.4/Cbc/src/OsiCbc/OsiCbcSolverInterface.hpp Examining data/coinmp-1.8.4/Cbc/src/ClpAmplObjective.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcCutGenerator.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDINS.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareObjective.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenMessages.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcFixVariable.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcNode.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicPivotAndFix.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCutSubsetModifier.cpp Examining data/coinmp-1.8.4/Cbc/src/CoinSolve.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenMessages.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicPivotAndFix.cpp Examining data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchToFixLots.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareDefault.hpp Examining data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.h Examining data/coinmp-1.8.4/Cbc/src/CbcBranchDynamic.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchLotsize.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenCtlBlk.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcTree.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveFractional.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenCtlBlk.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenOsiParam.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcClique.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareDepth.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcPartialNodeInfo.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCutModifier.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenSolvers.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSimpleInteger.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenParam.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcObjectUpdateData.hpp Examining data/coinmp-1.8.4/Cbc/src/config_default.h Examining data/coinmp-1.8.4/Cbc/src/CbcBranchingObject.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcFathom.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDINS.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSOS.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcPartialNodeInfo.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcLinkedUtils.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveVectorLength.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcConsequence.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicVND.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcFullNodeInfo.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCbcParam.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcStrategy.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcFathomDynamicProgramming.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristic.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchCut.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcDummyBranchingObject.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGeneric.cpp Examining data/coinmp-1.8.4/Cbc/src/unitTestClp.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSolverAnalyze.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcParam.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenParam.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcTree.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompare.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicGreedy.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareBase.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcConfig.h Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicRINS.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSolverExpandKnapsack.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchDefaultDecision.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveFractional.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcLinked.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCountRowCut.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcFathom.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcNodeInfo.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchActual.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveLineSearch.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicVND.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerDynamicPseudoCost.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcFollowOn.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchLotsize.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcFathomDynamicProgramming.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchBase.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenParamUtils.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSOS.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcFeasibilityBase.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchCut.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareActual.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareDefault.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicRandRound.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcCutModifier.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcNode.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcStrategy.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGeneralDepth.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcNWay.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareEstimate.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenBaB.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcClique.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicRINS.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcModel.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcEventHandler.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcObject.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcParam.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareObjective.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchToFixLots.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveGuided.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchDynamic.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSimpleInteger.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcSolverAnalyze.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcSubProblem.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDivePseudoCost.hpp Examining data/coinmp-1.8.4/Cbc/src/Cbc_ampl.h Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveGuided.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcStatistics.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcMessage.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcGeneral.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcFixVariable.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcCutGenerator.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenCbcParamUtils.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenOsiParamUtils.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveLineSearch.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcEventHandler.hpp Examining data/coinmp-1.8.4/Cbc/src/ClpConstraintAmpl.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchDecision.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchDecision.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcNWay.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcMessage.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcCountRowCut.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerPseudoCost.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcStatistics.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcFullNodeInfo.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerPseudoCost.hpp Examining data/coinmp-1.8.4/Cbc/src/unitTest.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcThread.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerDynamicPseudoCost.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchBase.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcObjectUpdateData.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveCoefficient.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDivePseudoCost.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcNodeInfo.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSolver.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareEstimate.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcObject.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDiveCoefficient.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchAllDifferent.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchAllDifferent.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicGreedy.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcCompareDepth.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcSubProblem.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchDefaultDecision.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcGeneral.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcConsequence.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcModel.cpp Examining data/coinmp-1.8.4/Cbc/src/config_cbc_default.h Examining data/coinmp-1.8.4/Cbc/src/CbcDummyBranchingObject.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcSolverExpandKnapsack.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.hpp Examining data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenOsiParam.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGeneralDepth.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcCutSubsetModifier.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcBranchingObject.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcSymmetry.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicRandRound.cpp Examining data/coinmp-1.8.4/Cbc/src/CbcGenCbcParam.hpp Examining data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.hpp Examining data/coinmp-1.8.4/Cbc/examples/driver4.cpp Examining data/coinmp-1.8.4/Cbc/examples/gear.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcSolver2.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcSolver3.hpp Examining data/coinmp-1.8.4/Cbc/examples/fast0507b.cpp Examining data/coinmp-1.8.4/Cbc/examples/longthin.cpp Examining data/coinmp-1.8.4/Cbc/examples/simpleBAB.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcCompareUser.hpp Examining data/coinmp-1.8.4/Cbc/examples/fast0507.cpp Examining data/coinmp-1.8.4/Cbc/examples/qmip2.cpp Examining data/coinmp-1.8.4/Cbc/examples/driver2.cpp Examining data/coinmp-1.8.4/Cbc/examples/minimum.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcSolver2.hpp Examining data/coinmp-1.8.4/Cbc/examples/ClpQuadInterface.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcBranchFollow2.hpp Examining data/coinmp-1.8.4/Cbc/examples/modify.cpp Examining data/coinmp-1.8.4/Cbc/examples/pool.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcBranchFollow2.cpp Examining data/coinmp-1.8.4/Cbc/examples/sudoku.cpp Examining data/coinmp-1.8.4/Cbc/examples/parallel.cpp Examining data/coinmp-1.8.4/Cbc/examples/crew.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcSolver3.cpp Examining data/coinmp-1.8.4/Cbc/examples/sample5.cpp Examining data/coinmp-1.8.4/Cbc/examples/interrupt.cpp Examining data/coinmp-1.8.4/Cbc/examples/repeat.cpp Examining data/coinmp-1.8.4/Cbc/examples/sample3.cpp Examining data/coinmp-1.8.4/Cbc/examples/sample1.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcSolverLongThin.cpp Examining data/coinmp-1.8.4/Cbc/examples/hotstart.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcCompareUser.cpp Examining data/coinmp-1.8.4/Cbc/examples/lotsize.cpp Examining data/coinmp-1.8.4/Cbc/examples/sample4.cpp Examining data/coinmp-1.8.4/Cbc/examples/barrier.cpp Examining data/coinmp-1.8.4/Cbc/examples/ClpQuadInterface.hpp Examining data/coinmp-1.8.4/Cbc/examples/allCuts.cpp Examining data/coinmp-1.8.4/Cbc/examples/sample2.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcSolverLongThin.hpp Examining data/coinmp-1.8.4/Cbc/examples/nway.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcBranchLink.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcBranchLink.hpp Examining data/coinmp-1.8.4/Cbc/examples/CbcBranchUser.hpp Examining data/coinmp-1.8.4/Cbc/examples/link.cpp Examining data/coinmp-1.8.4/Cbc/examples/CbcBranchUser.cpp Examining data/coinmp-1.8.4/Cbc/examples/driver.cpp Examining data/coinmp-1.8.4/Cbc/examples/qmip.cpp Examining data/coinmp-1.8.4/Cbc/examples/driver3.cpp Examining data/coinmp-1.8.4/Cbc/examples/sos.cpp Examining data/coinmp-1.8.4/Cbc/examples/driver6.cpp Examining data/coinmp-1.8.4/Cbc/examples/cbc_driverC_sos.c Examining data/coinmp-1.8.4/Cbc/test/osiUnitTest.cpp Examining data/coinmp-1.8.4/Cbc/test/OsiCbcSolverInterfaceTest.cpp Examining data/coinmp-1.8.4/Cbc/test/CInterfaceTest.c Examining data/coinmp-1.8.4/Cbc/test/gamsTest.cpp Examining data/coinmp-1.8.4/Cbc/MSVisualStudio/v10/CbcWithInstalledLibraries/main.cpp FINAL RESULTS: data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:73:17: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. virtual char *gets (char *buffer, int size) data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:137:17: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. virtual char *gets (char *buffer, int size) data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.hpp:76:17: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. virtual char *gets (char *buffer, int size) = 0; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:280:19: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. getit = input_->gets ( card_, MAX_CARD_LENGTH); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2689:32: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. cardReader_->fileInput ()->gets (buffer, 1000); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2701:34: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. cardReader_->fileInput ()->gets (buffer, 1000); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2726:34: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. cardReader_->fileInput ()->gets (buffer, 1000); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2737:29: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. cardReader_->fileInput ()->gets (buffer, 1000); data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:66:13: [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(pMask, pMask2 + 1) ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:74:13: [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(pMask, pMask2 + 1) ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:78:9: [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(pMask, pMask2) ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:106:5: [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(masks[0], pMask) ; data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:1430:29: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:488:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(dwPrint,"PASS %d changed objective from %g to %g in %g seconds (%g elapsed) - total %g (%g elapsed) - current needed %d nodes %d - %s", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1575:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(dwPrint,"%s %d blocks (largest %d,%d), %d master rows (%d empty) out of %d, %d master columns (%d empty, %d integer) out of %d", data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp:439:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"Heuristic %s fixed %d to one (and %d to zero)", data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp:588:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"Heuristic %s fixed %d to one (%d sets)", data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1049:17: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1083:21: [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(temp, el); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1237:17: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1314:21: [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(temp, el); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1879:13: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1904:17: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3329:13: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3366:17: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7732:13: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7767:17: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7825:17: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7875:21: [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(temp, expr); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:48:19: [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. int nread = sscanf( line, "%s %s %s %s", col[0], col[1], col[2], col[3] ); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:56:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf( printLine, "Reading: %s, line %d - first column in mipstart file should be numeric, ignoring.", fileName, nLine ); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:62:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf( printLine, "Reading: %s, line %d - Third column in mipstart file should be numeric, ignoring.", fileName, nLine ); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:99:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf( printLine, "No mipstart solution read from %s", fileName ); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:150:13: [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( colNotFound, colValues[i].first.c_str() ); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:182:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf( printLine, "Warning: %d column names were not found (e.g. %s) while filling solution.", notFound, colNotFound ); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15658:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"Heuristic %s took %g seconds (%s)", data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5415:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(general,"Secondary analysis solve increases lower bound on %d from %g to %g%s", data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5441:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(general,"Secondary analysis solve decreases upper bound on %d from %g to %g%s", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1884:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1890:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1908:21: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint + strlen(generalPrint), "%s ", argv[i]); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1926:13: [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(temp, field.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3033:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "\nResult - %s%s\n\n", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3139:33: [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(info.buffer, buf); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3390:37: [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(info.buffer, buf); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3732:41: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Problem is %s - %.2f seconds", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7099:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "%s was tried %d times and created %d cuts of which %d were active after adding rounds of cuts", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7107:41: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(generalPrint, timing); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7131:41: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "%s was tried %d times out of %d and created %d solutions\n", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7502:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "\nResult - %s%s\n", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7518:12: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7575:18: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. pos += sprintf(buf+pos,"stopped on %s,",minor[iStat2].c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7624:8: [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(info.buffer,buf); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7774:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",gmplData.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7779:10: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7905:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7975:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8141:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8511:10: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8546:29: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint,"opening mipstart file %s.",fileName.c_str() ); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8553:33: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint,"file %s will be used before preprocessing.",fileName.c_str() ); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8636:10: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8690:10: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8738:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8817:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8947:10: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Setting %s to DEBUG %g",parameters_[iParam].name().c_str(),value); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9050:44: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. pos += sprintf(buf + pos, "stopped on %s,", minor[iStat2].c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9086:33: [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(info.buffer, buf); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9159:29: [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(buffer, argv[1]); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9185:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9474:45: [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(pMask, pMask2 + 1); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9482:45: [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(pMask, pMask2 + 1); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9486:41: [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(pMask, pMask2); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9508:37: [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(masks[0], pMask); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9704:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printFormat," %s %s\n", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9732:45: [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(fp, printFormat, primalRowSolution[iRow], data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9783:49: [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(fp, printFormat, data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9871:10: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint, "Unable to open file %s",fileName.c_str()); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:67:5: [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(algFound, kw->desc); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:342:17: [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, badfmt, what, i, j); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:347: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(Stderr, badfmt, what, i1, j1); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:375:9: [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(fileName, argv[1]); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:728:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "%s %s", Oinfo.bsname, info->buffer); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1391:37: [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(temp, temp2); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1393:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%g+%s", constant, temp2); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1395:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%g%s", constant, temp2); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1398:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%s+%s", expr, temp2); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1400:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%s%s", expr, temp2); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1435:37: [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(temp, temp2); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1437:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%g+%s", constant, temp2); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1439:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%g%s", constant, temp2); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1442:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%s+%s", expr, temp2); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1444:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%s%s", expr, temp2); data/coinmp-1.8.4/Cgl/examples/cgl_data_test.cpp:28:5: [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(f_name, &(f_name_pos[1])); data/coinmp-1.8.4/Cgl/examples/cgl_data_test.cpp:31:5: [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(f_name, f_name_lp); data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.hpp:358:2: [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(stdout, ##REST); \ data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.hpp:364:2: [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(stdout, ##REST); \ data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.hpp:380: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(stdout, ##REST); \ data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.hpp:392:39: [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. #define DGG_IF_EXIT(A,B,REST) {if(A) {fprintf(stdout, REST);exit(B);}} data/coinmp-1.8.4/Clp/examples/network.cpp:43:6: [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(fp, "%s", temp); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:526:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%g was provided for %s - valid range is %g to %g", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:547:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%s was changed from %g to %g", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:570:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%g was provided for %s - valid range is %g to %g", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:574:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%s was changed from %g to %g", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:668:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%d was provided for %s - valid range is %d to %d", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:673:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%s was changed from %d to %d", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:703:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "using time of day %s was changed from %d to %d", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:816:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%d was provided for %s - valid range is %d to %d", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:829:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%s was changed from %d to %d", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:863:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%g was provided for %s - valid range is %g to %g", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:909:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%s was changed from %g to %g", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:965:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%d was provided for %s - valid range is %d to %d", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1030:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%s was changed from %d to %d", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1122:5: [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(current,definedKeyWords_[currentKeyWord_].c_str()); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1128:5: [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(newString,definedKeyWords_[value].c_str()); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1133:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "Option for %s changed from %s to %s", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1160:5: [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(current,definedKeyWords_[currentKeyWord_].c_str()); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1165:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "Option for %s changed from %s to %s", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1169:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "Option for %s given illegal value %s", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1190:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%d was provided for %s - valid range is %d to %d", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1195:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%s was changed from %d to %d", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1217:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%g was provided for %s - valid range is %g to %g", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1222:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printArray, "%s was changed from %g to %g", data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1293:21: [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(line, where); data/coinmp-1.8.4/Clp/src/ClpHelperFunctions.cpp:128:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"%s: %d : \'%s\' failed.",fileName.c_str(),lineNumber,message.c_str()); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4124:11: [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(temp, rowName(i).c_str()); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4134:11: [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(temp, columnName(i).c_str()); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4169:31: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp2, "+%s", coinModel->getColumnName(kColumn)); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4171:31: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp2, "-%s", coinModel->getColumnName(kColumn)); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4173:31: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp2, "+%g*%s", value, coinModel->getColumnName(kColumn)); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4175:31: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp2, "%g*%s", value, coinModel->getColumnName(kColumn)); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4176:26: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(temp, temp2); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:6865:21: [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(put, rowNames_[i].c_str()); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:6875:21: [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(put, columnNames_[i].c_str()); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2299:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"Empty parametrics file %s?",dataFile); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2377:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"Odd first line %s on file %s?",line,dataFile); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2384:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"Not enough records on parametrics file %s?",dataFile); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2544:6: [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(saveLine,line); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2551:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line," ** %d records did not match on name/sequence, first bad %s", nBadName,saveLine); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2571:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"Not enough records on parametrics file %s after COLUMNS?",dataFile); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2719:8: [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(saveLine,line); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2726:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line," ** %d records did not match on name/sequence, first bad %s", nBadName,saveLine); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4246:6: [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(in,columnNames_[iSequence].c_str()); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4252:6: [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(in,rowNames_[iSequence].c_str()); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4259:6: [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(out,columnNames_[iSequence].c_str()); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4265:6: [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(out,rowNames_[iSequence].c_str()); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7935:8: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(line,temp); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:714:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(line,"Cpu time for %s (%d rows, %d columns %d elements) %g elapsed %g ratio %g - %d iterations", data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1120:33: [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(info.buffer, buf); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2398:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printFormat,"Objective value %s\n", data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2400:41: [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(fp, printFormat, objValue); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2520:56: [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(pMask, pMask2 + 1); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2528:56: [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(pMask, pMask2 + 1); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2532:51: [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(pMask, pMask2); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2554:46: [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(masks[0], pMask); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2743:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printFormat," %s %s\n", data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2771:56: [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(fp, printFormat, primalRowSolution[iRow], data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2809:9: [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(fp, printFormat, data/coinmp-1.8.4/Clp/src/Clp_C_Interface.cpp:776:6: [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(name, rowName.c_str()); data/coinmp-1.8.4/Clp/src/Clp_C_Interface.cpp:783:6: [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(name, columnName.c_str()); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:64:5: [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(algFound, kw->desc); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:339:17: [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, badfmt, what, i, j); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:344: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(Stderr, badfmt, what, i1, j1); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:372:9: [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(fileName, argv[1]); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:725:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "%s %s", Oinfo.bsname, info->buffer); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1387:37: [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(temp, temp2); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1389:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%g+%s", constant, temp2); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1391:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%g%s", constant, temp2); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1394:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%s+%s", expr, temp2); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1396:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%s%s", expr, temp2); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1432:37: [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(temp, temp2); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1434:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%g+%s", constant, temp2); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1436:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%g%s", constant, temp2); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1439:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%s+%s", expr, temp2); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1441:37: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "%s%s", expr, temp2); data/coinmp-1.8.4/Clp/src/unitTest.cpp:2374:24: [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. int x = fscanf(fp, "%s", temp); data/coinmp-1.8.4/CoinMP/examples/example.c:116:2: [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(filename, problemName); data/coinmp-1.8.4/CoinMP/examples/example.c:155:2: [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(filename, problemName); data/coinmp-1.8.4/CoinMP/examples/example.c:204:2: [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(filename, problemName); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:777:2: [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(pCoin->pSolver->LogFilename, logFilename); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:492: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(NamesList[i], argNamesList[i]); data/coinmp-1.8.4/CoinMP/src/CoinSolver.c:47: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(pSolver->LogFilename, LogFilename); data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:121:2: [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(filename, problemName); data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:161:2: [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(filename, problemName); data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:211:2: [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(filename, problemName); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:543:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(rName, "%s_low", rowNames[i]); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:547:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::checkRowNames(): ranged constraint %d has a name %s identical to another constraint name or objective function name.\nUse getPreviousNames() to get the old row names.\nNow using default row names.", i, rName); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:961: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(fp, form, v); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:976:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: unable to open file %s\n", filename); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1004:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: unable to open file %s\n", filename); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1266:5: [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(fp, form, v); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1448:9: [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. int x=fscanf(fp, "%s", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1453:7: [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. x=fscanf(fp, "%s", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1490:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::is_invalid_name(): Name %s is too long", data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1498:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::is_invalid_name(): Name %s should not start with a number", name); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1506:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::is_invalid_name(): Name %s contains illegal character '%c'", name, name[pos]); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1547:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::are_invalid_names(): Invalid name: vnames[%d]: %s", data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1637:5: [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(loc_name, start); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1678:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buff, "%s", start_str); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1714:5: [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(loc_name, start); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1790:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(start_str, "%s", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1888:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: Unable to open file %s for reading\n", filename); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1952:11: [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. int x=fscanf(fp, "%s", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2058:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: Bounds; expect a sense, get: %s\n", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2067:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::readLp(): Variable %s does not appear in objective function or constraints", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2110:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: Bounds; expect a number, get: %s\n", data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2120:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: Bounds; variable: %s read_sense1: %d read_sense2: %d\n", data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2128:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: Bounds; variable: %s read_sense1: %d read_sense2: %d bnd1: %f bnd2: %f\n", data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2180:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::readLp(): Integer variable %s does not appear in objective function or constraints", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2216:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::readLp(): Binary variable %s does not appear in objective function or constraints", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2347:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::readLp(): Variable %s not found or no weight", data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2368:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(printBuffer,"### CoinLpIO::readLp(): bad SOS item %s", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2422:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: Lost while reading: (%s)\n", buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2444:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: Hash table: %s not found\n", colNames[i]); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2462:10: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str,"### ERROR: Hash table: %s (obj) not found\n", colNames[i]); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:30: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(message_,rhs.message_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:40:5: [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(message_,rhs.message_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:51: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(message_,message); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:66: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(message_,message); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:102: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(source_,rhs.source_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:140:5: [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(source_,rhs.source_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:450: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(g_format_,new_string); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:478: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(g_format_,g_default); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:500: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(g_format_,g_default); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:547: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(g_format_,rhs.g_format_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:632:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(messageOut_,"%s%4.4d%c ",source_.c_str(), data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:674:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(messageOut_,"%s%4.4d%c ",source_.c_str(), data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:677:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(messageBuffer_,msg) ; data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:780:11: [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(messageOut_,start); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:804:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(messageOut_,format_,intvalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:832:4: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(messageOut_,format_,doublevalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:835:4: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(messageOut_,g_format_,doublevalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:838:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(messageOut_,"%s",format_+2); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:847:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(messageOut_,g_format_,doublevalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:867:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(messageOut_,format_,longvalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:893:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(messageOut_,format_,longvalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:918:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(messageOut_,format_,stringvalue.c_str()); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:923:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(messageOut_," %s",stringvalue.c_str()); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:942:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(messageOut_,format_,charvalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:966:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(messageOut_,format_,stringvalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:971:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(messageOut_," %s",stringvalue); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:318:2: [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(temp,m.columnName(iColumn)); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:433:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp+put,"%s%s",ifFirst ? "" : "+",name); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:436:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp+put,"%g*%s",value,name); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:438:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp+put,"+%g*%s",value,name); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3342:2: [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(temp,expr); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3382:4: [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(temp,expr); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3424:2: [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(temp,expr); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3461:4: [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(temp,expr); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3535:4: [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(temp+put,temp2); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3583:4: [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(temp+put,temp2); data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful2.cpp:474:21: [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. # define YYFPRINTF fprintf data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful2.cpp:718:8: [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 (ptr->name,sym_name); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:221:7: [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(valueString_,ptr); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:388:4: [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 ( columnName_, next ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:420:4: [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 ( columnName_, next ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:988:13: [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(columnName_,position_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1021:13: [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(rowName_,position_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1120:15: [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(columnName_,position_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1449:2: [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(newName,filename); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1462:4: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(newName,extension); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1466:2: [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(newName,filename); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1839:4: [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 ( lastColumn, cardReader_->columnName ( ) ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2030:6: [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 ( lastColumn, cardReader_->columnName ( ) ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2129:8: [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 ( lastColumn, cardReader_->columnName ( ) ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2287:6: [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 ( lastColumn, cardReader_->columnName ( ) ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2782: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(name,modelName); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2792:5: [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(name,dataName); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2866:7: [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(name,glp_get_row_name(cbc_glp_prob,iRow+1)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2946:7: [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(name,glp_get_col_name(cbc_glp_prob,iColumn+1)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3090:11: [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(objName,cardReader_->columnName()); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3249:5: [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(rowName,cardReader_->columnName()); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3276:2: [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(temp,cardReader_->columnName()); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3294:6: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(temp2,ast+1); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3296:6: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(temp2,temp); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3495:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp,"%d,%d,%s",iRow,iColumn,pos); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3701: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(outputRow,name); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3759:4: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(outputValue,format,value); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3770:4: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(outputValue,format,value); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3938:7: [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(outputColumn,name); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4045: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(output+1,input); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5951: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(line,id); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5952:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(line,value); data/coinmp-1.8.4/CoinUtils/src/CoinParamUtils.cpp:66:2: [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(line,where) ; data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1933:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint,"Unable to find start of master block %s",starts[0]); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1953:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint,"Unable to find start of block %d %s",iBlock,starts[iBlock]); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1977:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint,"Unable to find start of master block %s",starts[0]); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1997:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(generalPrint,"Unable to find start of block %d %s",iBlock,starts[iBlock]); data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:32:22: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define debugMessage printf data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:34:34: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define debugMessage if( false ) printf data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:75:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf( s, "%s returned error %d", cpxfuncname.c_str(), err ); data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:130:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(msg); data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:141:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(msg); data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:151:3: [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, msg); data/coinmp-1.8.4/Osi/src/OsiGlpk/OsiGlpkSolverInterface.cpp:136:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(s,"%s returned error %d",glpkfuncname.c_str(),err) ; data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp:47:55: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define debugMessage printf("line %4d: ", __LINE__) & printf data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp:49:34: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define debugMessage if( false ) printf data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:36:22: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define debugMessage printf data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:104:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(str); data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:115:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(str); data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:125:3: [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, str); data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:138:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf( s, "%s returned error %d", mskfuncname, err ); data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:2158:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(fullname, "%s.%s", filename, extension); data/coinmp-1.8.4/Cbc/src/CbcFollowOn.cpp:642:41: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. away[n]=-fabs(value-nearest)*(1.0+random); data/coinmp-1.8.4/Cbc/src/CbcFollowOn.cpp:649:33: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. away[n]=distanceDown*(1.0+random); data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:258:36: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *environVar = getenv("HOME") ; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:389:9: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random[i] = randomNumberGenerator_.randomDouble() + 0.3; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:593:66: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. cnt = fixOtherVariables(solver, solution, candidate, random); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:631:57: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. fabs(reducedCost[iColumn] * random[i]); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:1102:15: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. delete [] random; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:1514:52: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. const double * random) data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:1555:49: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. fabs(reducedCost[iColumn] * random[i]); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.hpp:136:50: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. const double * random); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDivePseudoCost.cpp:202:24: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. const double * random) data/coinmp-1.8.4/Cbc/src/CbcHeuristicDivePseudoCost.cpp:226:67: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. downArray_[i]) * random[i]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDivePseudoCost.cpp:230:67: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. downArray_[i]) * random[i]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDivePseudoCost.cpp:235:74: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. 1.0e-4*downArray_[i]) * random[i]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDivePseudoCost.hpp:55:50: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. const double * random); data/coinmp-1.8.4/Cbc/src/CbcHeuristicPivotAndFix.cpp:192:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand ( time(NULL) + 1); data/coinmp-1.8.4/Cbc/src/CbcHeuristicRandRound.cpp:227:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand ( static_cast<unsigned int>(time(NULL) + 1)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicRandRound.cpp:394:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand ( static_cast<unsigned int>(time(NULL) + 1)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicRandRound.cpp:402:22: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. rp[i] = (random * (cornerPoints[randomIndex][i] - rp[i])) + rp[i]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2691:36: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. int iStart=static_cast<int>(random*numberRows); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2702:34: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. int bias = static_cast<int>(random*(numberIterations/4)); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7740:53: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7888:57: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7958:53: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8124:57: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8177:53: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8535:53: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8587:53: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8673:53: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8721:49: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8800:49: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9124:49: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9233:57: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9895:53: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9934:57: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:365:26: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environment = getenv("cbc_options"); data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:156:4: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random[i]=0.0; data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:158:4: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random[i] = randomGenerator->randomDouble(); data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:163:4: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random[i]=0.0; data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:165:4: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random[i] = CoinDrand48(); data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:175:25: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. value += element[jj]*random[iRow]; data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:213:12: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. if (random[iRow]) { data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:241:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. if (random[iRow]) { data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:370:14: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. if (!random[iRow]) { data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:425:15: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. delete [] random; data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:1463:43: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. int extra = static_cast<int> (9.999 * random); data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:1543:40: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. if (abcFactorization_->pivots() >= random * maxNumber) { data/coinmp-1.8.4/Clp/src/AbcSimplexFactorization.cpp:236:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environ = getenv("CLP_TWIDDLE"); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1243:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environ = getenv("CBC_CLP_ENVIRONMENT"); data/coinmp-1.8.4/Clp/src/ClpFactorization.cpp:1513:28: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environ = getenv("CLP_TWIDDLE"); data/coinmp-1.8.4/Clp/src/ClpPresolve.cpp:376:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv(name)) { data/coinmp-1.8.4/Clp/src/ClpPresolve.cpp:377:26: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. int val = atoi(getenv(name)); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:2228:49: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. int extra = static_cast<int> (9.999 * random); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:2296:11: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. while (random<0.45) data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:2297:6: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. random *= 2.0; data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:2299:43: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. if (factorization_->pivots() >= random * maxNumber) { data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1408:61: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1538:61: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1696:66: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1756:61: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1803:61: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1839:56: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1916:56: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2286:66: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2847:61: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environVar = getenv("HOME"); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:362:26: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * environment = getenv("clp_options"); data/coinmp-1.8.4/CoinUtils/src/CoinAlloc.cpp:103:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* maxpooled = std::getenv("COINUTILS_MEMPOOL_MAXPOOLED"); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:648:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * home_dir = getenv("HOME"); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:798:41: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. inline void CoinSeedRandom(int iseed) { srand(iseed + 69822); } data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:803:38: [3] (random) drand48: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. inline double CoinDrand48() { return drand48(); } data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:1080:14: [3] (random) erand48: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. retVal = erand48(seed_); data/coinmp-1.8.4/CoinUtils/src/CoinPresolveDupcol.cpp:36:13: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. work[i]=random; data/coinmp-1.8.4/CoinUtils/src/CoinPresolveTighten.cpp:206:28: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. static int which = atoi(getenv("WZ")); data/coinmp-1.8.4/CoinUtils/test/CoinModelTest.cpp:33:48: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. void buildRandom(CoinModel & baseModel, double random, double & timeIt, int iPass) data/coinmp-1.8.4/CoinUtils/test/CoinModelTest.cpp:69:9: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. if (random<0.4) { data/coinmp-1.8.4/CoinUtils/test/CoinModelTest.cpp:86:20: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. if (iType==-1&&random<0.8) { data/coinmp-1.8.4/CoinUtils/test/CoinModelTest.cpp:673:28: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. int iSeed = (int) (random*1000000); data/coinmp-1.8.4/Osi/src/Osi/OsiPresolve.cpp:567:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv(name)) { data/coinmp-1.8.4/Osi/src/Osi/OsiPresolve.cpp:568:20: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. int val = atoi(getenv(name)); data/coinmp-1.8.4/Cbc/examples/CbcBranchFollow2.cpp:357:3: [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(rhsx,rhs_,matrix_.getNumRows()*sizeof(int)); data/coinmp-1.8.4/Cbc/examples/CbcBranchLink.cpp:44:7: [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(weights_,weights,numberMembers_*sizeof(double)); data/coinmp-1.8.4/Cbc/examples/CbcBranchLink.cpp:75:7: [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(weights_,weights,numberMembers_*sizeof(double)); data/coinmp-1.8.4/Cbc/examples/CbcSolver2.cpp:275:5: [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(dj,modelPtr_->objective(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/examples/CbcSolver3.cpp:335:7: [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(dj,modelPtr_->objective(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/examples/CbcSolverLongThin.cpp:560:7: [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(dj,modelPtr_->objective(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/examples/cbc_driverC_sos.c:121: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 model_name[256]; data/coinmp-1.8.4/Cbc/examples/cbc_driverC_sos.c:169:9: [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 name[20]; data/coinmp-1.8.4/Cbc/examples/cbc_driverC_sos.c:170:9: [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(name," Row%-4i",iRow); data/coinmp-1.8.4/Cbc/examples/cbc_driverC_sos.c:203:9: [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 name[20]; data/coinmp-1.8.4/Cbc/examples/cbc_driverC_sos.c:204:9: [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(name," Col%-4i",iColumn); data/coinmp-1.8.4/Cbc/examples/cbc_driverC_sos.c:225:3: [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 modelName[80]; data/coinmp-1.8.4/Cbc/examples/lotsize.cpp:88: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). int minutes = atoi(argv[2]); data/coinmp-1.8.4/Cbc/examples/nway.cpp:129: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). int minutes = atoi(argv[2]); data/coinmp-1.8.4/Cbc/examples/parallel.cpp:152:26: [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 ** thisArgv=new char *[thisArgc+2]; data/coinmp-1.8.4/Cbc/examples/qmip.cpp:149: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). int minutes = atoi(argv[2]); data/coinmp-1.8.4/Cbc/examples/sample3.cpp:71: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). value = atoi(x+1); data/coinmp-1.8.4/Cbc/examples/sample3.cpp:73: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). value = atoi(argv[i+1]); data/coinmp-1.8.4/Cbc/examples/sample3.cpp:182: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). int minutes = atoi(argv[2]); data/coinmp-1.8.4/Cbc/examples/sample5.cpp:256: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). int minutes = atoi(argv[2]); data/coinmp-1.8.4/Cbc/examples/sos.cpp:162: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). int minutes = atoi(argv[2]); data/coinmp-1.8.4/Cbc/examples/sudoku.cpp:74: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). FILE * fp = fopen(fileName.c_str(),"r"); data/coinmp-1.8.4/Cbc/examples/sudoku.cpp:82:3: [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[80]; data/coinmp-1.8.4/Cbc/examples/sudoku.cpp:188:3: [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 name[4]; data/coinmp-1.8.4/Cbc/examples/sudoku.cpp:193: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(name,"X%d%d",row,column); data/coinmp-1.8.4/Cbc/examples/sudoku.cpp:195: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(name,"X%d%c",row,'A'+(column-10)); data/coinmp-1.8.4/Cbc/examples/sudoku.cpp:198: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(name,"X%c%d",'A'+(row-10),column); data/coinmp-1.8.4/Cbc/examples/sudoku.cpp:200: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(name,"X%c%c",'A'+(row-10),'A'+(column-10)); data/coinmp-1.8.4/Cbc/src/CbcBranchDynamic.cpp:74:9: [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(temp, history, numberHistory*sizeof(History)); data/coinmp-1.8.4/Cbc/src/CbcBranchDynamic.cpp:639: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). FILE * fp = fopen(file, "w"); data/coinmp-1.8.4/Cbc/src/CbcBranchLotsize.cpp:227:9: [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(bound_, rhs.bound_, (numberRanges_ + 1)*rangeType_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcBranchLotsize.cpp:255:13: [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(bound_, rhs.bound_, (numberRanges_ + 1)*rangeType_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcBranchToFixLots.cpp:58:9: [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(mark_, mark, numberColumns); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:63:9: [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(members_, which, numberMembers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:77:13: [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(type_, type, numberMembers_*sizeof(char)); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:106:9: [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(members_, rhs.members_, numberMembers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:108:9: [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(type_, rhs.type_, numberMembers_*sizeof(char)); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:136:13: [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(members_, rhs.members_, numberMembers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:138:13: [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(type_, rhs.type_, numberMembers_*sizeof(char)); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:722:9: [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(downMask_, rhs.downMask_, numberWords*sizeof(unsigned int)); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:724:9: [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(upMask_, rhs.upMask_, numberWords*sizeof(unsigned int)); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:744:13: [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(downMask_, rhs.downMask_, numberWords*sizeof(unsigned int)); data/coinmp-1.8.4/Cbc/src/CbcClique.cpp:746:13: [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(upMask_, rhs.upMask_, numberWords*sizeof(unsigned int)); data/coinmp-1.8.4/Cbc/src/CbcFathomDynamicProgramming.cpp:373:17: [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(rhs_, temp, numberActive_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcFathomDynamicProgramming.cpp:378:17: [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(numberBits_, temp, numberActive_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcFathomDynamicProgramming.cpp:569:17: [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(betterSolution, lower, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcFixVariable.cpp:60:9: [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(states_, states, numberStates_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcFullNodeInfo.cpp:90:9: [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(lower_, rhs.lower_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcFullNodeInfo.cpp:91:9: [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(upper_, rhs.upper_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcGenMessages.cpp:103:5: [2] (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). Risk is low because the source is a constant string. strcpy(msgs->source_, "CbcG"); data/coinmp-1.8.4/Cbc/src/CbcGenParamUtils.cpp:1401:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "wb") ; data/coinmp-1.8.4/Cbc/src/CbcGenParamUtils.cpp:1446:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "rb") ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:49: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 pMask[100] ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:99:25: [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 ** masks = new char * [maxMasks] ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:100:28: [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 ** newMasks = new char * [maxMasks] ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:121:17: [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(maskOut, oldMask, nBefore) ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:124:17: [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(maskOut + nBefore + i, ast + 1, nAfter) ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:278:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(fileName.c_str(), "w") ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:279:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(fileName.c_str(), "w") ; data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:471: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 printArray[100]; data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:472: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(printArray, "using time of day seed was changed from %d to %d", data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:772: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 generalPrint[LEN_PRINT]; data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:867:29: [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(generalPrint, "Full problem %d rows %d columns, reduced to %d rows %d columns - %d fixed gives %d, %d - still too large", data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:874:29: [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(generalPrint, "Full problem %d rows %d columns, reduced to %d rows %d columns - %d fixed gives %d, %d - ok now", data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:971:17: [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(generalPrint, "Full problem %d rows %d columns, reduced to %d rows %d columns - too large", data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:980:17: [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(generalPrint, "Full problem %d rows %d columns, reduced to %d rows %d columns", data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:1347: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(generalPrint, "Unable to insert previous solution - using cutoff of %g", data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:1478:25: [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(newSolution, solver->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:1595:9: [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(inputSolution_, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:2041:5: [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(newSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:2639:17: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:2653:9: [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(newSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:3050:13: [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(betterSolution, inputSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDINS.cpp:332:13: [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 generalPrint[200]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDINS.cpp:333:13: [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(generalPrint, data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:341:3: [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 dwPrint[200]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:342:3: [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(dwPrint,"Before PASSes objective is %g", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:469: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(dwPrint,"*** %d blocks have no elements in master - can be solved seperately", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:475:3: [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(dwPrint,"With initial best solution %d blocks were same as continuous, %d when just looking at integers", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:504:2: [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(dwPrint,"Pass %d improved objective by %g using %d blocks - ", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:531: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(dwPrint,"Exiting on lack of progress"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:539: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(dwPrint,"Exiting on time or interrupt"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:551:2: [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(dwPrint,"No improvement - think we need more variables "); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:561:2: [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(dwPrint,"No improvement - stopped on nodes - think we need more nodes "); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:587: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(dwPrint,"new needed %d, nodes %d",nNeeded_,nNodes_); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:614:2: [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(bestSolution_,solver->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:619:2: [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(blocks+1,whichBlock,numberBlocksUsed*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:766: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(dwPrint,"Block %d contobj %g intobj %g convdual %g", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:928: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(dwPrint,"freeing block %d (already freed %d times) - dj %g, diff %g, diffint %g - %d columns (%d integer)", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:960: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(dwPrint,"%d big dj blocks found",nBigDjBlock); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:967: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(dwPrint,"Changing phase"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1012: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(dwPrint,"Fixed %d ints, %d c, %d m - free %d, %d, %d", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1061: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(dwPrint,"**** Continuous below best - bad solution passed in?!"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1097: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(dwPrint,"Reduced model has %d rows and %d columns", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1264:4: [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(fixedDj_,solver->getReducedCost(), data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1276:6: [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(bestSolution_,model.bestSolution(), data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1321:5: [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(betterSolution,bestSolution_, data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1359:3: [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 dwPrint[200]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1476: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(dwPrint,"%d master rows %d <= < %d",lastMaster-firstMaster, data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1589:2: [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(dwPrint,"Block %d has %d rows and %d columns (%d elements, %d integers)", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1612:2: [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(dwPrint,"Number of blocks reduced from %d to %d", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1836: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(dwPrint,"Total not affinity %d - average %g%%", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1846: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(dwPrint,"Too many blocks - no affinity"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1862:3: [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 dwPrint[200]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1869:5: [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(weightsT,weights_,numberDW_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1870:5: [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(dwBlockT,dwBlock_,numberDW_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1871:5: [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(fingerT,fingerPrint_, data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1951: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(dwPrint,"block %d nel %d nelInt %d nelInt1 %d - weight %g (%g)", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1963: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(dwPrint,"above looks like duplicate"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:1995: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(dwPrint,"Adding %d proposals with %d elements - out of room", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:2009: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(dwPrint,"Adding %d proposals with %d elements", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:2023:5: [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(objs,objectiveDW_,numberDWTimes_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:2027:5: [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(temp,numberColumnsDW_,numberDWTimes_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:2051:5: [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(bestSolution_,solution,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:2061:3: [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(continuousSolution_,solution,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:2175:3: [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 dwPrint[200]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicDW.cpp:2213:3: [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(dwPrint,"DW model has %d master rows, %d master columns and %d convexity rows", data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:366:5: [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(newSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:374:5: [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(lowerBefore,lower,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:375:5: [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(upperBefore,upper,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:928:9: [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(newSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:962:6: [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(lastDjs,solver->getReducedCost(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:963:6: [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(lowerBefore,lower,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:964:6: [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(upperBefore,upper,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:1151:5: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:1173:3: [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(originalLower,model_->solver()->getColLower(), data/coinmp-1.8.4/Cbc/src/CbcHeuristicDive.cpp:1175:3: [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(originalUpper,model_->solver()->getColUpper(), data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:225: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 pumpPrint[LEN_PRINT]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:382: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(pumpPrint, "Initial state - %d integers unsatisfied sum - %g", data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:590:21: [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(pumpPrint, "Reduced cost fixing fixed %d variables on major pass %d", nFix, numberTries); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:675:13: [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(lastSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:689:9: [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(saveObjective, solver->getObjCoefficients(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:803:13: [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(newSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:832:17: [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(pumpPrint, "Solution found of %g", newSolutionValue); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:853:29: [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(pumpPrint, "Branch and bound needed to clear up %d general integers", numberLeft); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:883:8: [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(newSolution,solver->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:890: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(pumpPrint, "Relaxing continuous gives %g", newSolutionValue); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:895:22: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE * fp = fopen("solution.data2","wb"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:970: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(pumpPrint,"Infeasible when relaxing continuous!\n"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:978:25: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1010:29: [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(pumpPrint, "Cleaned solution of %g", solutionValue); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1018:25: [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(pumpPrint, "Mini branch and bound could not fix general integers"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1024:21: [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(pumpPrint, "After further testing solution no better than previous of %g", solutionValue); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1230:21: [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(newSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1244:25: [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(pumpPrint, "Intermediate solution found of %g", newSolutionValue); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1249:29: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1528:45: [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(roundingSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1612:25: [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(sol, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1696:21: [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(pumpPrint, "Pass %3d: suminf. %10.5f (%d) obj. %g iterations %d", data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1701:21: [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(pumpPrint, "Pass %3d: (%.2f seconds) suminf. %10.5f (%d) obj. %g iterations %d", numberPasses + totalNumberPasses, data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1851:17: [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(pumpPrint, "Rounding solution of %g is better than previous of %g\n", data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1859:13: [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(betterSolution, roundingSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1868:13: [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(pumpPrint, "No solution found this major pass"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1960:17: [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(pumpPrint, "Before mini branch and bound, %d integers at bound fixed and %d continuous", data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1963:21: [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(pumpPrint + strlen(pumpPrint), " of which %d were internal integer and %d internal continuous", data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2000:33: [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(pumpPrint, data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2055:21: [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(pumpPrint, "Mini branch and bound improved solution from %g to %g (%.2f seconds)", data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2060:21: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2166:33: [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(pumpPrint, "Freeing continuous variables gives a solution of %g", value); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2171:33: [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(betterSolution, newSolver->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2175:6: [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(pumpPrint, "On closer inspection solution is not valid"); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2184:21: [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(pumpPrint, "Mini branch and bound did not improve solution (%.2f seconds)", data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2207:33: [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(pumpPrint, "Freeing continuous variables gives a solution of %g", value); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2213:33: [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(betterSolution, newSolver->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2273:13: [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(pumpPrint, "Round again with cutoff of %g", cutoff); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2329:13: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2351:9: [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(pumpPrint, "After %.2f seconds - Feasibility pump exiting - took %.2f seconds", data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2354: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(pumpPrint, "After %.2f seconds - Feasibility pump exiting with objective of %g - took %.2f seconds", data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:2357:9: [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(pumpPrint, "After %.2f seconds - Feasibility pump exiting with objective of %g (stopping after %d solutions) - took %.2f seconds", data/coinmp-1.8.4/Cbc/src/CbcHeuristicGreedy.cpp:355:13: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicGreedy.cpp:790:13: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicGreedy.cpp:1182:7: [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(newSolution,newSolution0,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicGreedy.cpp:1779:13: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:434:5: [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(newSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:911:17: [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(betterSolution, newSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:1200:3: [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 proxPrint[200]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:1222: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(proxPrint,"Proximity search ran %d nodes (out of %d) - in new solution %d increased (%d), %d decreased (%d)", data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:1231: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(proxPrint,"Proximity search ran %d nodes - no new solution", data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:1381:13: [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(betterSolution, newSolver->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:1434:21: [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(betterSolution, newSolution, data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:1507:17: [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(betterSolution, newSolution, data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:1579:5: [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(random_, rhs.random_, 10*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicLocal.cpp:1591:9: [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(random_, rhs.random_, 10*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp:130:2: [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 [200]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp:131:2: [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(line, "Reduced cost fixing fixed %d variables", nFix); data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp:380:6: [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(saveUpper,rowUpper,numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp:438:6: [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[100]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp:587:6: [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[100]; data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp:1015:9: [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(saveLower,colLower,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicRENS.cpp:1016:9: [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(saveUpper,colUpper,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicRINS.cpp:90:13: [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(used_, rhs.used_, numberColumns); data/coinmp-1.8.4/Cbc/src/CbcHeuristicRINS.cpp:127:9: [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(used_, rhs.used_, numberColumns); data/coinmp-1.8.4/Cbc/src/CbcHeuristicVND.cpp:94:13: [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(baseSolution_, rhs.baseSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcHeuristicVND.cpp:134:9: [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(baseSolution_, rhs.baseSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:247:29: [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(gradient, qpTemp.objectiveAsObject()->gradient(&qpTemp, bestSolution_, offset, true, 2), data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:341:9: [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 temp[50]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:342:9: [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(temp, "bb%d", xxxxxx); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1048:17: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1082:21: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1236:17: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1313:21: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1444:13: [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(startNonLinear_, pos, numberNonLinearRows_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1878:13: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1903:17: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2161:13: [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(saveRowSolution, rowActivity, numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2175:21: [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(model.dualRowSolution(), savePi, numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2176:21: [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(model.statusArray(), saveStatus, numberRows + numberColumns); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2193:9: [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(model.primalColumnSolution(), sol2, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2194:9: [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(model.statusArray(), status2, numberColumns); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2340:13: [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(saveSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2341:13: [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(saveRowSolution, rowActivity, numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2342:13: [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(savePi, model.dualRowSolution(), numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2343:13: [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(saveStatus, model.statusArray(), numberRows + numberColumns); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2376:13: [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 temp[20]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2377:13: [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(temp, "pass%d.mps", iPass); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2387:17: [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(solution, safeSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2388:17: [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(saveSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2391:17: [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(saveRowSolution, rowActivity, numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2392:17: [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(model.dualRowSolution(), savePi, numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2393:17: [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(model.statusArray(), saveStatus, numberRows + numberColumns); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2406:17: [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(safeSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2425:13: [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(solution, saveSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2426:13: [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(rowActivity, saveRowSolution, numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2427:13: [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(model.dualRowSolution(), savePi, numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2428:13: [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(model.statusArray(), saveStatus, numberRows + numberColumns); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2443:5: [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(solution, saveSolution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2457:5: [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(model.primalColumnSolution(), sol2, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2458:5: [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(model.statusArray(), status2, numberColumns); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2634:13: [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(gradient, qp->objectiveAsObject()->gradient(qp, solution, offset, true, 2), data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:2917:17: [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(cbcModel->bestSolution(), cbcModel->solver()->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3251:5: [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(bestSolution_, solution, CoinMin(numberColumns, numberColumnsThis)*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3328:13: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3365:17: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3659:21: [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(cbcModel->bestSolution(), cbcModel->solver()->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3774:9: [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(affected_, rhs.affected_, numberAffected_*sizeof(boundElementAction)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3802:13: [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(affected_, rhs.affected_, numberAffected_*sizeof(boundElementAction)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3817:9: [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(temp, affected_, numberAffected_*sizeof(boundElementAction)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3861:9: [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(temp, affected_, numberAffected_*sizeof(boundElementAction)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3946:9: [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(betterSolution, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3996:13: [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(weights_, weights, numberMembers_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:4029:13: [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(weights_, weights, numberMembers_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:5235:5: [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(tempI, extraRow_, numberExtraRows_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:5236:5: [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(tempD, multiplier_, numberExtraRows_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7308:5: [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(modelPtr_->objective(), trueObjective->gradient(modelPtr_, solution, offset, true, 2), data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7731:13: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7766:17: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7824:17: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7874:21: [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 temp[20000]; data/coinmp-1.8.4/Cbc/src/CbcLinkedUtils.cpp:274:13: [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(objective_, rhs.objective_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinkedUtils.cpp:280:13: [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(gradient_, rhs.gradient_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinkedUtils.cpp:319:17: [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(objective_, rhs.objective_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinkedUtils.cpp:325:17: [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(gradient_, rhs.gradient_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcLinkedUtils.cpp:711:5: [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(gradient, lastGradient_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcMessage.cpp:81:5: [2] (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). Risk is low because the source is a constant string. strcpy(source_, "Cbc"); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:37:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen( fileName, "r" ); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:40:4: [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[STR_SIZE]; data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:43:4: [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 printLine[STR_SIZE]; data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:47: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 col[4][STR_SIZE]; data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:75: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( printLine,"MIPStart values read for %d variables.", static_cast<int>(colValues.size()) ); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:126:4: [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 printLine[STR_SIZE]; data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:129:4: [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 colNotFound[256] = ""; data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:240: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( printLine,"MIPStart solution provided values for %d of %d integer variables, %d variables are still fractional.", fixed, lp->getNumIntegers(), static_cast<int>(lp->getFractionalIndices().size()) ); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:254: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( printLine,"Mini branch and bound defined values for remaining variables in %.2f seconds.", data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:270: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( printLine,"Mini branch and bound defined values for remaining variables in %.2f seconds.", data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:296: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( printLine,"MIPStart provided solution with cost %g", compObj); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:488:17: [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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:490:21: [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(general, "%d integer variables out of %d objects (%d integer) have costs - high priority", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:493:21: [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(general, "No integer variables out of %d objects (%d integer) have costs", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:497:21: [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(general, "%d integer variables out of %d objects (%d integer) have cost of %g - high priority", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:503:17: [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(general, "branch on satisfied %c create fake objective %c random cost %c", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2092:4: [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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2093: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(general,"Solution of %g already found by heuristic", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2151:6: [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(bestSolution_, solver_->getColSolution(), n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2774: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 general[100]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2777:2: [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(general,"Multiple root solvers took a total of %.2f seconds\n", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2780:2: [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(general,"Multiple root solvers took a total of %.2f seconds (%.2f elapsed)\n", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2868:5: [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(currentSolution_, solver_->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2962:4: [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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2963: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(general,"Solvers give infeasible bounds on %d %g,%g was %g,%g - search finished\n", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2983: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 printBuffer[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2984: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(printBuffer,"%d solvers added %d different cuts out of pool of %d", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2989: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(printBuffer,"%d bounds were tightened", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:2998: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). FILE * fp = fopen("global.cuts","rb"); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3046:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen("global.fix","rb"); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3074:9: [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 printBuffer[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3075:9: [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(printBuffer,"%d cuts read in of which %d were unique, %d bounds tightened", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3096: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). fp = fopen("global.cuts","r+b"); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3133: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). fp = fopen("global.cuts","wb"); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3157:7: [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(elements,elementByRow+start,n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3158:7: [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(indices,column+start,n*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3193: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). fp = fopen("global.fix","wb"); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3468:9: [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 printBuffer[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3470:13: [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(printBuffer, "Add %g to all Cplex messages for true objective", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:3478:9: [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(printBuffer, "Cplex took %g seconds", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:4153:21: [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(temp, statistics_, numberNodes2_*sizeof(CbcStatistics *)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:4956:2: [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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:4957:2: [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(general, "%d conflict cuts generated - average length %g", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:5328:13: [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(bestSolution_, solver_->getColSolution(), n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:5846:3: [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(newArray,array,oldLength*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:5857:3: [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(newArray,array,oldLength*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:6126:9: [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(originalColumns_, rhs.originalColumns_, numberColumns*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:6169:9: [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(integerVariable_, rhs.integerVariable_, numberIntegers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:6186:9: [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(bestSolution_, rhs.bestSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:6312:13: [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(bestSolution_, rhs.bestSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:6468:13: [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(heuristic_, rhs.heuristic_, data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:6504:13: [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(originalColumns_, rhs.originalColumns_, numberColumns*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:6532:13: [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(integerVariable_, rhs.integerVariable_, data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:7104:5: [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(generator_, temp, numberCutGenerators_*sizeof(CbcCutGenerator *)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:7113:5: [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(virginGenerator_, temp, numberCutGenerators_*sizeof(CbcCutGenerator *)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:7128:5: [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(heuristic_, temp, numberHeuristics_*sizeof(CbcHeuristic *)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:7705:9: [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(temp, whichGenerator_, numberNow*sizeof(int)) ; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:8520:13: [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(oldLower, cbcColLower_, numberColumns*sizeof(double)) ; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:8521:13: [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(oldUpper, cbcColUpper_, numberColumns*sizeof(double)) ; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:10411:17: [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(objective, saveObj, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:10413:17: [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(rowLower, saveRowLower, numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:10415:17: [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(rowUpper, saveRowUpper, numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:10552:9: [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(saveSolution, solver_->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:10554:9: [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(saveLower, solver_->getColLower(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:10555:9: [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(saveUpper, solver_->getColUpper(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:10864:9: [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(temp, integerVariable_, numberIntegers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:10898:13: [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(newModel->originalColumns_, originalColumns_, numberColumns*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:11498:5: [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(object_ + numberIntegers_, oldObject, nObjects*sizeof(OsiObject *)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:12251:9: [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(saveUpper, getColUpper(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:12252:9: [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(saveLower, getColLower(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:12623:13: [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(solution , solver_->getColSolution(), numberColumns*sizeof(double)) ; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:12870:17: [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(saveUpper, solver_->getColUpper(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:12871:17: [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(saveLower, solver_->getColLower(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:13409:9: [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(bestSolution_, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:13414:13: [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(bestSolution_, saveSol, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:13595:5: [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(objective, solver_->getObjCoefficients(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:13697:5: [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(solution, solver->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:13814:21: [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(solution, solver->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:13901:9: [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(currentSolution_, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:14688:4: [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(newModel.objective(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:14691:4: [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(newModel.columnLower(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:14694:4: [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(newModel.columnUpper(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:14732:6: [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(clpSimplex->primalColumnSolution(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:14735:6: [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(clpSimplex->dualColumnSolution(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:14738:6: [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(clpSimplex->primalRowSolution(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:14741:6: [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(clpSimplex->dualRowSolution(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:14744:6: [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(clpSimplex->statusArray(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15408:9: [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 printBuffer[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15410:13: [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(printBuffer, "Warning %d integer variables were more than 1.0e-4 away from integer", numberAway); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15419:17: [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(printBuffer, "Given objective value %g, computed %g", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15449:13: [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(printBuffer, "Solution with objective value %g saved", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15481:5: [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(bestSolution_, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15608:33: [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(newSolution, parameters[i].solution, data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15657:9: [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[100]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15667: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). FILE * fp = fopen("solution.data","rb"); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:15670: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). fp = fopen("solution.data","wb"); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:16007:5: [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(originalColumns_,originalColumns,numberCopy*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:16184:17: [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(currentSolution_, solver_->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:16368:4: [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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:16372: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(general, "fathom took %d nodes, %d iterations - status %d", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:16537:29: [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 printBuffer[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:16538:29: [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(printBuffer, "Add %g to all Cplex messages for true objective", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:17133:29: [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(temp, statistics_, numberNodes2_*sizeof(CbcStatistics *)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:17197:21: [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(temp, statistics_, numberNodes2_*sizeof(CbcStatistics *)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:17675:13: [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(save + 2, solution, n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:17689:5: [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(bestSolution_, solution, n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:17864:5: [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(originalIntegers, integerVariable_, numberIntegers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:18645:9: [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(currentSolution_, solver_->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:18946: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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:18948: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(general,"Starting multiple root solver"); data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:18962: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(general,"Solver did %d iterations in initialSolve\n", data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:18970: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(general,"Ending multiple root solver"); data/coinmp-1.8.4/Cbc/src/CbcNWay.cpp:48:9: [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(members_, which, numberMembers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcNWay.cpp:63:9: [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(members_, rhs.members_, numberMembers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcNWay.cpp:101:13: [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(members_, rhs.members_, numberMembers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcNWay.cpp:295:5: [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(order_, order, number*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcNWay.cpp:305:9: [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(order_, rhs.order_, numberInSet_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcNWay.cpp:322:13: [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(order_, rhs.order_, numberInSet_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:588:5: [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(saveSolution, solver->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:859:21: [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(saveSolution, solver->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:1421:21: [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(saveSolution, solver->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:1423:21: [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(saveLower, solver->getColLower(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:1424:21: [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(saveUpper, solver->getColUpper(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:1733:5: [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(saveSolution, solver->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:2569:4: [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(saveLower,solver->getColLower(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:2570:4: [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(saveUpper,solver->getColUpper(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:2576:4: [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(saveLower,solver->getColLower(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:2577:4: [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(saveUpper,solver->getColUpper(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:2678:4: [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(saveLower,solver->getColLower(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:2679:4: [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(saveUpper,solver->getColUpper(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3050:4: [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(saveLower,solver->getColLower(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3051:4: [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(saveUpper,solver->getColUpper(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3305:4: [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(saveLower,solver->getColLower(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3306:4: [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(saveUpper,solver->getColUpper(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3543:4: [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(saveLower,solver->getColLower(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3544:4: [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(saveUpper,solver->getColUpper(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3706:4: [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(saveLower,solver->getColLower(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3707:4: [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(saveUpper,solver->getColUpper(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3768:4: [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(saveLower,solver->getColLower(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:3769:4: [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(saveUpper,solver->getColUpper(),solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4033: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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4035:2: [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(general,"Strong branching on all %d unsatisfied, %d iterations (depth %d)\n", data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4038:2: [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(general,"Strong branching on all %d unfixed variables (%d unsatisfied), %d iterations (depth %d)\n", data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4244:8: [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(choice->integerSolution,thisSolution,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4463:3: [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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4479: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(general,"Analyze options %d",solveType); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4526:3: [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(saveSolution, solver->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4622: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(general,"Using %d threads in analysis\n",numberThreads); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4768:7: [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(index0+first,index+first,n*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4769:7: [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(weight0+first,weight+first,n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4796: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(general,"%d variables looked at - %d changed by initial strong branching (%.2f seconds - %d iterations)",numberDone,numberToFix,model->getCurrentSeconds()-time1,saveAllowed-numberIterationsAllowed); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4908:3: [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(bestSolution,foundSolution,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5103: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(general,"%d variable bounds modified by initial strong branching (%.2f seconds - %d iterations)",numberToFix,model->getCurrentSeconds()-time1,saveAllowed-numberIterationsAllowed); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5105: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(general,"initial strong branching found to be infeasible (%.2f seconds - %d iterations)",model->getCurrentSeconds()-time1,saveAllowed-numberIterationsAllowed); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5107: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(general,"No variables fixed by initial strong branching (%.2f seconds - %d iterations)",model->getCurrentSeconds()-time1,saveAllowed-numberIterationsAllowed); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5129:3: [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(general,"Looked at %d integer variables - smallest interaction %g", data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5149: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(general+strlen(general),"%d <= %g ",groupCounts[i],groupValue[i]); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5178:3: [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(general,"Strong branching - %d bounds changed, %d zero objective changes and %d nonzero (smallest %g)", data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5185:3: [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(general,"Breakdown "); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5201: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(general+strlen(general),"%d <= %g ",groupCounts[i],groupValue[i]); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5246:5: [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(obj,solver->getObjCoefficients(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5286:5: [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(staticInfo.newObjective,solver->getObjCoefficients(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5316:2: [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(general,"%d variables looked at - %d bounds changed by secondary solves (%.2f seconds - %d iterations)",numberDone,numberBoundsChanged,model->getCurrentSeconds()-time1,saveAllowed-numberIterationsAllowed); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5583: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(general,"%d bounds changed by secondary solves (%.2f seconds - %d iterations)", data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5589: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(general,"No bounds changed by secondary solves (%.2f seconds - %d iterations)", data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5874:5: [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(saveSolution, solver->getColSolution(), solver->getNumCols()*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5990:5: [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(saveSolution, solver->getColSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcNodeInfo.cpp:348:13: [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(temp, cuts_, numberCuts_*sizeof(CbcCountRowCut *)); data/coinmp-1.8.4/Cbc/src/CbcNodeInfo.cpp:394:13: [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(temp, cuts_, numberCuts_*sizeof(CbcCountRowCut *)); data/coinmp-1.8.4/Cbc/src/CbcSOS.cpp:89:9: [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(members_, which, numberMembers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSOS.cpp:91:13: [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(weights_, weights, numberMembers_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSOS.cpp:134:9: [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(members_, rhs.members_, numberMembers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSOS.cpp:135:9: [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(weights_, rhs.weights_, numberMembers_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSOS.cpp:170:13: [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(members_, rhs.members_, numberMembers_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSOS.cpp:171:13: [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(weights_, rhs.weights_, numberMembers_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSimpleInteger.hpp:102:9: [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(down_, bounds, 2*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSimpleInteger.hpp:106:9: [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(up_, bounds, 2*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerDynamicPseudoCost.cpp:52:9: [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(temp, history, numberHistory*sizeof(History)); data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerDynamicPseudoCost.cpp:1592:3: [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(other,otherVariable_,numberOther_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerDynamicPseudoCost.cpp:1595:3: [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(bounds,zeroLowerBound_,numberOther_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerDynamicPseudoCost.cpp:1596:3: [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(bounds+nNew,oneLowerBound_,numberOther_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerDynamicPseudoCost.cpp:1597:3: [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(bounds+2*nNew,zeroUpperBound_,numberOther_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSimpleIntegerDynamicPseudoCost.cpp:1598:3: [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(bounds+3*nNew,oneUpperBound_,numberOther_*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1121:24: [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 ** argv = new char * [n+2]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1373: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 generalPrint[10000]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1382: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 generalPrint[10000]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1394: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). if (equals && atoi(equals + 1) != 0) data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1400: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). if (atoi(argv[i+1]) != 0) data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1475:39: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (equals && atoi(equals + 1) > 0) { data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1477:45: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). info.logLevel = atoi(equals + 1); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1500:61: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (i < info.numberArguments - 1 && atoi(info.arguments[i+1]) > 0) data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1633:21: [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(generalPrint, "Ampl objective offset is %g", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1881: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(generalPrint, data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1887:9: [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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1893:6: [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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1902:17: [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(generalPrint, "command line - "); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1911:21: [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(generalPrint + strlen(generalPrint), "(default strategy 1)"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1925:13: [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 temp [200]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2208:37: [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(generalPrint, "%d columns fixed\n", numberFixed); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2797:41: [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(generalPrint, "Dual of model has %d rows and %d columns", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2822:41: [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(generalPrint, "Doing %d presolve passes - picking up non-costed slacks", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2831:41: [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(generalPrint, "Doing %d presolve passes - picking up costed slacks", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2947:37: [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(model2->primalColumnSolution(), solution, data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3036: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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3038: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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3041: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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3044: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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3081:33: [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 buf[300]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3085:44: [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. pos += sprintf(buf + pos, "optimal," ); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3088:44: [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. pos += sprintf(buf + pos, "infeasible,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3091:44: [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. pos += sprintf(buf + pos, "unbounded,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3093:44: [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. pos += sprintf(buf + pos, "stopped on iterations or time,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3096:44: [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. pos += sprintf(buf + pos, "stopped on difficulties,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3099:44: [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. pos += sprintf(buf + pos, "stopped on ctrl-c,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3102:44: [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. pos += sprintf(buf + pos, "integer infeasible,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3105:44: [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. pos += sprintf(buf + pos, "status unknown,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3110:40: [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. pos += sprintf(buf + pos, " objective %.*g", ampl_obj_prec(), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3112:33: [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(buf + pos, "\n%d iterations", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3144:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3181:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3189: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(generalPrint,"** Analysis indicates model infeasible"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3193:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3207:9: [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(generalPrint, "Matrix converted to +- one matrix"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3210: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(generalPrint, "Matrix can not be converted to +- 1 matrix"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3214: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(generalPrint, "Matrix not a ClpPackedMatrix"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3218:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3232:33: [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(generalPrint, "%d rows eliminated", nOut); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3237:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3252:9: [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(generalPrint, "Matrix converted to network matrix"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3255: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(generalPrint, "Matrix can not be converted to network matrix"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3259: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(generalPrint, "Matrix not a ClpPackedMatrix"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3263:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3357:37: [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 buf[300]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3359:44: [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. pos += sprintf(buf + pos, "feasible,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3362:44: [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. pos += sprintf(buf + pos, " objective %.*g", ampl_obj_prec(), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3364:37: [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(buf + pos, "\n0 iterations"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3606:12: [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(generalPrint, "Problem is infeasible - tightenPrimalBounds!"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3640:49: [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(gradient, qp->objectiveAsObject()->gradient(qp, solution, offset, true, 2), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3744:37: [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(generalPrint, "Continuous objective value is %g - %.2f seconds", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3782: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(generalPrint, "Problem is infeasible - tightenPrimalBounds!"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3888: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(generalPrint, "Problem is infeasible!"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4226:37: [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(info.buffer, "infeasible/unbounded by pre-processing"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4234:41: [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(generalPrint, "Pre-processing says infeasible or unbounded"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4405: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(generalPrint,"Problem has %d integers (%d of which binary) and %d continuous", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4411:9: [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(generalPrint,"%d continuous have nonzero objective, %d have zero objective", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4417: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(generalPrint,"%d integer have nonzero objective, %d have zero objective, %d different nonzero (taking abs)", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4439:6: [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(generalPrint,"%d variables have objective of %g", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4448:9: [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(generalPrint,"%d variables have objective of %g", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4549: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(generalPrint,"Replacing model - %d new variables",numberDifferentObj); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4734:6: [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(generalPrint,"Objective integer added with %d elements and %d Integer slacks added", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4738:6: [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(generalPrint,"Objective integer added with %d elements", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4743:6: [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(generalPrint,"%d Integer slacks added",addSlacks); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4775: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(generalPrint, "Problem is infeasible!"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:4937:8: [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 doAtEnd[30]={}; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:5352:45: [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(newValues, siCopy->getColSolution(), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:5373:33: [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(generalPrint, "mip options %d", mipOptions); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:5412:37: [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(generalPrint, "more mip options %d", moreMipOptions); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:5519:49: [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 newName[15]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:5520:49: [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(newName,"C%7.7d",i); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:5719:45: [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(generalPrint, "%d SOS variables vanished due to pre processing? - check validity?", nMissing); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:5787:53: [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(generalPrint, "%d SOS variables vanished due to pre processing? - check validity?", nMissing); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:5963:53: [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(generalPrint, "%d SOS variables vanished due to pre processing? - check validity?", nMissing); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:6109:49: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE * fp = fopen("user_driver.cpp", "w"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:6135:37: [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(generalPrint, "Testing OsiObject options %d", testOsiOptions); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:6799: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(generalPrint,"Starting %d passes each with %d solvers", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:6805:9: [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(generalPrint,"Starting pass %d",iGo+1); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:6852:9: [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(generalPrint,"Ending major passes - best solution %g",-bestValues[numberSolutions-1]); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:6854:9: [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(generalPrint,"Ending major passes - no solution found"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7074:33: [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(lpSolver->primalColumnSolution(), babModel_->bestSolution(), n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7081:33: [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(generalPrint, "Cuts at root node changed objective from %g to %g", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7092:72: [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. statistics_name_generators = new const char *[numberGenerators]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7093:33: [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 timing[30]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7106:41: [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(timing, " (%.3f seconds)", generator->timeInCutGenerator()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7298:41: [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(generalPrint, "%d bounds tightened after postprocessing\n", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7350:37: [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(bestSolution, babModel_->solver()->getColSolution(), n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7354:37: [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(bestSolution, babModel_->solver()->getColSolution(), n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7410:33: [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(generalPrint, "Restoring heuristic best solution of %g", model_.getMinimizationObjValue()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7421:33: [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(bestSolution, babModel_->solver()->getColSolution(), n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7466:37: [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(lpSolver->primalColumnSolution(), bestSolution, n*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7509: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(generalPrint, data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7513: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(generalPrint, data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7523: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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7529:9: [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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7532:9: [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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7536:9: [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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7539:9: [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(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7560:8: [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 buf[300]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7564:14: [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. pos += sprintf(buf+pos,"optimal," ); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7568:14: [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. pos += sprintf(buf+pos,"infeasible,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7578:18: [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. pos += sprintf(buf+pos,"stopped on difficulties,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7581:18: [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. pos += sprintf(buf+pos,"stopped on ctrl-c,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7583:18: [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. pos += sprintf(buf+pos,"status unknown,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7591:14: [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. pos += sprintf(buf+pos," objective %.*g",precision, data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7594:14: [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. pos += sprintf(buf+pos," objective %g",value); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7596: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(buf+pos,"\n%d nodes, %d iterations, %g seconds", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7628: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(generalPrint, "Model strengthened - now has %d rows", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7646:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7769:42: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(gmplData.c_str(), "r"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7838:52: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "r"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7847: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(generalPrint, "There were %d errors on input",status); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7899:44: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "r"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7969:40: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "w"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7984:37: [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(generalPrint, "Dual of model has %d rows and %d columns", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8045:60: [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. rowNames = new char * [numberRows]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8051:63: [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. columnNames = new char * [numberColumns]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8069: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). FILE *fp = fopen(fileName.c_str(), "w"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8098:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8135:44: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "r"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8157:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8188:40: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "r"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8211:33: [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[1000]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8274:67: [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 ** columnNames = new char * [numberColumns]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8397:63: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). iColumn = atoi(pos); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8420:59: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pri = atoi(pos); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8437:64: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). priValue = atoi(pos); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8515:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8559:29: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8598:40: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "rb"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8640:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8684:40: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "w"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8701:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8732:36: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "wb"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8778: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(generalPrint, "There were errors on output"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8811:36: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "rb"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8829: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(generalPrint, "There were errors on input"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9034:33: [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 buf[300]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9039:48: [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. pos += sprintf(buf + pos, "optimal," ); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9043:48: [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. pos += sprintf(buf + pos, "infeasible,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9053:44: [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. pos += sprintf(buf + pos, "stopped on difficulties,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9056:44: [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. pos += sprintf(buf + pos, "stopped on ctrl-c,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9059:44: [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. pos += sprintf(buf + pos, "integer infeasible,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9062:44: [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. pos += sprintf(buf + pos, "status unknown,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9068:44: [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. pos += sprintf(buf + pos, " objective %.*g", ampl_obj_prec(), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9070:33: [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(buf + pos, "\n%d nodes, %d iterations", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9136:25: [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[1000]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9137:36: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "r"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9148:30: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(fileName.c_str(), "a"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9245: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). fp = fopen(fileName.c_str(), "w"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9247: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). fp = fopen(fileName.c_str(), "a"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9366:9: [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(generalPrint, "All alternative solutions printed"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9372:9: [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(generalPrint, "Alternative solution - %d remaining",model_.numberSavedSolutions()-2); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9390:7: [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(solution,nextBestSolution,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9465:37: [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 pMask[100]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9501:49: [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. masks = new char * [maxMasks]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9502:60: [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 ** newMasks = new char * [maxMasks]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9523:49: [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(maskOut, oldMask, nBefore); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9526:49: [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(maskOut + nBefore + i, ast + 1, nAfter); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9703: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 printFormat[50]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9787:49: [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 temp[100]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9794:53: [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(temp, "%7d", iColumn); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9796:49: [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(temp + strlen(temp), ", %15.8g", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9875:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9908:6: [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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9950: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(generalPrint, "** Current model not valid"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9990: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(generalPrint , data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11032: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). fp = fopen("fake.bnd","w"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11042: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 name[20]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11044: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(name,"block%d.mps",iBlock); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11080:6: [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(name,"block%d.bnd",iBlock); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11081: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). fp = fopen(name,"w"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11721: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). FILE * fp = fopen(fileName, "r"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11726: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[MAXLINES][MAXONELINE]; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11727:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#if defined(_MSC_VER)"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11728:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0// Turn off compiler warning about long names"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11729:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0# pragma warning(disable:4786)"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11730:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#endif\n"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11731:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#include <cassert>"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11732:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#include <iomanip>"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11733:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#include \"OsiClpSolverInterface.hpp\""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11734:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#include \"CbcModel.hpp\""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11735:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#include \"CbcCutGenerator.hpp\""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11736:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#include \"CbcStrategy.hpp\""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11737:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#include \"CglPreProcess.hpp\""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11738:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#include \"CoinTime.hpp\""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11740:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0#include \"CglProbing.hpp\""); // possibly redundant data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11742:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->initialSolve();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11743:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 if (clpModel->tightenPrimalBounds()!=0) {"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11744:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 std::cout<<\"Problem is infeasible - tightenPrimalBounds!\"<<std::endl;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11745:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 exit(1);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11746:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 }"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11747:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 clpModel->dual(); // clean up"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11750:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // compute some things using problem size"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11751:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->setMinimumDrop(CoinMin(5.0e-2,"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11752:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 fabs(cbcModel->getMinimizationObjValue())*1.0e-3+1.0e-4));"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11753:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 if (cbcModel->getNumCols()<500)"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11754:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->setMaximumCutPassesAtRoot(-100); // always do 100 if possible"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11755:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 else if (cbcModel->getNumCols()<5000)"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11756:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->setMaximumCutPassesAtRoot(100); // use minimum drop"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11757:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 else"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11758:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->setMaximumCutPassesAtRoot(20);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11759:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->setMaximumCutPasses(1);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11764:13: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // Preprocessing using CbcStrategy"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11765:13: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 CbcStrategyDefault strategy(1,5,5);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11766:13: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 strategy.setupPreProcessing(1);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11767:13: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->setStrategy(strategy);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11771:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // Hand coded preprocessing"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11772:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 CglPreProcess process;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11773:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 OsiSolverInterface * saveSolver=cbcModel->solver()->clone();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11774:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // Tell solver we are in Branch and Cut"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11775:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 saveSolver->setHintParam(OsiDoInBranchAndCut,true,OsiHintDo) ;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11776:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // Default set of cut generators"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11777:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 CglProbing generator1;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11778:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 generator1.setUsingObjective(1);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11779:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 generator1.setMaxPass(3);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11780:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 generator1.setMaxProbeRoot(saveSolver->getNumCols());"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11781:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 generator1.setMaxElements(100);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11782:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 generator1.setMaxLookRoot(50);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11783:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 generator1.setRowCuts(3);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11784:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // Add in generators"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11785:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 process.addCutGenerator(&generator1);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11786:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 process.messageHandler()->setLogLevel(cbcModel->logLevel());"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11787:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 OsiSolverInterface * solver2 = "); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11788:9: [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(line[numberLines++], "5 process.preProcessNonDefault(*saveSolver,%d,10);", translate[preProcess]); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11789:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // Tell solver we are not in Branch and Cut"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11790:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 saveSolver->setHintParam(OsiDoInBranchAndCut,false,OsiHintDo) ;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11791:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 if (solver2)"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11792:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 solver2->setHintParam(OsiDoInBranchAndCut,false,OsiHintDo) ;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11793:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 if (!solver2) {"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11794:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 std::cout<<\"Pre-processing says infeasible!\"<<std::endl;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11795:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 exit(1);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11796:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 } else {"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11797:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 std::cout<<\"processed model has \"<<solver2->getNumRows()"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11798:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 <<\" rows, \"<<solver2->getNumCols()"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11799:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 <<\" columns and \"<<solver2->getNumElements()"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11800:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 <<\" elements\"<<solver2->getNumElements()<<std::endl;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11801:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 }"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11802:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // we have to keep solver2 so pass clone"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11803:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 solver2 = solver2->clone();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11804:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->assignSolver(solver2);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11805:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->initialSolve();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11813:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0\nint main (int argc, const char *argv[])\n{"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11814:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 OsiClpSolverInterface solver1;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11815:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 int status=1;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11816:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 if (argc<2)"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11817:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 std::cout<<\"Please give file name\"<<std::endl;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11818:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 else"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11819:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 status=solver1.readMps(argv[1],\"\");"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11820:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 if (status) {"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11821:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 std::cout<<\"Bad readMps \"<<argv[1]<<std::endl;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11822:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 exit(1);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11823:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 }\n"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11824:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 double time1 = CoinCpuTime();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11825:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 CbcModel model(solver1);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11826:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 // Now do requested saves and modifications"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11827:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 CbcModel * cbcModel = & model;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11828:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 OsiSolverInterface * osiModel = model.solver();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11829:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 OsiClpSolverInterface * osiclpModel = dynamic_cast< OsiClpSolverInterface*> (osiModel);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11830:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "0 ClpSimplex * clpModel = osiclpModel->getModelPtr();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11832:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "3 // You can save some time by switching off message building"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11833:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "3 // clpModel->messagesPointer()->setDetailMessages(100,10000,(int *) NULL);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11835:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->branchAndBound();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11836:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "8 std::cout<<argv[1]<<\" took \"<<CoinCpuTime()-time1<<\" seconds, \""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11837:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "8 <<cbcModel->getNodeCount()<<\" nodes with objective \""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11838:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "8 <<cbcModel->getObjValue()"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11839:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "8 <<(!cbcModel->status() ? \" Finished\" : \" Not finished\")"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11840:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "8 <<std::endl;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11841:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // For best solution"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11842:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 int numberColumns = solver1.getNumCols();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11843:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 if (cbcModel->getMinimizationObjValue()<1.0e50) {"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11845:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // post process"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11846:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 process.postProcess(*cbcModel->solver());"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11847:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // Solution now back in saveSolver"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11848:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 cbcModel->assignSolver(saveSolver);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11849:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 memcpy(cbcModel->bestSolution(),cbcModel->solver()->getColSolution(),"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11850:9: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 numberColumns*sizeof(double));"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11852:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // put back in original solver"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11853:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 solver1.setColSolution(cbcModel->bestSolution());"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11854:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 const double * solution = solver1.getColSolution();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11855:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "8 \n // Now you would use solution etc etc\n"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11857:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 // Get names from solver1 (as OsiSolverInterface may lose)"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11858:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 std::vector<std::string> columnNames = *solver1.getModelPtr()->columnNames();"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11859:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 "); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11860:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 int iColumn;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11861:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 std::cout<<std::setiosflags(std::ios::fixed|std::ios::showpoint)<<std::setw(14);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11862:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 "); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11863:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 std::cout<<\"--------------------------------------\"<<std::endl;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11864:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 for (iColumn=0;iColumn<numberColumns;iColumn++) {"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11865:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 double value=solution[iColumn];"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11866:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 if (fabs(value)>1.0e-7&&solver1.isInteger(iColumn)) "); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11867:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 std::cout<<std::setw(6)<<iColumn<<\" \""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11868:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 <<columnNames[iColumn]<<\" \""); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11869:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 <<value<<std::endl;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11870:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 }"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11871:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 std::cout<<\"--------------------------------------\"<<std::endl;"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11872:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 "); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11873:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 std::cout<<std::resetiosflags(std::ios::fixed|std::ios::showpoint|std::ios::scientific);"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11874:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "5 }"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11875:5: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines++], "8 return 0;\n}"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11876: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). fp = fopen(fileName, "w"); data/coinmp-1.8.4/Cbc/src/CbcSolverAnalyze.cpp:35: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 generalPrint[200]; data/coinmp-1.8.4/Cbc/src/CbcSolverAnalyze.cpp:317:17: [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(generalPrint, "Cutoff increment increased from %g to %g", increment, increment2); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:166:17: [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(columnLower, saveLB, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:167:17: [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(columnUpper, saveUB, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:594:17: [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[50]; data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:598:29: [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, " == zero "); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:600:29: [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, "> %6d and <= %6d ", check[i-1], check[i]); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:602:29: [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, "> %6d ", check[i-1]); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:673:21: [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(columnLower, saveColumnLower, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:674:21: [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(columnUpper, saveColumnUpper, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:691:21: [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(columnLower, saveColumnLower, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:692:21: [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(columnUpper, saveColumnUpper, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:983:13: [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(columnLower, originalColumnLower, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:984:13: [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(columnUpper, originalColumnUpper, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1119:9: [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(originalLpSolver->statusArray(), lpSolver->statusArray(), numberRows + numberColumns); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1120:9: [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(originalLpSolver->primalColumnSolution(), lpSolver->primalColumnSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1121:9: [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(originalLpSolver->primalRowSolution(), lpSolver->primalRowSolution(), numberRows*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1152: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 generalPrint[10000]; data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1227:21: [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(generalPrint, "Initial weight for objective %g, decay factor %g", data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1245:21: [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(generalPrint, "Fake cutoff of %g", cutoff); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1274:25: [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(generalPrint, "Fixing if same for %d passes", data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1286:25: [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(generalPrint, "Accumulate of %d", accumulate); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1308:25: [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(generalPrint, "Absolute increment of %g", increment); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1310:25: [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(generalPrint, "Relative increment of %g", -increment); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1315:21: [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(generalPrint, "%d retries", r + 1); data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1324:21: [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(generalPrint, "Feasibility pump options of %d", data/coinmp-1.8.4/Cbc/src/CbcSolverHeuristics.cpp:1336:17: [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(generalPrint, "Tuning (fixing) %d", pumpTune % 10); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:112:3: [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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:124: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(general,"Orbital branching tried %d times, succeeded %d times - average extra %7.3f, fixing %d times (%d, %7.3f)", data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:136:2: [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 (general,"Nauty: %d orbits (%d useful covering %d variables), %d generators, group size: %g - dense size %d, sparse %d - took %g seconds", data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:143: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(general,"Nauty did not find any useful orbits in time %g",nautyTime_); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:145: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(general,"Nauty did not find any useful orbits - but keeping Nauty on"); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:149: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(general,"Nauty failed with error code %d (%g seconds)", data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:800:5: [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(GSparse_->v,v,n_*sizeof(size_t)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:801:5: [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(GSparse_->d,d,n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:802:5: [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(GSparse_->e,e,nel_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:910:5: [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(G_, rhs.G_, m_*n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:912:5: [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(GSparse_->v,rhs.GSparse_->v,n_*sizeof(size_t)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:913:5: [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(GSparse_->d,rhs.GSparse_->d,n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:914:5: [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(GSparse_->e,rhs.GSparse_->e,nel_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:916:3: [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(lab_, rhs.lab_, n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:917:3: [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(ptn_, rhs.ptn_, n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:918:3: [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(orbits_, rhs.orbits_, n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:919:3: [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(workspace_, rhs.workspace_, worksize_*sizeof(setword)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:921:3: [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(options_, rhs.options_, MULTIPLIER * sizeof(optionblk)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:922:3: [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(stats_, rhs.stats_, MULTIPLIER * sizeof(statsblk)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:924:3: [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(options_, rhs.options_,MULTIPLIER * sizeof(TracesOptions)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:925:3: [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(stats_, rhs.stats_, MULTIPLIER * sizeof(TracesStats)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:927:3: [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(vstat_,rhs.vstat_,n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:988:2: [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(G_, rhs.G_, m_*n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:990:2: [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(GSparse_->v,rhs.GSparse_->v,n_*sizeof(size_t)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:991:2: [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(GSparse_->d,rhs.GSparse_->d,n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:992:2: [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(GSparse_->e,rhs.GSparse_->e,nel_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:994:7: [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(lab_, rhs.lab_, n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:995:7: [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(ptn_, rhs.ptn_, n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:996:7: [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(orbits_, rhs.orbits_, n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:997:7: [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(workspace_, rhs.workspace_, worksize_*sizeof(setword)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:999:7: [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(options_, rhs.options_, MULTIPLIER * sizeof(optionblk)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:1000:7: [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(stats_, rhs.stats_, MULTIPLIER * sizeof(statsblk)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:1002:7: [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(options_, rhs.options_,MULTIPLIER * sizeof(TracesOptions)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:1003:7: [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(stats_, rhs.stats_, MULTIPLIER * sizeof(TracesStats)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:1005:7: [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(vstat_,rhs.vstat_,n_*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:1172:3: [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(v, vstat_, nv * sizeof(VarStatus)); data/coinmp-1.8.4/Cbc/src/CbcSymmetry.cpp:1230: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). afp_ = fopen(fname.c_str(), "w"); data/coinmp-1.8.4/Cbc/src/CbcThread.cpp:1097:17: [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 general[200]; data/coinmp-1.8.4/Cbc/src/CbcThread.cpp:1098:17: [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(general, "Changing tree size from %d to %d", data/coinmp-1.8.4/Cbc/src/CbcThread.cpp:1329:13: [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(otherModel->bestSolution_, bestSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcThread.cpp:1353:13: [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(otherModel->usedInSolution_, usedInSolution_, numberColumns*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcThread.cpp:1453:4: [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(bestSolution_,baseModel->bestSolution_, data/coinmp-1.8.4/Cbc/src/CbcThread.cpp:1660:9: [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(usedInSolution_, baseModel->usedInSolution_, solver_->getNumCols()*sizeof(int)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:168:17: [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(savedSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:225:9: [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(originalLower_, rhs.originalLower_, numberIntegers*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:227:9: [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(originalUpper_, rhs.originalUpper_, numberIntegers*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:235:9: [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(bestSolution_, rhs.bestSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:242:9: [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(savedSolution_, rhs.savedSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:283:13: [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(originalLower_, rhs.originalLower_, numberIntegers*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:285:13: [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(originalUpper_, rhs.originalUpper_, numberIntegers*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:294:13: [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(bestSolution_, rhs.bestSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:302:13: [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(savedSolution_, rhs.savedSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:322:5: [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(savedSolution_, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:435:13: [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(bestSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:467:13: [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(savedSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:543:29: [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(model_->bestSolution(), subModel->bestSolution(), data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:562:33: [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(model_->bestSolution(), subModel->bestSolution(), data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:578:25: [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(bestSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:596:9: [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(savedSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:679:13: [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(model_->bestSolution(), bestSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1042:17: [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(savedSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1099:9: [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(originalLower_, rhs.originalLower_, numberIntegers*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1101:9: [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(originalUpper_, rhs.originalUpper_, numberIntegers*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1109:9: [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(bestSolution_, rhs.bestSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1116:9: [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(savedSolution_, rhs.savedSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1157:13: [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(originalLower_, rhs.originalLower_, numberIntegers*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1159:13: [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(originalUpper_, rhs.originalUpper_, numberIntegers*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1168:13: [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(bestSolution_, rhs.bestSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1176:13: [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(savedSolution_, rhs.savedSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1196:5: [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(savedSolution_, solution, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1309:13: [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(bestSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1341:13: [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(savedSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1417:29: [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(model_->bestSolution(), subModel->bestSolution(), data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1436:33: [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(model_->bestSolution(), subModel->bestSolution(), data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1452:25: [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(bestSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1470:9: [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(savedSolution_, model_->bestSolution(), numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/CbcTreeLocal.cpp:1553:13: [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(model_->bestSolution(), bestSolution_, numberColumns*sizeof(double)); data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.cpp:182:9: [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 * vString[200]; data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.cpp:886:17: [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 name[20]; data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.cpp:888:17: [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(name, "ROW%5i", iRow); data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.cpp:928:17: [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 name[20]; data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.cpp:930:17: [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(name, "COL%5i", iColumn); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:60:8: [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. static char algFound[20] = ""; data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:123:8: [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. static char xxxxxx[20]; data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:366: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 tempBuffer[20]; data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:373: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 fileName[1000]; data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:383: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). if (equals && atoi(equals + 1) >= 10 && atoi(equals + 1) <= 20) { data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:383:53: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (equals && atoi(equals + 1) >= 10 && atoi(equals + 1) <= 20) { data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:384:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nonLinearType = atoi(equals + 1); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:451:17: [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(info->sosPriority, sospri, nsos*sizeof(int)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:452:17: [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(info->sosStart, sosbeg, (nsos + 1)*sizeof(int)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:453:17: [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(info->sosIndices, sosind, nsosnz*sizeof(int)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:454:17: [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(info->sosReference, sosref, nsosnz*sizeof(double)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:517:13: [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(info->primalSolution, X0, n_var*sizeof(double)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:542:13: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(fileName, ".nl"); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:707: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 buf[1000]; data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:916:17: [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(info->sosPriority, sospri, nsos*sizeof(int)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:917:17: [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(info->sosStart, sosbeg, (nsos + 1)*sizeof(int)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:918:17: [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(info->sosIndices, sosind, nsosnz*sizeof(int)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:919:17: [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(info->sosReference, sosref, nsosnz*sizeof(double)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:971:13: [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( primalSolution, X0, n_var*sizeof(double)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1330:9: [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 name[9]; data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1331:9: [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(name, "r%7.7d", iRow); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1336:9: [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 name[9]; data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1337:9: [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(name, "c%7.7d", iColumn); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1384:29: [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 temp2[30]; data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1386:33: [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(temp2, "c%7.7d", kColumn); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1388:33: [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(temp2, "%g*c%7.7d", value, kColumn); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1428:29: [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 temp2[30]; data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1430:33: [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(temp2, "c%7.7d", kColumn); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1432:33: [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(temp2, "%g*c%7.7d", value, kColumn); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1489:13: [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(prioritySOS_, sospri, nsos*sizeof(int)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1490:13: [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(startSOS_, sosbeg, (nsos + 1)*sizeof(int)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1491:13: [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(memberSOS_, sosind, nsosnz*sizeof(int)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1492:13: [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(referenceSOS_, sosref, nsosnz*sizeof(double)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.h:47: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 buffer[300]; data/coinmp-1.8.4/Cbc/src/unitTest.cpp:56: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). fp = fopen(test1.c_str(), "r"); data/coinmp-1.8.4/Cbc/src/unitTest.cpp:64: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). fp = fopen(test1.c_str(), "r"); data/coinmp-1.8.4/Cbc/src/unitTestClp.cpp:42:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(name.c_str(), "r"); data/coinmp-1.8.4/Cbc/test/OsiCbcSolverInterfaceTest.cpp:704:9: [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 temp[100]; data/coinmp-1.8.4/Cbc/test/OsiCbcSolverInterfaceTest.cpp:705:9: [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(temp,"%g + abs(%g*multiplier)",value,value); data/coinmp-1.8.4/Cbc/test/OsiCbcSolverInterfaceTest.cpp:727:13: [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 temp[100]; data/coinmp-1.8.4/Cbc/test/OsiCbcSolverInterfaceTest.cpp:728:13: [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(temp,"%g + (1.5*%g*multiplier)",triple.value(), triple.value()); data/coinmp-1.8.4/Cgl/examples/cgl_data_test.cpp:17:3: [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 *f_name_lp, *last_dot_pos, f_name[256], *f_name_pos; data/coinmp-1.8.4/Cgl/src/CglClique/CglClique.cpp:881:7: [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(siSimplex->primalColumnSolution(), data/coinmp-1.8.4/Cgl/src/CglClique/CglCliqueTest.cpp: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). FILE *in_f = fopen(fn2.c_str(), "r"); data/coinmp-1.8.4/Cgl/src/CglDuplicateRow/CglDuplicateRow.cpp:2231:3: [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(duplicate_,temp,numberRows*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglFlowCover/CglFlowCoverTest.cpp: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). FILE *in_f = fopen(fn2.c_str(), "r"); data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomory.cpp:122:7: [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(simplex->columnLower(),colLower,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomory.cpp:123:7: [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(simplex->columnUpper(),colUpper,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomory.cpp:222:7: [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(simplex->primalColumnSolution(),si.getColSolution(), data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomory.cpp:289:5: [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(simplex->objective(),objective,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomoryTest.cpp:72: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 intVar[7]={2,2,2,2,2,2,2}; data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomoryTest.cpp:289: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 intVar[7]={2,2,2,2,2,2,2}; data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomoryTest.cpp:506: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 intVar[2]={2,2}; data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomoryTest.cpp:717: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 intVar[2]={2,2}; data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomoryTest.cpp:933: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 intVar[7]={2,0,0,0,0,0,0}; data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomoryTest.cpp:1071: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 intVar[7]={2,0,0,0,0,0,0}; data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomoryTest.cpp:1209: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 intVar[2]={2,0}; data/coinmp-1.8.4/Cgl/src/CglGomory/CglGomoryTest.cpp:1342: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 intVar[2]={2,0}; data/coinmp-1.8.4/Cgl/src/CglKnapsackCover/CglKnapsackCover.cpp:333:7: [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(thisColumnIndex,column+rowStart[rowIndex],length*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglKnapsackCover/CglKnapsackCover.cpp:334:7: [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(thisElement,elementByRow+rowStart[rowIndex], data/coinmp-1.8.4/Cgl/src/CglKnapsackCover/CglKnapsackCover.cpp:748:3: [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(thisColumnIndex,column+rowStart[rowIndex], data/coinmp-1.8.4/Cgl/src/CglKnapsackCover/CglKnapsackCover.cpp:750:3: [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(thisElement,elementByRow+rowStart[rowIndex], data/coinmp-1.8.4/Cgl/src/CglKnapsackCover/CglKnapsackCoverTest.cpp:540: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). FILE * fp = fopen("knapsack.debug","r"); data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandP.cpp:34:5: [2] (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). Risk is low because the source is a constant string. strcpy(source_,"Lap"); data/coinmp-1.8.4/Cgl/src/CglLandP/CglLandPMessages.cpp:39:5: [2] (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). Risk is low because the source is a constant string. strcpy(source_,"Lap"); data/coinmp-1.8.4/Cgl/src/CglMessage.cpp:41:3: [2] (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). Risk is low because the source is a constant string. strcpy(source_,"Cgl"); data/coinmp-1.8.4/Cgl/src/CglMixedIntegerRounding/CglMixedIntegerRoundingTest.cpp: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). FILE *in_f = fopen(fn2.c_str(), "r"); data/coinmp-1.8.4/Cgl/src/CglMixedIntegerRounding2/CglMixedIntegerRounding2Test.cpp: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). FILE *in_f = fopen(fn2.c_str(), "r"); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:57:5: [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(checkRow,suitableRows_,CoinMin(nRows,numberRows_)*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:62:3: [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(solution,si.getColSolution(),nCols*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:617:5: [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(suitableRows_,possible,nRows*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:664:3: [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(suitableRows_,whichRow,numberRows*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:674:3: [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(startClique_,cliqueStart,(numberCliques_+1)*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:677:3: [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(member_,cliqueMember,length*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:724:5: [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(suitableRows_,source.suitableRows_,numberRows_*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:732:5: [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(startClique_,source.startClique_,(numberCliques_+1)*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:735:5: [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(member_,source.member_,length*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:780:5: [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(suitableRows_,rhs.suitableRows_,numberRows_*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:787:7: [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(startClique_,rhs.startClique_,(numberCliques_+1)*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglOddHole/CglOddHole.cpp:790:7: [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(member_,rhs.member_,length*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp: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 nameMps[50]; data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:849:7: [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(best,current,nSet*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:929:6: [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(whichCol,startCC,nColB*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:1076:3: [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 name[20]; data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:1077:3: [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(name,"presolve%2.2d.mps",mpsNumber); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:1451:2: [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(newSolution,startModel_->getColSolution(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:1852:7: [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(temp,prohibited_,numberProhibited_); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:2230:7: [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(generator_+nAdd,temp,numberCutGenerators_*sizeof(CglCutGenerator *)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:2990:3: [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(newLower,colLower,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:2992:3: [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(newUpper,colUpper,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:2994:3: [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(columnLower,colLower,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:2996:3: [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(columnUpper,colUpper,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:3517: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(nameMps,"start_%d",whichMps); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:3706: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(nameMps,"bad2_%d",whichMps); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:3723:2: [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(nameMps,"good2_%d",whichMps); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:4025: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(nameMps,"bad3_%d",whichMps); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:4185:14: [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. unsigned char result[2*TRIPLE_ROWS][2*TRIPLE_ROWS]; data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:4246:4: [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 generalPrint[100]; data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:4247: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(generalPrint,"%d input bounds %g %g", data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:6432:3: [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(generator_,temp,numberCutGenerators_*sizeof(CglCutGenerator *)); data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:6526:5: [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(originalColumn_,presolve_[iPass]->originalColumns(), data/coinmp-1.8.4/Cgl/src/CglPreProcess/CglPreProcess.cpp:6528:5: [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(originalRow_,presolve_[iPass]->originalRows(), data/coinmp-1.8.4/Cgl/src/CglProbing/CglProbing.cpp:2913:5: [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(colLower,trueLower,nCols*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglProbing/CglProbing.cpp:2914:5: [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(colUpper,trueUpper,nCols*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglProbing/CglProbing.cpp:3275:4: [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(lookedAt_+maxProbe,stackC,k*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglProbing/CglProbing.cpp:3301:4: [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(lookedAt_+maxProbe,stackC,k*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglRedSplit/CglRedSplitTest.cpp:77: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). FILE *in_f = fopen(fn2.c_str(), "r"); data/coinmp-1.8.4/Cgl/src/CglRedSplit2/CglRedSplit2.cpp:716:7: [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(workNonBasicTab[i], contNonBasicTab[i], data/coinmp-1.8.4/Cgl/src/CglRedSplit2/CglRedSplit2.cpp:2132:2: [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(lambda + (i*nrow), bufflambda + (quality[i].index*nrow), data/coinmp-1.8.4/Cgl/src/CglRedSplit2/CglRedSplit2Test.cpp:60: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). FILE *in_f = fopen(fn2.c_str(), "r"); data/coinmp-1.8.4/Cgl/src/CglResidualCapacity/CglResidualCapacityTest.cpp:62: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). FILE *in_f = fopen(fn2.c_str(), "r"); data/coinmp-1.8.4/Cgl/src/CglStored.cpp:278: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). FILE * fp = fopen(fileName,"rb"); data/coinmp-1.8.4/Cgl/src/CglStored.cpp:380:5: [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(bestSolution_,bestSolution,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglStored.cpp:386:3: [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(bounds_,lower,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglStored.cpp:387:3: [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(bounds_+numberColumns_,upper,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:137:5: [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(fixEntry_,rhs.fixEntry_,maximumEntries_*sizeof(CliqueEntry)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:175:7: [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(fixEntry_,rhs.fixEntry_,maximumEntries_*sizeof(CliqueEntry)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:452:2: [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(entryC+nel,entry+cliqueStart[kClique],nn*sizeof(CliqueEntry)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:465:2: [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(entryC+nel,entry+cliqueStart[kClique],nn*sizeof(CliqueEntry)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:656:7: [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(entry+numberEntries,entries,numberExtraEntries*sizeof(CliqueEntry)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1001:6: [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(temp,entry,numberEntries*sizeof(CliqueEntry)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1005:6: [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(tempI,whichClique,numberEntries*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1012:6: [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(temp,cliqueStart,(numberCliques+1)*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1016:6: [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(tempT,cliqueType,numberCliques); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1090:6: [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(temp,entry,numberEntries*sizeof(CliqueEntry)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1094:6: [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(tempI,whichClique,numberEntries*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1101:6: [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(temp,cliqueStart,(numberCliques+1)*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1105:6: [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(tempT,cliqueType,numberCliques); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1237:5: [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(temp1,fixEntry_,numberEntries_*sizeof(CliqueEntry)); data/coinmp-1.8.4/Cgl/src/CglTreeInfo.cpp:1241:5: [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(temp2,fixingEntry_,numberEntries_*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.cpp:144:7: [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(simplex->columnLower(),colLower,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.cpp:145:7: [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(simplex->columnUpper(),colUpper,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.cpp:256:7: [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(simplex->primalColumnSolution(),si.getColSolution(), data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.cpp:438:5: [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(simplex->objective(),objective,numberColumns*sizeof(double)); data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.cpp:1128:3: [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(nc->coeff, c->coeff, sizeof(double)*nc->nz); data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomir.cpp:1129:3: [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(nc->index, c->index, sizeof(int)*nc->nz); data/coinmp-1.8.4/Cgl/src/CglTwomir/CglTwomirTest.cpp:60: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). FILE *in_f = fopen(fn2.c_str(), "r"); data/coinmp-1.8.4/Cgl/src/CglZeroHalf/CglZeroHalf.cpp:465:4: [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(mtind_+mnz_,mtind_+mnz_-k,k*sizeof(int)); data/coinmp-1.8.4/Cgl/src/CglZeroHalf/CglZeroHalf.cpp:466:4: [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(mtval_+mnz_,mtval_+mnz_-k,k*sizeof(int)); data/coinmp-1.8.4/Clp/examples/addBits.cpp:129:16: [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 temp[100]; data/coinmp-1.8.4/Clp/examples/addBits.cpp:130:16: [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(temp, "%g + abs(%g*multiplier)", value, value); data/coinmp-1.8.4/Clp/examples/addBits.cpp:152:26: [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 temp[100]; data/coinmp-1.8.4/Clp/examples/addBits.cpp:153:26: [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(temp, "%g + (1.5*%g*multiplier)", triple.value(), triple.value()); data/coinmp-1.8.4/Clp/examples/decomp3.cpp:20: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). maxBlocks = atoi(argv[2]); data/coinmp-1.8.4/Clp/examples/decompose.cpp:314:16: [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(saveObj, objective2, numberColumns2 * sizeof(double)); data/coinmp-1.8.4/Clp/examples/decompose.cpp:326:16: [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(objective2, saveObj, numberColumns2 * sizeof(double)); data/coinmp-1.8.4/Clp/examples/driverC.c:71:11: [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 modelName[80]; data/coinmp-1.8.4/Clp/examples/driverC.c:118:21: [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 name[20]; data/coinmp-1.8.4/Clp/examples/ekk_interface.cpp:45:6: [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(clpSolution, rowSolution, numberRows * sizeof(double)); data/coinmp-1.8.4/Clp/examples/ekk_interface.cpp:83:6: [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(clpSolution, columnSolution, numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/ekk_interface.cpp:179:6: [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(rowSolution, clp->primalRowSolution(), numberRows * sizeof(double)); data/coinmp-1.8.4/Clp/examples/ekk_interface.cpp:180:6: [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(rowDual, clp->dualRowSolution(), numberRows * sizeof(double)); data/coinmp-1.8.4/Clp/examples/ekk_interface.cpp:189:6: [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(columnSolution, clp->primalColumnSolution(), data/coinmp-1.8.4/Clp/examples/ekk_interface.cpp:191:6: [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(columnDual, clp->dualColumnSolution(), numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/hello.cpp:41:6: [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 x[81]; data/coinmp-1.8.4/Clp/examples/network.cpp:28:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(argv[1], "r"); data/coinmp-1.8.4/Clp/examples/network.cpp:34:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen("input.130", "r"); data/coinmp-1.8.4/Clp/examples/network.cpp:41:6: [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 temp[100]; data/coinmp-1.8.4/Clp/examples/pdco.cpp:31: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). FILE *fpin = fopen("./g.tiny", "r"); data/coinmp-1.8.4/Clp/examples/pdco.cpp:32: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). FILE *fpp = fopen("./gparm.tiny", "r"); data/coinmp-1.8.4/Clp/examples/piece.cpp:68:6: [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(rowLower2, rowLower1, numberRows * sizeof(double)); data/coinmp-1.8.4/Clp/examples/piece.cpp:69:6: [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(rowUpper2, rowUpper1, numberRows * sizeof(double)); data/coinmp-1.8.4/Clp/examples/piece.cpp:227:6: [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(model.primalColumnSolution(), newSolution, numberColumns2 * sizeof(double)); data/coinmp-1.8.4/Clp/examples/piece.cpp:235:6: [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(saveSol, solution, numberColumns2 * sizeof(double)); data/coinmp-1.8.4/Clp/examples/sprint.cpp:179:11: [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(model.primalRowSolution(), small.primalRowSolution(), data/coinmp-1.8.4/Clp/examples/sprint.cpp:190:16: [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(weight, model.objective(), numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/sprint2.cpp:38:6: [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(saveLower, columnLower, numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/sprint2.cpp:40:6: [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(saveUpper, columnUpper, numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/sprint2.cpp:55:6: [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(saveObj, obj, numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/sprint2.cpp:58:6: [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(obj, saveObj, numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/sprint2.cpp:121:11: [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(columnLower, saveLower, numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/sprint2.cpp:122:11: [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(columnUpper, saveUpper, numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/testBasis.cpp:75:6: [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(model.primalColumnSolution(), model2.primalColumnSolution(), data/coinmp-1.8.4/Clp/examples/testBasis.cpp:77:6: [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(model.primalRowSolution(), model2.primalRowSolution(), data/coinmp-1.8.4/Clp/examples/testGub.cpp:37: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). maxFactor = atoi(argv[2]); data/coinmp-1.8.4/Clp/examples/testGub.cpp:168:11: [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(gubEnd, temp1, numberGub * sizeof(int)); data/coinmp-1.8.4/Clp/examples/testGub.cpp:175:11: [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(lower, temp2, numberGub * sizeof(double)); data/coinmp-1.8.4/Clp/examples/testGub.cpp:180:11: [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(upper, temp2, numberGub * sizeof(double)); data/coinmp-1.8.4/Clp/examples/testGub.cpp:279:16: [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(model3.statusArray(), model2.statusArray(), data/coinmp-1.8.4/Clp/examples/testGub.cpp:297:16: [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(model3.statusArray(), model2.statusArray(), data/coinmp-1.8.4/Clp/examples/testGub.cpp:417: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). FILE * fp = fopen("xx.sol", "w"); data/coinmp-1.8.4/Clp/examples/testGub2.cpp:33: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). maxFactor = atoi(argv[2]); data/coinmp-1.8.4/Clp/examples/testGub2.cpp:37: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). maxIts = atoi(argv[3]); data/coinmp-1.8.4/Clp/examples/testGub2.cpp:182:11: [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(gubEnd + putGub, temp1, numberGub * sizeof(int)); data/coinmp-1.8.4/Clp/examples/testGub2.cpp:189:11: [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(lower + putGub, temp2, numberGub * sizeof(double)); data/coinmp-1.8.4/Clp/examples/testGub2.cpp:194:11: [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(upper + putGub, temp2, numberGub * sizeof(double)); data/coinmp-1.8.4/Clp/examples/testGub2.cpp:338:16: [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(keyVariable, gubMatrix->keyVariable(), numberSets * sizeof(int)); data/coinmp-1.8.4/Clp/examples/testGub2.cpp:358: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). FILE * fp = fopen("xx.sol", "w"); data/coinmp-1.8.4/Clp/examples/testQP.cpp:121:16: [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(gradient, quadraticObj->linearObjective(), numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/useVolume.cpp:228: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). FILE* infile = fopen("parameters", "r"); data/coinmp-1.8.4/Clp/examples/useVolume.cpp:248:6: [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(volprob.dsol.v, pi, dsize * sizeof(double)); data/coinmp-1.8.4/Clp/examples/useVolume.cpp:255:6: [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(pi, volprob.dsol.v, numberRows * sizeof(double)); data/coinmp-1.8.4/Clp/examples/useVolume.cpp:259:6: [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(saveObj, model.objective(), numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/examples/useVolume.cpp:260:6: [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(model.dualColumnSolution(), model.objective(), data/coinmp-1.8.4/Clp/examples/useVolume.cpp:263:6: [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(model.objective(), model.dualColumnSolution(), data/coinmp-1.8.4/Clp/examples/useVolume.cpp:287:6: [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(model.objective(), saveObj, numberColumns * sizeof(double)); data/coinmp-1.8.4/Clp/src/AbcDualRowSteepest.cpp:1161:2: [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[100]; data/coinmp-1.8.4/Clp/src/AbcDualRowSteepest.cpp:1164: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(line,"Steep initial basis has %d structurals out of %d - initializing norms\n",numberRows-numberBasicSlacks,numberRows); data/coinmp-1.8.4/Clp/src/AbcDualRowSteepest.cpp:1167: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(line,"Steep initial basis has %d structurals out of %d - too many\n",numberRows-numberBasicSlacks,numberRows); data/coinmp-1.8.4/Clp/src/AbcDualRowSteepest.cpp:1292:2: [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(w,weights,numberRows*sizeof(double)); data/coinmp-1.8.4/Clp/src/AbcDualRowSteepest.cpp:1293:2: [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(s,pivotVariable,numberRows*sizeof(int)); data/coinmp-1.8.4/Clp/src/AbcMatrix.cpp:102:5: [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(countStart_,rhs.countStart_,reinterpret_cast<char *>(&countRealColumn_)- data/coinmp-1.8.4/Clp/src/AbcMatrix.cpp:251:7: [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(countStart_,rhs.countStart_,reinterpret_cast<char *>(&countRealColumn_)- data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:470:14: [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. unsigned char lookupToAbcSlack[6]={4,6,0/*1*/,1/*0*/,5,7}; data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:485:16: [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. unsigned char lookupToAbc[6]={4,6,1,0,5,7}; data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:1951:11: [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. unsigned char lookupToAbcSlack[6]={4,6,0/*1*/,1/*0*/,5,7}; data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:1995:11: [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. unsigned char lookupToAbc[6]={4,6,1,0,5,7}; data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:4450:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename, "r"); data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:4929:12: [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. unsigned char lookup[8]={2,3,255,255,0,0,1,3}; data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:5217:12: [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. unsigned char lookupToAbcSlack[6]={4,6,0/*1*/,1/*0*/,5,7}; data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:5295:12: [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. unsigned char lookupToAbc[6]={4,6,1,0,5,7}; data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:5384:14: [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. unsigned char lookupToClpSlack[8]={2,3,255,255,0,0,1,5}; data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:5391:14: [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. unsigned char lookupToClp[8]={3,2,255,255,0,0,1,5}; data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:234:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fpFollow = fopen(forceFile, "r"); data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:238: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). int numberRead= atoi(argv[ifld+1]); data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:239:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). force_iterations=atoi(argv[ifld+1]); data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:243: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 temp[300]; data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4738:5: [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(weight, weight2, sizeof(weight2)); data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4939:11: [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(weight, weight2, sizeof(weight2)); data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:5975:3: [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 modelName[20]; data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:5976:3: [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(modelName,"model%d.mps",whichModel); data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:5978:3: [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(modelName,"model%d.bas",whichModel); data/coinmp-1.8.4/Clp/src/AbcSimplexFactorization.cpp:942: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[100]; data/coinmp-1.8.4/Clp/src/AbcSimplexFactorization.cpp:943: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(line,"new zero tolerance %g new pivot tolerance %g", data/coinmp-1.8.4/Clp/src/AbcSimplexPrimal.cpp:249: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). FILE * fp = fopen("save.stuff", "rb"); data/coinmp-1.8.4/Clp/src/AbcSimplexPrimal.cpp:554: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). FILE * fp = fopen("save.stuff", "wb"); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:52:8: [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. static char printArray[200]; data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:473:6: [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 temp[101]; data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1119:10: [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 current[100]; data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1120:3: [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 newString[100]; data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1124: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(current,"minus%d",-currentKeyWord_-1000); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1126: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(current,"plus%d",currentKeyWord_-1000); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1130: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(newString,"minus%d",-value-1000); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1132: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(newString,"plus%d",value-1000); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1150:6: [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 current[100]; data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1162: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(current,"minus%d",-currentKeyWord_-1000); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1164: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(current,"plus%d",currentKeyWord_-1000); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1233:8: [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. static char line[1000]; data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:3977: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). FILE * fp = fopen(fileName.c_str(), "rb"); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:4070: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). FILE * fp = fopen(fileName.c_str(), "rb"); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:4101: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). FILE * fp = fopen(fileName.c_str(), "wb"); data/coinmp-1.8.4/Clp/src/ClpCholeskyBase.cpp:978:36: [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(temp, choleskyRow_, sizeFactor * sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpDynamicExampleMatrix.cpp:162:11: [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(status_,status, numberSets_ * sizeof(char)); data/coinmp-1.8.4/Clp/src/ClpDynamicExampleMatrix.cpp:315:11: [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(status_,status, numberSets_ * sizeof(char)); data/coinmp-1.8.4/Clp/src/ClpDynamicMatrix.cpp:1110:8: [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(status_+numberSets_,status_,numberSets_); data/coinmp-1.8.4/Clp/src/ClpDynamicMatrix.cpp:1111:8: [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(status_+2*numberSets_,&numberActiveSets_,sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpDynamicMatrix.cpp:1112:8: [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(dynamicStatus_+maximumGubColumns_, data/coinmp-1.8.4/Clp/src/ClpDynamicMatrix.cpp:1118:8: [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(status_,status_+numberSets_,numberSets_); data/coinmp-1.8.4/Clp/src/ClpDynamicMatrix.cpp:1119:8: [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(&numberActiveSets_,status_+2*numberSets_,sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpDynamicMatrix.cpp:1120:8: [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(dynamicStatus_,dynamicStatus_+maximumGubColumns_, data/coinmp-1.8.4/Clp/src/ClpFactorization.cpp:48:17: [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. const char * types[10] = { data/coinmp-1.8.4/Clp/src/ClpFactorization.cpp:1229:6: [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(&shortestAverage_,&rhs.shortestAverage_,3*(sizeof(double)+sizeof(int))); data/coinmp-1.8.4/Clp/src/ClpFactorization.cpp:1311:4: [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(&shortestAverage_,&rhs.shortestAverage_,3*(sizeof(double)+sizeof(int))); data/coinmp-1.8.4/Clp/src/ClpHelperFunctions.cpp:127: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[1000]; data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:11:44: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). double damp, double atol, double btol, double conlim, int itnlim, data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:23:13: [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. static char term_msg[8][80] = { data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:37:6: [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 str1[100], str2[100], str3[100], str4[100], head1[100], head2[100]; data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:85:6: [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(head1, " Itn x(1) Function"); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:86:6: [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(head2, " Compatible LS Norm A Cond A"); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:92: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(str1, "%6d %12.5e %10.3e", *itn, x[0], rnorm ); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:93: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(str2, " %8.1e %8.1e", test1, test2 ); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:195:39: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). double rtol = btol + atol * anorm * xnorm / bnorm; data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:216:25: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (test2 <= atol) data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:232:35: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). double atolold = atol; data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:233:35: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). double atolnew = atol; data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:235:20: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (atol > info.atolmin) { data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:246:36: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol = atol * 0.1; data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:247:36: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atolnew = atol; data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:265:34: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (test2 <= 10 * atol ) prnt = 1; data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:271:26: [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(str1, " %6d %12.5e %10.3e", *itn, x[0], rnorm ); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:272:26: [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(str2, " %8.1e %8.1e", test1, test2 ); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:273:26: [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(str3, " %8.1e %8.1e", anorm, acond ); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:289: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(str1, "istop =%8d itn =%8d", *istop, *itn ); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:290: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(str2, "anorm =%8.1e acond =%8.1e", anorm, acond ); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:291: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(str3, "rnorm =%8.1e arnorm =%8.1e", rnorm, arnorm ); data/coinmp-1.8.4/Clp/src/ClpLsqr.cpp:292: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(str4, "bnorm =%8.1e xnorm =%8.1e", bnorm, xnorm ); data/coinmp-1.8.4/Clp/src/ClpLsqr.hpp:117:40: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). double damp, double atol, double btol, double conlim, int itnlim, data/coinmp-1.8.4/Clp/src/ClpMain.cpp:239: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). int n=atoi(argv[1]); data/coinmp-1.8.4/Clp/src/ClpMain.cpp:242: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). int nThreads=atoi(argv[2]); data/coinmp-1.8.4/Clp/src/ClpMessage.cpp:131:6: [2] (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). Risk is low because the source is a constant string. strcpy(source_, "Clp"); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:1369:16: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:1371:21: [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(name, "R%7.7d", iRow); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:1380:16: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:1383:21: [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(name, "C%7.7d", iColumn); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:2801:3: [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(array,ray_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3013: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). FILE *fp = fopen(fileName, "r"); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3018: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). fp = fopen(dataName, "r"); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3508:11: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3509: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(name, "R%7.7d", iRow); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3545:11: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3546: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(name, "C%7.7d", iColumn); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3631:16: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3632:16: [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(name, "R%7.7d", iRow); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3659:16: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3660:16: [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(name, "C%7.7d", iColumn); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3885:26: [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. rowNames = new char * [numberRows_+1]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3894:21: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3895:21: [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(name, "R%7.7d", iRow); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3910:11: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3912:16: [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(name, "R%7.7d", iRow); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3925:29: [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. columnNames = new char * [numberColumns_]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3934:21: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3935:21: [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(name, "C%7.7d", iColumn); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3950:11: [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 name[9]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3952:16: [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(name, "C%7.7d", iColumn); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4123:11: [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 temp[30]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4133:11: [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 temp[30]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4155:21: [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 temp[100000]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4156:21: [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 temp2[30]; data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4157:21: [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(temp, "%g", constant); data/coinmp-1.8.4/Clp/src/ClpModel.hpp:479:11: [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(columnActivity_, input, numberColumns_ * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpNode.cpp:1210:11: [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 c[8]; data/coinmp-1.8.4/Clp/src/ClpParameters.hpp:86:6: [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(reinterpret_cast<void *> (newArray), array, size * sizeof(T)); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:319:6: [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 solver[7]; data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:320:6: [2] (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). Risk is low because the source is a constant string. strcpy(solver, " LSQR"); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:555:28: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol = CoinMin(atol, r3norm * 0.1); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:556:28: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol = CoinMax(atol, atolmin ); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:631:50: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). thisLsqr.do_lsqr( rhs, damp, atol, btol, conlim, itnlim, data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:789:11: [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 str1[100], str2[100], str3[100], str4[100], str5[100]; data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:790: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(str1, "\n%3g%5.1f" , PDitns , log10(mu) ); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:791: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(str2, "%8.5f%8.5f" , stepx , stepz ); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:793:16: [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(str2, " %6.1e %6.1e" , stepx , stepz ); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:796: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(str3, "%6.1f%6.1f" , log10(Pinf) , log10(Dinf)); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:797: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(str4, "%6.1f%15.7e", log10(Cinf0), objtrue ); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:798: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(str5, "%3d%8.1f" , nf , center ); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:800:16: [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(str5, "%3d%8.1e" , nf , center ); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:850:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atolold = atol; data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:896:6: [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 str1[100], str2[100]; data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:897:6: [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(str1, "\nPDitns =%10g", PDitns ); data/coinmp-1.8.4/Clp/src/ClpPdco.cpp:898:6: [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(str2, "itns =%10d", CGitns ); data/coinmp-1.8.4/Clp/src/ClpPredictorCorrector.cpp:32: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). FILE * fp = fopen(fileName.c_str(), "wb"); data/coinmp-1.8.4/Clp/src/ClpPredictorCorrector.cpp:983:11: [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 name[20]; data/coinmp-1.8.4/Clp/src/ClpPredictorCorrector.cpp:984: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(name, "save.sol.%d", kk); data/coinmp-1.8.4/Clp/src/ClpPredictorCorrector.cpp:987: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). FILE * fp = fopen(name, "wb"); data/coinmp-1.8.4/Clp/src/ClpPresolve.cpp:377: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). int val = atoi(getenv(name)); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:1010:8: [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(xsave,xx,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:1011:8: [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(xsave+numberRows_,solution_,(numberRows_+numberColumns_)*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:5864:21: [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(rowLower_, saveLower, numberRows_ * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:5865:21: [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(rowUpper_, saveUpper, numberRows_ * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:6754: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). FILE * fp = fopen(fileName, "wb"); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:6952: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). FILE * fp = fopen(fileName, "rb"); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:7067:30: [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. status_ = new char unsigned[length]; data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:7576: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). fp = fopen(filename, "r"); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:7872: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[1000]; data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:7874: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(line,"%d unscaled row infeasibilities - summing to %g", data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:7885: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(line,"%d relaxed row infeasibilities - summing to %g", data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:10480:3: [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(array,ray_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:10865:9: [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(save,columnLower_, data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:10867:9: [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(save+numberColumns_,columnUpper_, data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:10892:4: [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(columnLower_,save, data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:10894:4: [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(columnUpper_,save+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:1251:21: [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(savePSol, solution_, (numberColumns_ + numberRows_)*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:1252:21: [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(saveDj, dj_, (numberColumns_ + numberRows_)*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:1253:21: [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(saveCost, cost_, (numberColumns_ + numberRows_)*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:1254:21: [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(saveStat, status_, (numberColumns_ + numberRows_)*sizeof(char)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:2123:36: [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(solution_, comp, nTotal * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:2891:22: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fpFollow = fopen(forceFile, "r"); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:2897:16: [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 temp[300]; data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:4823:16: [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 temp[20]; data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:4824:16: [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(temp, "sol%d.out", ixxxxxx); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:4826: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). FILE * fp = fopen(temp, "w"); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:4860:36: [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(temp, cost_, nTotal * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:4861:36: [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(temp + nTotal, cost_, nTotal * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:4884:41: [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(temp, cost_, nTotal * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:4885:41: [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(temp + nTotal, cost_, nTotal * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:4892:41: [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(cost_, cost_ + nTotal, nTotal * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:5021:11: [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(cost_ + nTotal, cost_, nTotal * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:5065:11: [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 temp[20]; data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:5066: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(temp, "x_sol%d.out", ixxxxxx); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:5067: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). FILE * fp = fopen(temp, "w"); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:5154:31: [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(cost_, saveCost, numberTotal * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:6274:11: [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(weight, weight2, sizeof(weight2)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:8036:16: [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(lower_, columnLower_, numberColumns_ * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:8037:16: [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(upper_, columnUpper_, numberColumns_ * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:8038:16: [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(lower_ + numberColumns_, rowLower_, numberRows_ * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:8039:16: [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(upper_ + numberColumns_, rowUpper_, numberRows_ * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:642:11: [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 x[8]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:643:11: [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(x, &value, 8); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:651:6: [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 number[20]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:652: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). FILE * fp = fopen(filename, "w"); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:750:22: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName, "r"); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:1244:6: [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(reducedCost_, this->objective(), numberColumns_ * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:1765:11: [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 xxxx[20]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:1766: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(xxxx, "bad%d.mps", which); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:1768: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(xxxx, "largebad%d.mps", which); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2140:4: [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[100]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2141: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(line,"Crossover considerations reduce ending theta from %g to %g\n", data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2252:9: [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[100]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2253:9: [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(line,"Can not get to theta of %g\n", startingTheta); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2277:6: [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[100]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2278:6: [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(line,"Ending theta %g\n", endingTheta); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2290:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(dataFile, "r"); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2291:3: [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[200]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2359: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). detail = atoi(pos); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2395:3: [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 saveLine[200]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2456:30: [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 ** rowNames = new char * [numberRows_]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2509: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). iRow = atoi(pos); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2547: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(line,"%d Row fields and %d records", nAcross, nLine); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2562: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(line,"Duplicate or unknown keyword - or name/number fields wrong"); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2628:28: [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 ** columnNames = new char * [numberColumns_]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2683: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). iColumn = atoi(pos); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2722:2: [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(line,"%d Column fields and %d records", nAcross, nLine); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:2737:2: [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(line,"Duplicate or unknown keyword - or name/number fields wrong"); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3029:5: [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(lowerChange,lowerChangeBound,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3031:5: [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(upperChange,upperChangeBound,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3033:5: [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(lowerChange+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3036:5: [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(upperChange+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3056:3: [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(saveLower+unscaledChangesOffset,lowerChange,numberTotal*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3057:3: [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(saveUpper+unscaledChangesOffset,upperChange,numberTotal*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3080:3: [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(lowerCopy,columnLower_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3081:3: [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(upperCopy,columnUpper_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3082:3: [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(lowerCopy+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3084:3: [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(upperCopy+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3090:5: [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(unscaledCopy,columnLower_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3091:5: [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(unscaledCopy+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3094:5: [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(unscaledCopy,columnUpper_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3095:5: [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(unscaledCopy+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3123:7: [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(saveLower,lower_,numberTotal*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3129:7: [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(saveUpper,upper_,numberTotal*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3260:5: [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(columnLower_,lowerCopy,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3261:5: [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(columnUpper_,upperCopy,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3262:5: [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(rowLower_,lowerCopy+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3264:5: [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(rowUpper_,upperCopy+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3270:5: [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(columnLower_,unscaledCopy,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3271:5: [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(rowLower_,unscaledCopy+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3274:5: [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(columnUpper_,unscaledCopy,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3275:5: [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(rowUpper_,unscaledCopy+numberColumns_, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3295:3: [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[100]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3296:3: [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(line,"Ending theta %g\n", endingTheta); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3375:7: [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(columnLower_,lower_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3376:7: [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(rowLower_,lower_+numberColumns_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3377:7: [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(columnUpper_,upper_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3378:7: [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(rowUpper_,upper_+numberColumns_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3705:8: [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(columnLower_,saveLower,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3706:8: [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(rowLower_,saveLower+numberColumns_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3708:8: [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(columnUpper_,saveUpper,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:3709:8: [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(rowUpper_,saveUpper+numberColumns_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4242:9: [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 in[200],out[200]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4248:6: [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(in,"C%7.7d",iSequence); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4254:6: [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(in,"R%7.7d",iSequence); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4261:6: [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(out,"C%7.7d",iSequence); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4267:6: [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(out,"R%7.7d",iSequence); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4586:3: [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(lowerSave,columnLower_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4587:3: [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(lowerSave+numberColumns_,rowLower_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4588:3: [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(upperSave,columnUpper_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4589:3: [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(upperSave+numberColumns_,rowUpper_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:4679:5: [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(tempArray,array,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:5078:5: [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(checkArray,lowerCoefficient,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:5103:5: [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(checkArray,upperCoefficient,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:5191:5: [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(checkArray,lowerCoefficient,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:5202:5: [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(checkArray,upperCoefficient,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:5841:6: [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(reducedCost_, this->objective(), numberColumns_ * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:5945:3: [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 message[100]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:5948: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(message,"%d gub rows", numberGub); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:5958: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(message,"Putting back one gub row to make non-empty"); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:6173: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(message,"** Before adding matrix there are %d rows and %d columns", data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:6212: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(message, data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7161:5: [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(lower_,columnLower_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7162:5: [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(lower_+numberColumns_,rowLower_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7163:5: [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(upper_,columnUpper_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7164:5: [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(upper_+numberColumns_,rowUpper_,numberRows_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7165:5: [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(cost_,objective(),numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7908:2: [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[520],temp[50]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7913:2: [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(line,"dupj %d,%d %d els ", data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7925:6: [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(temp,"(%g,%g) ",element[k],element[k+ishift]); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7938:8: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(line,"..."); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8319: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[100]; data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8320: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(line,"Threshold %d found %d fixed %d",threshold,numberLook,nMoved); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8431:5: [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(temp,where.startStuff,k); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8436:3: [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(put,info,sizeInfo); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8438:3: [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(put,indices,numberElements*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8440:3: [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(put,elements,numberElements*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8455:2: [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(&thisInfo,get,sizeof(clpPresolveInfo1_4_8)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8456:2: [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(thisInfoX,get,sizeof(clpPresolveInfo1_4_8)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8466:2: [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(&thisInfo,get,sizeof(clpPresolveInfo8)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8467:2: [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(thisInfoX,get,sizeof(clpPresolveInfo8)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8476:2: [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(&thisInfo,get,sizeof(clpPresolveInfo2)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8477:2: [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(thisInfoX,get,sizeof(clpPresolveInfo2)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8485:2: [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(&thisInfo,get,sizeof(clpPresolveInfo11)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8486:2: [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(thisInfoX,get,sizeof(clpPresolveInfo11)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8495:2: [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(&thisInfo,get,sizeof(clpPresolveInfo13)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8496:2: [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(thisInfoX,get,sizeof(clpPresolveInfo13)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8504:2: [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(&thisInfo,get,sizeof(clpPresolveInfo14)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8505:2: [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(thisInfoX,get,sizeof(clpPresolveInfo14)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8512:5: [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(where.indices,get,n*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8514:5: [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(where.elements,get,n*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8539:7: [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(element+put,element+start,length*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8540:7: [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(row+put,row+start,length*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8570:7: [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(element+put,element+start,n*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8571:7: [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(row+put,row+start,n*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8584:7: [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(element+put,element+start,n*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:8585:7: [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(row+put,row+start,n*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9042:6: [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(row,row+lastElement,numberElements*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9043:6: [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(element,element+lastElement,numberElements*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9532:5: [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(infoData,infoA,nActions*sizeof(clpPresolveInfo)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9534:5: [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(info2,startStuff,stuff.putStuff-startStuff); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9608:7: [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(row,row+lastElement,numberElements*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9609:7: [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(element,element+lastElement,numberElements*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9747:2: [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(&thisInfo,getStuff,sizeof(clpPresolveInfo1_4_8)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9756:2: [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(&thisInfo,getStuff,sizeof(clpPresolveInfo2)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9771:2: [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(&thisInfo,getStuff,sizeof(clpPresolveInfo11)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9780:2: [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(&thisInfo,getStuff,sizeof(clpPresolveInfo13)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9789:2: [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(&thisInfo,getStuff,sizeof(clpPresolveInfo14)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:9849:3: [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(objectiveX,this->objective(),numberColumns_*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10176:2: [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(rowX+start,tempIndex,newLength*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10177:2: [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(elementX+start,tempElement,newLength*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10275:2: [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(rowX+start,row+startOriginal,newLength*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10276:2: [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(elementX+start,element+startOriginal,newLength*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10314:2: [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(rowX+start,tempIndex,newLength*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10315:2: [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(elementX+start,tempElement,newLength*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10372:2: [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(rowX+start,tempIndex,length*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10373:2: [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(elementX+start,tempElement,length*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10529:7: [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(tempIndex,row+start,length*sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:10530:7: [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(tempElement,element+start,length*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:394:8: [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. static char * types[MAX_TYPES]; data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:663: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 temp[3]; data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:664: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(temp,"%d",numberCpu); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:672: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[200]; data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:678: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(line,"%d cilk workers",number_cilk_workers); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:1072:8: [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(check,elementByColumn,numberElements*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:2239:4: [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(temp.dualRowSolution(),dualModel2->primalColumnSolution(), data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:2241:4: [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(temp.primalColumnSolution(),model2->primalColumnSolution(), data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:2259:6: [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(dualColumn[i],model2->objective(), data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:2347:9: [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(model2->objective(),saveObj,numberColumns*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:4654:16: [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(whichRow + n, coinModel.coinBlock(jBlock)->originalRows(), k * sizeof(int)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:4670:21: [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(whichColumn + n, coinModel.coinBlock(jBlock)->originalColumns(), data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5132:6: [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 generalPrint[200]; data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5136:6: [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(generalPrint,"Time to decompose %.2f seconds",CoinCpuTime() - time1); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5141: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(generalPrint,"Start of pass %d", iPass); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5175:16: [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(generalPrint,"Sum of artificials before solve is %g", sumArtificials); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5302:16: [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(saveObj, objective2, numberColumns2 * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5340:16: [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(objective2, saveObj, numberColumns2 * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5374:26: [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(generalPrint,"For subproblem %d smallest - %g, largest %g - dj %g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5409:26: [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(generalPrint,"For subproblem ray %d smallest - %g, largest %g - dj %g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5433:6: [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(generalPrint,"Time at end of D-W %.2f seconds",CoinCpuTime() - time1); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5546:6: [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(generalPrint,"Time before cleanup of full model %.2f seconds",CoinCpuTime() - time1); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5551:6: [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(generalPrint,"Total time %.2f seconds",CoinCpuTime() - time1); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5860:6: [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 generalPrint[200]; data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6204:8: [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(save,sub[iBlock].rowLower(),numberRows2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6206:8: [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(save,sub[iBlock].columnLower(),numberColumns2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6208:8: [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(save,sub[iBlock].rowUpper(),numberRows2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6210:8: [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(save,sub[iBlock].columnUpper(),numberColumns2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6227:6: [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(generalPrint,"Time to decompose %.2f seconds",CoinCpuTime() - time1); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6257:3: [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(save,sub[iBlock].rowLower(),numberRows2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6259:3: [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(save,sub[iBlock].columnLower(),numberColumns2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6261:3: [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(save,sub[iBlock].rowUpper(),numberRows2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6263:3: [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(save,sub[iBlock].columnUpper(),numberColumns2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6284: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(generalPrint,"Start of pass %d", iPass); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6336: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(generalPrint,"Pass %d objective %g change %g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6422: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(generalPrint,"%d at artificial bound",nTrusted); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6424: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(generalPrint,"All at natural bounds"); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6500:16: [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(generalPrint,"The sum of dual infeasibilities is %g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6580:3: [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(obj,saveObjective[iBlock],originalSubColumns[iBlock]*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6591:6: [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(lower2, saveLower, numberRows2 * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6594:6: [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(columnLower2,saveColumnLower,numberColumns2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6597:6: [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(upper2, saveUpper, numberRows2 * sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6600:6: [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(columnUpper2,saveColumnUpper,numberColumns2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6650:8: [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(lastMod,rhs,numberRows2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6688:6: [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(generalPrint,"First block - initial solve - %d iterations, objective %g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6701:3: [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(sub[iBlock].primalColumnSolution(), data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6704:3: [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(sub[iBlock].statusArray(),sub[0].statusArray(), data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6810:3: [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 name[20]; data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6811:3: [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(name,"pass_%d_block_%d.mps",iPass,iBlock); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6813:3: [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(name,"pass_%d_block_%d.bas",iPass,iBlock); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6861:3: [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(generalPrint,"Block %d - %d iterations, objective %g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:6884:3: [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(obj,saveObj,numberColumns2*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7018: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(generalPrint,"For subproblem %d smallest - %g, largest %g - infeas %g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7024:9: [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(generalPrint,"Removing small elements"); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7383: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(generalPrint,"new objValue %g - old %g",objValue7,objValue); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7398: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(temp3,temp2,numberMasterColumns*sizeof(double)); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7427: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(generalPrint,"For subproblem ray %d smallest - %g, largest %g - infeas %g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7434: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(generalPrint,"Removing small elements"); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7480:9: [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(generalPrint,"%d cuts added with %d elements", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7517: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(generalPrint,"Rhs for cut %d (from block %d) does not cutoff sum2 %g sum %g rhs %g)", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7525: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(generalPrint,"Rhs for cut %d (from block %d) is %g too low (rhs is %g)", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7534: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(generalPrint,"Rhs for cut %d (from block %d) is %g ineffective (rhs is %g)", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7561: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(generalPrint,"Cut %d makes infeasible - upper=%g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7567: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(generalPrint,"Cut %d makes too expensive - upper=%g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7662:6: [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(generalPrint,"Time at end of Benders %.2f seconds",CoinCpuTime() - time1); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7757:6: [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(generalPrint,"%d row basic %d col basic (total %d) - wanted %d", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7764:6: [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(generalPrint,"%d infeasibilities summing to %g", data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7771:6: [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(generalPrint,"Time before cleanup of full model %.2f seconds",CoinCpuTime() - time1); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:7780:6: [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(generalPrint,"Total time %.2f seconds",CoinCpuTime() - time1); data/coinmp-1.8.4/Clp/src/ClpSolve.hpp:381:6: [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 way_[CLP_CYCLE]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:304:4: [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 generalPrint[10000]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:315:39: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (equals && atoi(equals + 1) > 0) { data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:317:45: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). info.logLevel = atoi(equals + 1); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:344:61: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (i < info.numberArguments - 1 && atoi(info.arguments[i+1]) > 0) data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:385:21: [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(generalPrint, "Ampl objective offset is %g", data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1036:53: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE * fp = fopen("user_driver.cpp", "w"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1062:33: [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 buf[300]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1066:44: [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. pos += sprintf(buf + pos, "optimal," ); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1069:44: [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. pos += sprintf(buf + pos, "infeasible,"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1072:44: [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. pos += sprintf(buf + pos, "unbounded,"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1074:44: [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. pos += sprintf(buf + pos, "stopped on iterations or time,"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1077:44: [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. pos += sprintf(buf + pos, "stopped on difficulties,"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1080:44: [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. pos += sprintf(buf + pos, "stopped on ctrl-c,"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1083:44: [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. pos += sprintf(buf + pos, "integer infeasible,"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1086:44: [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. pos += sprintf(buf + pos, "status unknown,"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1091:40: [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. pos += sprintf(buf + pos, " objective %.*g", ampl_obj_prec(), data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1093:33: [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(buf + pos, "\n%d iterations", data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1251:6: [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 generalPrint[100]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1253:41: [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(generalPrint, "After translating dual back to primal - objective value is %g", data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1437:51: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(gmplData.c_str(), "r"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1483:62: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "r"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1549:47: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "w"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1606:61: [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. rowNames = new char * [numberRows]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1623:64: [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. columnNames = new char * [numberColumns]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1707:52: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "r"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1767:47: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "w"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1850:42: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "wb"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1927:42: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fileName.c_str(), "rb"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2060:37: [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. const char * fields[4]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2125: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). int size=atoi(argv[i+1]); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2130: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). int size=atoi(argv[i+1]); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2156:37: [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. const char * fields[2]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2298: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). fp = fopen(fileName.c_str(), "w"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2300: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). fp = fopen(fileName.c_str(), "a"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2397:6: [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 printFormat[50]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2512:46: [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 pMask[100]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2547:58: [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. masks = new char * [maxMasks]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2548:69: [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 ** newMasks = new char * [maxMasks]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:3759: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). FILE * fpBlocks = fopen("blocks.data","wb"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:3776: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 name[20]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:3778: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(name,"block%d.mps",iBlock); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:4435: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). FILE * fp = fopen(fileName, "r"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:4440:6: [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[MAXLINES][MAXONELINE]; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:4448:6: [2] (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). Risk is low because the source is a constant string. strcpy(line[numberLines], "5 clpModel->initialSolve(clpSolve);"); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:4450: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). fp = fopen(fileName, "w"); data/coinmp-1.8.4/Clp/src/Clp_C_Interface.cpp:161:11: [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 * vString[10]; data/coinmp-1.8.4/Clp/src/Clp_C_Interface.cpp:672:11: [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(array,ray,numberRows*sizeof(double)); data/coinmp-1.8.4/Clp/src/Clp_C_Interface.cpp:689:11: [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(array,ray,numberColumns*sizeof(double)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:57:8: [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. static char algFound[20] = ""; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:120:8: [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. static char xxxxxx[20]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:363: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 tempBuffer[20]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:370: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 fileName[1000]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:380: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). if (equals && atoi(equals + 1) >= 10 && atoi(equals + 1) <= 20) { data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:380:53: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (equals && atoi(equals + 1) >= 10 && atoi(equals + 1) <= 20) { data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:381:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nonLinearType = atoi(equals + 1); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:448:17: [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(info->sosPriority, sospri, nsos*sizeof(int)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:449:17: [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(info->sosStart, sosbeg, (nsos + 1)*sizeof(int)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:450:17: [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(info->sosIndices, sosind, nsosnz*sizeof(int)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:451:17: [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(info->sosReference, sosref, nsosnz*sizeof(double)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:514:13: [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(info->primalSolution, X0, n_var*sizeof(double)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:539:13: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(fileName, ".nl"); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:704: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 buf[1000]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:913:17: [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(info->sosPriority, sospri, nsos*sizeof(int)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:914:17: [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(info->sosStart, sosbeg, (nsos + 1)*sizeof(int)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:915:17: [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(info->sosIndices, sosind, nsosnz*sizeof(int)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:916:17: [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(info->sosReference, sosref, nsosnz*sizeof(double)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:968:13: [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( primalSolution, X0, n_var*sizeof(double)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1325:9: [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 name[9]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1326:9: [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(name, "r%7.7d", iRow); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1331:9: [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 name[9]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1332:9: [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(name, "c%7.7d", iColumn); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1379:29: [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 temp[1000]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1380:29: [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 temp2[30]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1382:33: [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(temp2, "c%7.7d", kColumn); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1384:33: [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(temp2, "%g*c%7.7d", value, kColumn); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1424:29: [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 temp[1000]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1425:29: [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 temp2[30]; data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1427:33: [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(temp2, "c%7.7d", kColumn); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1429:33: [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(temp2, "%g*c%7.7d", value, kColumn); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1485:13: [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(prioritySOS_, sospri, nsos*sizeof(int)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1486:13: [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(startSOS_, sosbeg, (nsos + 1)*sizeof(int)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1487:13: [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(memberSOS_, sosind, nsosnz*sizeof(int)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1488:13: [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(referenceSOS_, sosref, nsosnz*sizeof(double)); data/coinmp-1.8.4/Clp/src/Clp_ampl.h:47: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 buffer[300]; data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization1.cpp:724:2: [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[100]; data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization1.cpp:725:2: [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(line,"need more memory lengthArea %d number %d done %d areaFactor %g", data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization1.cpp:733: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 line[100]; data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization1.cpp:734: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(line,"Bad pivot values - increasing pivot tolerance to %g", data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization1.cpp:751:4: [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[100]; data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization1.cpp:752: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(line,"%d factorization compressions, lengthArea %d number %d new areaFactor %g", data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization2.cpp:1031:3: [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 xxx[17000]; data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization3.cpp:1050:5: [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(temp,region,numberRows_*sizeof(CoinSimplexDouble)); data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization3.cpp:2246:3: [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(indexSave,regionSparse->getIndices(),numberNonZero*sizeof(CoinSimplexInt)); data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization4.cpp:2601:3: [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(indexU2,indexU2Save,numberInColumnU2*sizeof(CoinSimplexInt)); data/coinmp-1.8.4/Clp/src/CoinAbcCommon.hpp:252:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(to,from,size*sizeof(T)); data/coinmp-1.8.4/Clp/src/CoinAbcHelperFunctions.cpp:642:3: [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(array,arrayFrom,size*sizeof(double)); data/coinmp-1.8.4/Clp/src/CoinAbcHelperFunctions.cpp:647:3: [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(array,arrayFrom,size*sizeof(int)); data/coinmp-1.8.4/Clp/src/CoinAbcHelperFunctions.cpp:652:3: [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(array,arrayFrom,size*sizeof(unsigned char)); data/coinmp-1.8.4/Clp/src/IdiSolve.cpp:937:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. cilk_spawn memcpy(piX[i], pi, nrows * sizeof(double)); data/coinmp-1.8.4/Clp/src/IdiSolve.cpp:938:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. cilk_spawn memcpy(rowsolX[i], rowsol, nrows * sizeof(double)); data/coinmp-1.8.4/Clp/src/Idiot.cpp:1820:9: [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[200]; data/coinmp-1.8.4/Clp/src/Idiot.cpp:1821:9: [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(saveBounds,lower,ncols*sizeof(double)); data/coinmp-1.8.4/Clp/src/Idiot.cpp:1822:9: [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(saveBounds+ncols,upper,ncols*sizeof(double)); data/coinmp-1.8.4/Clp/src/Idiot.cpp:1918: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(line,"sum of infeasibilities %g - %d fixed rows, %d fixed columns - might free %d rows", data/coinmp-1.8.4/Clp/src/Idiot.cpp:1945:21: [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(line,"sum of infeasibilities %g - average %g, %d fixed columns", data/coinmp-1.8.4/Clp/src/Idiot.cpp:1957:4: [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(saveModel->columnLower(),saveBounds,ncols*sizeof(double)); data/coinmp-1.8.4/Clp/src/Idiot.cpp:1958:4: [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(saveModel->columnUpper(),saveBounds+ncols,ncols*sizeof(double)); data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.cpp:949: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 fileName[20]; data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.cpp:950: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(fileName,"save%d.mod",resolveTry); data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.cpp:2646:5: [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(djs,modelPtr_->objective(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.cpp:2914:2: [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(fBig,modelPtr_->columnLower_,numberColumns*sizeof(double)); data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.cpp:2940:4: [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(effectiveRhs2,modelPtr_->rowUpper_,numberRows*sizeof(double)); data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.cpp:3031:5: [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(modelPtr_->status_,saveStatus,numberRows+numberColumns); data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.cpp:3992:3: [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(modelPtr_->dualColumnSolution(),modelPtr_->objective(), data/coinmp-1.8.4/Clp/src/OsiClp/OsiClpSolverInterface.cpp:5941:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(fullname.c_str(),"w"); data/coinmp-1.8.4/Clp/src/unitTest.cpp:2362: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). FILE * fp = fopen(fn.c_str(), "r"); data/coinmp-1.8.4/Clp/src/unitTest.cpp:2366: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). fp = fopen(fn.c_str(), "r"); data/coinmp-1.8.4/Clp/src/unitTest.cpp:2372:16: [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 temp[100]; data/coinmp-1.8.4/Clp/test/OsiClpSolverInterfaceTest.cpp:780:9: [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 temp[100]; data/coinmp-1.8.4/Clp/test/OsiClpSolverInterfaceTest.cpp:781:9: [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(temp,"%g + abs(%g*multiplier)",value,value); data/coinmp-1.8.4/Clp/test/OsiClpSolverInterfaceTest.cpp:803:13: [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 temp[100]; data/coinmp-1.8.4/Clp/test/OsiClpSolverInterfaceTest.cpp:804:13: [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(temp,"%g + (1.5*%g*multiplier)",triple.value(), triple.value()); data/coinmp-1.8.4/Clp/test/OsiClpSolverInterfaceTest.cpp:854:5: [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(fakeCost,m.getObjCoefficients(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Clp/test/OsiClpSolverInterfaceTest.cpp:970:7: [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(djsNow, m.getReducedCost(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Clp/test/OsiClpSolverInterfaceTest.cpp:971:7: [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(dualsNow,m.getRowPrice(),numberRows*sizeof(double)); data/coinmp-1.8.4/CoinMP/examples/example.c:93:2: [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 filename[260]; data/coinmp-1.8.4/CoinMP/examples/example.c:117:2: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(filename, ".mps"); data/coinmp-1.8.4/CoinMP/examples/example.c:132:2: [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 filename[260]; data/coinmp-1.8.4/CoinMP/examples/example.c:156:2: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(filename, ".mps"); data/coinmp-1.8.4/CoinMP/examples/example.c:173:2: [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 filename[260]; data/coinmp-1.8.4/CoinMP/examples/example.c:205:2: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(filename, ".mps"); data/coinmp-1.8.4/CoinMP/examples/example.c:241:2: [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 rowType[5] = { 'L', 'L', 'L', 'L', 'L' }; data/coinmp-1.8.4/CoinMP/examples/example.c:280:2: [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 rowType[3] = { 'L', 'L' , 'L' }; data/coinmp-1.8.4/CoinMP/examples/example.c:324:2: [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 rtyp[27]= {'E', 'E', 'L', 'L', 'E', 'E', 'L', 'L', 'L', 'L', 'E', 'E', 'L', data/coinmp-1.8.4/CoinMP/examples/example.c:397:2: [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 rtyp[15]= { 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L' }; data/coinmp-1.8.4/CoinMP/examples/example.c:439:2: [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 ctyp[33] = { 'B', 'B', 'B', 'B', 'B', 'B', 'B', data/coinmp-1.8.4/CoinMP/examples/example.c:468:2: [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 rtyp[5]= {'G', 'L', 'E', 'G', 'L'}; data/coinmp-1.8.4/CoinMP/examples/example.c:485:2: [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 ctyp[8] = { 'C', 'C', 'B', 'B', 'C', 'C', 'C', 'C'}; data/coinmp-1.8.4/CoinMP/examples/example.c:555:2: [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 rtyp[5]= {'E', 'E', 'E', 'G', 'G'}; data/coinmp-1.8.4/CoinMP/examples/example.c:598:2: [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 rtyp[5]= {'L', 'G', 'E'}; data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:888:3: [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(storeLowerBound, pProblem->LowerBounds, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:900:3: [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(pProblem->LowerBounds, storeLowerBound, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:947: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 logstr[100]; // BK 2013/11/28: Allows setting the log level from CoinMP. Thanks to Miles Lubin for suggesting this data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:948: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(logstr, "%d", logLevel); data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:994:11: [2] (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). Risk is low because the source is a constant string. case 0: strcpy(pResult->SolutionText, "Optimal solution found"); break; data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:995:11: [2] (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). Risk is low because the source is a constant string. case 1: strcpy(pResult->SolutionText, "Problem primal infeasible"); break; data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:996:11: [2] (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). Risk is low because the source is a constant string. case 2: strcpy(pResult->SolutionText, "Problem dual infeasible"); break; data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:997:11: [2] (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). Risk is low because the source is a constant string. case 3: strcpy(pResult->SolutionText, "Stopped on iterations"); break; data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:998:11: [2] (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). Risk is low because the source is a constant string. case 4: strcpy(pResult->SolutionText, "Stopped due to errors"); break; data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:999:11: [2] (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). Risk is low because the source is a constant string. case 5: strcpy(pResult->SolutionText, "Stopped by user"); break; data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:1001: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(pResult->SolutionText, "Unknown CBC solution status (%d)", pResult->SolutionStatus); data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:1022:3: [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(pResult->ColActivity, columnPrimal, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:1023:3: [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(pResult->ReducedCost, columnDual, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:1024:3: [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(pResult->RowActivity, rowPrimal, pProblem->RowCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:1025:3: [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(pResult->ShadowPrice, rowDual, pProblem->RowCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinCbc.cpp:1036:3: [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(pResult->ColActivity, columnPrimal, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:670:3: [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(Activity, pResult->ColActivity, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:673:3: [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(ReducedCost, pResult->ReducedCost, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:676:3: [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(SlackValues, pResult->SlackValues, pProblem->RowCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:679:3: [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(ShadowPrice, pResult->ShadowPrice, pProblem->RowCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:694:3: [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(ObjLoRange, pResult->ObjLoRange, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:697:3: [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(ObjUpRange, pResult->ObjUpRange, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:700:3: [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(RhsLoRange, pResult->RhsLoRange, pProblem->RowCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:703:3: [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(RhsUpRange, pResult->RhsUpRange, pProblem->RowCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:717:3: [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(ColStatus, pResult->ColStatus, pProblem->ColCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:720:3: [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(RowStatus, pResult->RowStatus, pProblem->RowCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinOption.c:52:3: [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(pOption->OptionTable, OptionTable, OptionCount * sizeof(SOLVOPTINFO)); data/coinmp-1.8.4/CoinMP/src/CoinOption.h:50:4: [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 OptionName[32]; data/coinmp-1.8.4/CoinMP/src/CoinOption.h:51:4: [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 ShortName[32]; data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:178:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (ObjectCoeffs) memcpy(pProblem->ObjectCoeffs, ObjectCoeffs, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:179:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (LowerBounds) memcpy(pProblem->LowerBounds, LowerBounds, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:180:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (UpperBounds) memcpy(pProblem->UpperBounds, UpperBounds, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:181:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (RowType) memcpy(pProblem->RowType, RowType, pProblem->RowCount * sizeof(char)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:182:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (RHSValues) memcpy(pProblem->RHSValues, RHSValues, pProblem->RowCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:183:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (RangeValues) memcpy(pProblem->RangeValues, RangeValues, pProblem->RowCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:184:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (MatrixBegin) memcpy(pProblem->MatrixBegin, MatrixBegin, (pProblem->ColCount+1) * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:185:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (MatrixCount) memcpy(pProblem->MatrixCount, MatrixCount, pProblem->ColCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:186:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (MatrixIndex) memcpy(pProblem->MatrixIndex, MatrixIndex, pProblem->NZCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:187:20: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (MatrixValues) memcpy(pProblem->MatrixValues, MatrixValues, pProblem->NZCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:204:3: [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(pProblem->ObjectName, ObjectName, pProblem->lenObjNameBuf * sizeof(char)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:257:2: [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(pProblem->InitValues, InitValues, pProblem->ColCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:276:2: [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(pProblem->ColType, ColType, pProblem->ColCount * sizeof(char)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:299:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (PriorIndex) memcpy(pProblem->PriorIndex, PriorIndex, PriorCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:300:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (PriorValues) memcpy(pProblem->PriorValues, PriorValues, PriorCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:301:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (PriorBranch) memcpy(pProblem->PriorBranch, PriorBranch, PriorCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:329:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (SosType) memcpy(pProblem->SosType, SosType, SosCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:330:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (SosPrior) memcpy(pProblem->SosPrior, SosPrior, SosCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:331:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (SosBegin) memcpy(pProblem->SosBegin, SosBegin, (SosCount+1) * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:332:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (SosIndex) memcpy(pProblem->SosIndex, SosIndex, SosNZCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:333:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (SosRef) memcpy(pProblem->SosRef, SosRef, SosNZCount * sizeof(double)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:353:2: [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(pProblem->SemiIndex, SemiIndex, pProblem->SemiCount * sizeof(int)); data/coinmp-1.8.4/CoinMP/src/CoinProblem.h:10: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 ProblemName[200]; data/coinmp-1.8.4/CoinMP/src/CoinResult.h:11: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 SolutionText[200]; data/coinmp-1.8.4/CoinMP/src/CoinSolver.h:48: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 LogFilename[260]; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:97:2: [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 filename[260]; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:122:2: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(filename, ".mps"); data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:137:2: [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 filename[260]; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:162:2: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(filename, ".mps"); data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:179:2: [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 filename[260]; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:212:2: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(filename, ".mps"); data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:248:2: [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 rowType[5] = { 'L', 'L', 'L', 'L', 'L' }; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:287:2: [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 rowType[3] = { 'L', 'L' , 'L' }; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:331:2: [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 rtyp[27]= {'E', 'E', 'L', 'L', 'E', 'E', 'L', 'L', 'L', 'L', 'E', 'E', 'L', data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:395:2: [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 rtyp[15]= { 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L', 'L' }; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:429:2: [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 ctyp[33] = { 'B', 'B', 'B', 'B', 'B', 'B', 'B', data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:458:2: [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 rtyp[5]= {'G', 'L', 'E', 'G', 'L'}; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:471:2: [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 ctyp[8] = { 'C', 'C', 'B', 'B', 'C', 'C', 'C', 'C'}; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:541:2: [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 rtyp[5]= {'E', 'E', 'E', 'G', 'G'}; data/coinmp-1.8.4/CoinMP/test/unitTest.cpp:584:2: [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 rtyp[3]= {'L', 'G', 'E'}; data/coinmp-1.8.4/CoinUtils/src/CoinAlloc.cpp:105: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). maxpooled_ = std::atoi(maxpooled); data/coinmp-1.8.4/CoinUtils/src/CoinBuild.cpp:93:7: [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(copyOfItem,item,length); data/coinmp-1.8.4/CoinUtils/src/CoinBuild.cpp:153:9: [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(copyOfItem,item,length); data/coinmp-1.8.4/CoinUtils/src/CoinFactorization2.cpp:805: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). FILE * fp = fopen(file,"wb"); data/coinmp-1.8.4/CoinUtils/src/CoinFactorization2.cpp:889: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). FILE * fp = fopen(file,"rb"); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:52: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). f_ = fopen (fileName.c_str (), "r"); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:261: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). f_ = fopen (fileName.c_str (), "r"); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:326:12: [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. unsigned char header[4]; data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:329: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). FILE *f = fopen (fileName.c_str (), "r"); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:397: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). f_ = fopen (fileName.c_str (), "w"); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:483: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). f_ = fopen (fileName.c_str (), "w"); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:663: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). fp = fopen ( fileName.c_str(), "r" ); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:671: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). fp = fopen ( fname.c_str(), "r" ); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:680: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). fp = fopen ( fname.c_str(), "r" ); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:187:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(arrayNew,array,size*sizeof(T)); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:205:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(arrayNew,array,copySize*sizeof(T)); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:221:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(arrayNew,array,size*sizeof(T)); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:240:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(arrayNew,array,size*sizeof(T)); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:279: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. std::memcpy(to,from,size*sizeof(T)); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:329:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(to,from,size*sizeof(T)); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:1033:5: [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(seed_,seed,3*sizeof(unsigned short));} data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:1040:5: [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(seed_,put.s,3*sizeof(unsigned short)); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:1046:5: [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(seed_,rhs.seed_,3*sizeof(unsigned short));} data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:1051:7: [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(seed_,rhs.seed_,3*sizeof(unsigned short)); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:1063:5: [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(seed_,seed,3*sizeof(unsigned short));} data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:1070:5: [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(seed_,put.s,3*sizeof(unsigned short)); data/coinmp-1.8.4/CoinUtils/src/CoinIndexedVector.cpp:2042:3: [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(startPartition_,rhs.startPartition_,((&numberPartitions_-startPartition_)+1)*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinIndexedVector.cpp:2048:3: [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(startPartition_,rhs->startPartition_,((&numberPartitions_-startPartition_)+1)*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinIndexedVector.cpp:2055:5: [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(startPartition_,rhs.startPartition_,((&numberPartitions_-startPartition_)+1)*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinIndexedVector.cpp:2123:5: [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(startPartition_,starts,(number+1)*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:166:8: [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(rowlower_, rhs.rowlower_, numberRows_ * sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:167:8: [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(rowupper_, rhs.rowupper_, numberRows_ * sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:171:8: [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(rowrange_,rhs.getRowRange(),numberRows_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:172:8: [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(rowsense_,rhs.getRowSense(),numberRows_*sizeof(char)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:173:8: [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(rhs_,rhs.getRightHandSide(),numberRows_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:179:8: [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(collower_, rhs.collower_, numberColumns_ * sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:180:8: [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(colupper_, rhs.colupper_, numberColumns_ * sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:183:11: [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(objective_[j], rhs.objective_[j], numberColumns_ * sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:189:8: [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(integerType_, rhs.integerType_, numberColumns_ * sizeof(char)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:226:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(hash_[section], rhs.hash_[section], maxHash_[section]*sizeof(CoinHashLink)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:536:3: [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 rName[256]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:546:2: [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 printBuffer[512]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:650: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:651: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(str,"### ERROR: value: %f\n", value); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:669: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:670: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(str,"### ERROR: value: %f\n", value); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:688: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:689: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(str,"### ERROR: value: %d\n", value); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:707: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:708: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(str,"### ERROR: value: %d\n", value); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:812:3: [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 buff[1024]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:815: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(buff, "cons%d", i); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:818:3: [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(buff, "obj"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:837:3: [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 buff[256]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:840: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(buff, "x%d", j); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:959: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 form[15]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:960: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(form, " %%.%df", decimals); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:973:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(filename,"w"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:975: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1001:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(filename,"w"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1003: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1035:4: [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 buff[256]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1042: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(buff, "cons%d", j); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1054: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(buff, "x%d", j); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1241:6: [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 form[15]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1242:6: [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(form, "%%.%df", decimals); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1307:3: [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 buff[1024]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1309:3: [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(buff, "aa"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1321: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1322: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(str,"### ERROR: Unable to locate objective function\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1429: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1430: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(str,"### ERROR: end of file reached while skipping comment\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1434: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1435: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(str,"### ERROR: error while skipping comment\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1489:2: [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 printBuffer[512]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1497: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 printBuffer[512]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1505: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 printBuffer[512]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1530: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1531: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(str,"### ERROR: card_vnames: %d number of rows: %d\n", data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1546: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 printBuffer[512]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1563:3: [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 buff[1024] = "aa", loc_name[1024], *start; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1569: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1570: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(str,"### ERROR: Unable to read objective function\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1582:8: [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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1583: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(str,"### ERROR: Too many objective functions.\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1584: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(str,"### ERROR: Change MAX_OBJECTIVES to larger number.\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1632: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(loc_name, "aa"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1675:3: [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 buff[1024], loc_name[1024], *start; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1788:3: [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 start_str[1024]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1807: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1808: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(str,"### ERROR: Unable to read row monomial\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1885:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename, "r"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1887: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1913:3: [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 buff[1024]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1917:3: [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 *objName[MAX_OBJECTIVES] = {NULL, NULL}; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1958: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1959: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(str,"### ERROR: Can not locate keyword 'Subject To'\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1978: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 rname[15]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1979: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(rname, "cons%d", cnt_row); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2057:6: [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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2066:4: [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 printBuffer[512]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2109:3: [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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2119:8: [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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2127: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2179:4: [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 printBuffer[512]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2215:4: [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 printBuffer[512]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2251:2: [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 printBuffer[512]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2335:9: [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(tempD,weights,numberEntries*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2336:9: [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(tempI,which,numberEntries*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2351:9: [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(printBuffer, data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2376: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(printBuffer,"### CoinLpIO::readLp(): set %d is empty", numberSets_); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2392:5: [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(temp,set,numberSets_*sizeof(CoinSet *)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2399:3: [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(printBuffer,"### CoinLpIO::readLp(): set %d has duplicate weights", data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2413:4: [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(set_,set,numberSets_*sizeof(CoinSet *)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2421: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2443: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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2461:10: [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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2725:4: [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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2726: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(str,"### ERROR: Hash table: j1: %d i: %d\n", j1, i); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2749:3: [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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2750:3: [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(str,"### ERROR: Hash table: too many names\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2883:8: [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 str[8192]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2884: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(str,"### ERROR: Hash table: too many names\n"); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.hpp:620:3: [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 *objName_[MAX_OBJECTIVES]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.hpp:628:3: [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 **previous_names_[2]; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.hpp:640:3: [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 **names_[2]; data/coinmp-1.8.4/CoinUtils/src/CoinMessage.cpp:80:3: [2] (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). Risk is low because the source is a constant string. strcpy(source_,"Coin"); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:75:3: [2] (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). Risk is low because the source is a constant string. strcpy(source_,"Unk"); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:313:2: [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(temp,&message,length); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:427:3: [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 new_string[8] = {'%','.','8','f','\0','\0','\0','\0'}; data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:539:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(messageBuffer_,rhs.messageBuffer_, data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:809: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(messageOut_," %d",intvalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:872: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(messageOut_," %ld",longvalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:898: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(messageOut_," %ld",longvalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:947: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(messageOut_," %c",charvalue); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.hpp:117:11: [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. mutable char message_[400]; data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.hpp:204:3: [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 source_[5]; data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.hpp:610:3: [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 messageBuffer_[COIN_MESSAGE_HANDLER_MAX_BUFFER_SIZE]; data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.hpp:629:3: [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 g_format_[8]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:317:2: [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 temp[100]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:404:6: [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 temp[20000]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:411: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(temp,"%g",value); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:797: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 name[9]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:798: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(name,"r%7.7d",numberRows_); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:931: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 name[9]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:932: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(name,"c%7.7d",numberColumns_); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3341:2: [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 temp[20000]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3381:4: [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 temp[20000]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3423:2: [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 temp[20000]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3460:4: [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 temp[20000]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3516:2: [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 temp[10000]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3518:2: [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 temp2[30]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3521: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(temp,"%g",linearRow[i]); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3530:6: [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(temp2,"%g*c%7.7d",value,jColumn); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3532:6: [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(temp2,"+%g*c%7.7d",value,jColumn); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3564:2: [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 temp[10000]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3566:2: [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 temp2[30]; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3569: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(temp,"%g",linearRow[i]); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3578:6: [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(temp2,"%g*c%7.7d",value,jColumn); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3580:6: [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(temp2,"+%g*c%7.7d",value,jColumn); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:4095:3: [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(rowType_,row,numberRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:4098:3: [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(columnType_,column,numberColumns_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful.cpp:115:18: [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. names_ = new char * [maximumItems_]; data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful.cpp:149:20: [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. names_ = new char * [maximumItems_]; data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful.cpp:177:23: [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 ** names = new char * [maximumItems_]; data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful.cpp:719:14: [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. unsigned char tempChar[4]; data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful.cpp:736:14: [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. unsigned char tempChar[8]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:205:5: [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(&value,shortValue,sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:302:7: [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(card_+82,card_,length); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:395:6: [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 x[8]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:396:6: [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(x,&value,8); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:411:6: [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 x[8]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:412:6: [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(x,&value,8); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:423:2: [2] (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). Risk is low because the source is a constant string. strcpy ( columnName_, "no_name" ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:646:8: [2] (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). Risk is low because the source is a constant string. strcpy ( columnName_, " " ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:759:4: [2] (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). Risk is low because the source is a constant string. strcpy ( columnName_, " " ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1386: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). COINColumnIndex found = atoi(name+1); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1444: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 newName[400]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1469:7: [2] (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). Risk is low because the source is a constant string. strcpy(newName,"stdin"); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1753:5: [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 ( rowName + numberRows_ + 1, freeRowName, data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1784: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 lastColumn[200]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2627:2: [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(sets,setsA,numberSets*sizeof(CoinSet **)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2688: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 buffer[1000]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2780:3: [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 name[2000]; // should be long enough data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3017:3: [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 objName[COIN_MAX_FIELD_LENGTH]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3042:26: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int number = atoi(next); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3063:11: [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 name[100]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3248: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 rowName[COIN_MAX_FIELD_LENGTH]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3275:2: [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 temp[100]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3288:4: [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 temp2[100]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3292:6: [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(temp2,"%g*",value); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3489:2: [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 temp[500]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3699:38: [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. convertRowName(int formatType, const char * name, char outputRow[100]) data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3699:51: [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. convertRowName(int formatType, const char * name, char outputRow[100]) data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3733:57: [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. convertDouble(int section,int formatType, double value, char outputValue[24], data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3734:14: [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. const char * name, char outputRow[100]) data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3734:27: [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. const char * name, char outputRow[100]) data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3747:62: [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. CoinConvertDouble(int section, int formatType, double value, char outputValue[24]) data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3757:4: [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 format[8]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3758: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(format,"%%12.%df",decimal); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3761: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(outputValue,"%13.7g",value); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3768:4: [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 format[8]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3769: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(format,"%%12.%df",decimal); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3772: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(outputValue,"%13.6g",value); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3827:2: [2] (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). Risk is low because the source is a constant string. strcpy(outputValue,"0.0"); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3833:9: [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(outputValue,"%12.6g",value); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3848: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(outputValue,"%.16g",value); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3862:9: [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(outputValue,"%12.6g",value); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3871:5: [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(shortValue,&value,sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3929:34: [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. std::string head, const char * name, data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3930:16: [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. const char outputValue[2][24], data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3931:16: [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. const char outputRow[2][100]) data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3937: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 outputColumn[9]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4027:13: [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 newName[9]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4028:13: [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(newName,"%c%7.7d",first,largest); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4157:6: [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 x[8]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4158:6: [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(x,&value,8); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4177:4: [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( sense , getRowSense(), numberRows_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4220:4: [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 outputValue[2][24]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4221:4: [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 outputRow[2][100]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4970: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(rowNames[i],"R%7.7d",i); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4976: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(rowNames[i],"R%7.7d",i); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4986: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(columnNames[i],"C%7.7d",i); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4992: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(columnNames[i],"C%7.7d",i); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5002:6: [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(columnNames[i],"C%7.7d",k); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5027: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(rowNames[i],"R%7.7d",i); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5037: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(columnNames[i],"C%7.7d",i); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5158:5: [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(integerType_,integerType,numberColumns_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5378:5: [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(rowlower_,rhs.rowlower_,numberRows_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5379:5: [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(rowupper_,rhs.rowupper_,numberRows_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5385:5: [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(collower_,rhs.collower_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5386:5: [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(colupper_,rhs.colupper_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5387:5: [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(objective_,rhs.objective_,numberColumns_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5391:5: [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(integerType_,rhs.integerType_,numberColumns_*sizeof(char)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5428:27: [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. stringElements_ = new char * [maximumStringElements_]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5938:3: [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 id [20]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5939:3: [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(id,"%d,%d,",iRow,iColumn); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5943:24: [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 ** temp = new char * [maximumStringElements_]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:6051:3: [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(which_,which,numberEntries_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:6100:3: [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(weights_,weights,numberEntries_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.hpp:166:3: [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 card_[MAX_CARD_LENGTH]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.hpp:174:3: [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 rowName_[COIN_MAX_FIELD_LENGTH]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.hpp:176:3: [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 columnName_[COIN_MAX_FIELD_LENGTH]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.hpp:196:3: [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 valueString_[COIN_MAX_FIELD_LENGTH]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.hpp:992: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 **names_[2]; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.hpp:1062:62: [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. CoinConvertDouble(int section, int formatType, double value, char outputValue[24]); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:363:3: [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(putStart,start,numberRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1127: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 msg[100]; data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1128: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(msg,"Unable to allocate factorization memory for %d elements", data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1146:3: [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(&fact->drtpiv,&rhsFact->drtpiv,5*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1147:3: [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(&fact->nrow,&rhsFact->nrow,((&fact->maxNNetas-&fact->nrow)+1)* data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1188:7: [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(fact->kw1adr,rhsFact->kw1adr,length*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1230:2: [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(fact->xeradr,rhsFact->xeradr,nCopyStart*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1231:2: [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(fact->xeradr+kCopyEnd,rhsFact->xeradr+kCopyEnd,nCopyEnd*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1255:4: [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(fact->xecadr+kCopyEnd,rhsFact->xecadr+kCopyEnd, data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1265:8: [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(hcoli+istart,hcoliR+istart,hinrow[i]*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1271:6: [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(fact->xe2adr+kCopyEnd,rhsFact->xe2adr+kCopyEnd, data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1281:8: [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(hcoli+istart,hcoliR+istart,hinrow[i]*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1282:8: [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(de2val+istart,de2valR+istart,hinrow[i]*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1307:4: [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(fact->xeeadr,rhsFact->xeeadr,nCopyStart*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization.cpp:1308:4: [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(fact->xeeadr+kCopyEnd,rhsFact->xeeadr+kCopyEnd,nCopyEnd*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization2.cpp:2080:8: [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(&hcoli[jput],&hcoli[kstart],nin*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization2.cpp:2081:8: [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(&de2val[jput],&de2val[kstart],nin*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization3.cpp:2345:4: [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(de2val+j1,dluval+j1,(j2-j1+1)*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinOslFactorization3.cpp:2356:2: [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(&dluval[1],&dluval2[1],ninbas*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinPackedMatrix.cpp:538:7: [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(index_+k,eliminatedIndex,kbad*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinPackedMatrix.cpp:539:7: [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(element_+k,eliminatedElement,kbad*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinPackedMatrix.cpp:2913: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). FILE* out = fopen(fname, "w"); data/coinmp-1.8.4/CoinUtils/src/CoinParamUtils.cpp:47:10: [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. static char line[1000] ; data/coinmp-1.8.4/CoinUtils/src/CoinParamUtils.cpp:459:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). { value = atoi(field.c_str()) ; } data/coinmp-1.8.4/CoinUtils/src/CoinParamUtils.cpp:573:3: [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 temp[101] ; data/coinmp-1.8.4/CoinUtils/src/CoinPresolveDupcol.cpp:241:5: [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(sort+nlook,sort,nlook*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinPresolveDupcol.cpp:2255:5: [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(actions,boundRecords,nactions*sizeof(action)); data/coinmp-1.8.4/CoinUtils/src/CoinPresolveHelperFunctions.cpp:216:5: [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(reinterpret_cast<void *>(&minndxs[newkcsx]), data/coinmp-1.8.4/CoinUtils/src/CoinPresolveHelperFunctions.cpp:218:5: [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(reinterpret_cast<void *>(&els[newkcsx]), data/coinmp-1.8.4/CoinUtils/src/CoinPresolveHelperFunctions.cpp:280:5: [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(dArray,elems+offset,length*sizeof(double)) ; data/coinmp-1.8.4/CoinUtils/src/CoinPresolveHelperFunctions.cpp:281:5: [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(iArray,indices+offset,length*sizeof(int)) ; } data/coinmp-1.8.4/CoinUtils/src/CoinPresolveSingleton.cpp:673:4: [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(temp,actions,nactions*sizeof(action)) ; data/coinmp-1.8.4/CoinUtils/src/CoinPresolveTighten.cpp:206: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). static int which = atoi(getenv("WZ")); data/coinmp-1.8.4/CoinUtils/src/CoinSearchTree.cpp:50:3: [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 output[33]; data/coinmp-1.8.4/CoinUtils/src/CoinSearchTree.cpp:52:3: [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(output, "%08X%08X%08X%08X", data/coinmp-1.8.4/CoinUtils/src/CoinSearchTree.hpp:249: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 output[44]; data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:381:5: [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(pivotRow_,other.pivotRow_,(2*maximumRows_+numberPivots_)*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:383:5: [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(elements_,other.elements_,(maximumRows_+numberPivots_)*maximumRows_*sizeof(CoinFactorizationDouble)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:423:4: [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(denseVector_,other.denseVector_,maximumRows_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:428:4: [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(workArea2_,other.workArea2_,maximumRows_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:433:4: [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(workArea3_,other.workArea3_,maximumRows_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:438:4: [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(vecLabels_,other.vecLabels_,maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:443:4: [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(indVector_ ,other.indVector_ , maximumRows_ *sizeof(int )); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:449:4: [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(auxVector_ ,other.auxVector_ , maximumRows_ *sizeof(double )); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:454:4: [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(auxInd_ , other.auxInd_, maximumRows_ *sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:460:4: [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(vecKeep_ ,other.vecKeep_ , maximumRows_ *sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:465:4: [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(indKeep_ , other.indKeep_, maximumRows_ *sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:470:4: [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(LrowStarts_ , other.LrowStarts_, maximumRows_ *sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:475:4: [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(LrowLengths_ , other.LrowLengths_ , maximumRows_ *sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:480:4: [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(Lrows_ , other.Lrows_, other.LrowCap_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:485:4: [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(LrowInd_, other.LrowInd_, other.LrowCap_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:491:4: [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(LcolStarts_ ,other.LcolStarts_ , maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:496:4: [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(LcolLengths_ , other.LcolLengths_ , maximumRows_ *sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:501:4: [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(Lcolumns_ ,other.Lcolumns_ , other.LcolCap_ *sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:506:4: [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(LcolInd_ , other.LcolInd_, other.LcolCap_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:512:4: [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(UrowStarts_ ,other.UrowStarts_ , maximumRows_ *sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:517:4: [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(UrowLengths_ ,other.UrowLengths_ , maximumRows_ *sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:523:4: [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(UrowCapacities_ ,other.UrowCapacities_ , maximumRows_ *sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:529:4: [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(Urows_ ,other.Urows_ , other.UrowMaxCap_ *sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:534:4: [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(UrowInd_,other.UrowInd_, other.UrowMaxCap_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:540:4: [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(prevRowInU_ , other.prevRowInU_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:545:4: [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(nextRowInU_, other.nextRowInU_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:551:4: [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(UcolStarts_ , other.UcolStarts_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:556:4: [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(UcolLengths_ , other.UcolLengths_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:562:4: [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(UcolCapacities_ ,other.UcolCapacities_ , maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:568:4: [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(Ucolumns_ ,other.Ucolumns_ , other.UcolMaxCap_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:573:4: [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(UcolInd_ , other.UcolInd_ , other.UcolMaxCap_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:578:4: [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(prevColInU_ , other.prevColInU_ , maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:583:4: [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(nextColInU_ ,other.nextColInU_ , maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:588:4: [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(colSlack_, other.colSlack_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:595:4: [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(invOfPivots_ , other.invOfPivots_, maximumRows_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:601:4: [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(colOfU_ , other.colOfU_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:606:4: [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(colPosition_, other.colPosition_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:611:4: [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(rowOfU_ , other.rowOfU_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:616:4: [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(rowPosition_ , other.rowPosition_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:621:4: [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(secRowOfU_ , other.secRowOfU_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:626:4: [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(secRowPosition_ , other.secRowPosition_, maximumRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:632:4: [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(EtaPosition_ ,other.EtaPosition_ , other.maxEtaRows_ *sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:637:4: [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(EtaStarts_, other.EtaStarts_, other.maxEtaRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:642:4: [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(EtaLengths_, other.EtaLengths_, other.maxEtaRows_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:647:4: [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(EtaInd_, other.EtaInd_, other.EtaMaxCap_*sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:652:4: [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(Eta_ , other.Eta_, other.EtaMaxCap_*sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1604:5: [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(&Urows_[UrowEnd_],&Urows_[UrowStarts_[row]], data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1606:5: [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(&UrowInd_[UrowEnd_],&UrowInd_[UrowStarts_[row]], data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1642:5: [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(&UcolInd_[UcolEnd_], &UcolInd_[UcolStarts_[column]], data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1645:2: [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(&Ucolumns_[UcolEnd_], &Ucolumns_[UcolStarts_[column]], data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1691:5: [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(aux, Lcolumns_, LcolCap_ * sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1696:5: [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(iaux, LcolInd_, LcolCap_ * sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1705:5: [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(iaux, UcolInd_, UcolMaxCap_*sizeof(int) ); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1711:2: [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(aux, Ucolumns_, UcolMaxCap_*sizeof(double) ); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1721:5: [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(iaux, UrowInd_, UrowMaxCap_*sizeof(int) ); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:1726:5: [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(aux, Urows_, UrowMaxCap_*sizeof(double) ); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2385:5: [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(&Ucolumns_[ UcolStarts_[newBasicCol] ], &newColumn[0], data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2387:5: [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(&UcolInd_[ UcolStarts_[newBasicCol] ], &indNewColumn[0], data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2495:5: [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(&Urows_[startRow],&workArea2_[0], newEls*sizeof(double) ); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2496:5: [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(&UrowInd_[startRow],&indVector_[0], newEls*sizeof(int) ); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2509:2: [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(iaux, EtaPosition_, maxEtaRows_ * sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2514:2: [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(jaux, EtaStarts_, maxEtaRows_ * sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2519:2: [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(kaux, EtaLengths_, maxEtaRows_ * sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2529:2: [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(iaux, EtaInd_, EtaSize_ * sizeof(int)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2534:2: [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(aux, Eta_, EtaSize_ * sizeof(double)); data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2547:5: [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(&secRowOfU_[0], &rowOfU_[0], data/coinmp-1.8.4/CoinUtils/src/CoinSimpFactorization.cpp:2549:5: [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(&secRowPosition_[0], &rowPosition_[0], data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:417:7: [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(rowLower+iRowBase,thisBlock->rowLowerArray(), data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:419:7: [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(rowUpper+iRowBase,thisBlock->rowUpperArray(), data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:428:7: [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(columnLower+iColumnBase,thisBlock->columnLowerArray(), data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:430:7: [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(columnUpper+iColumnBase,thisBlock->columnUpperArray(), data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:432:7: [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(objective+iColumnBase,thisBlock->objectiveArray(), data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:438:7: [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(integerType+iColumnBase,thisBlock->integerTypeArray(), data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:696:5: [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(temp,blocks_,numberElementBlocks_*sizeof(CoinBaseModel *)); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:700:5: [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(temp2,blockType_,numberElementBlocks_*sizeof(CoinModelBlockInfo)); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:706:7: [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(temp,coinModelBlocks_,numberElementBlocks_*sizeof(CoinModel *)); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:757:3: [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 generalPrint[200]; data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:785: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(generalPrint,"%d rows have %d elements",rowBlock[iRow],iRow); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1004:2: [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(generalPrint,"%d rows out of %d would be in master - no good", data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1152: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(generalPrint,"%d blocks found - %d rows, %d columns in master", data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1155: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(generalPrint,"%d blocks found (reduced to %d) - %d rows, %d columns in master", data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1217: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(generalPrint,"Block %d has %d rows and %d columns",i, data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1226: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(generalPrint,"Doesn't look good"); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1252: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 rowName[20]; data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1253: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(rowName,"row_%d",iBlock); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1254: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 columnName[20]; data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1255: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(columnName,"column_%d",iBlock); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1367: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(generalPrint,"%d columns have %d elements",columnBlock[iColumn],iColumn); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1560:2: [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(generalPrint,"%d columns out of %d would be in master - no good", data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1689: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(generalPrint,"%d blocks found - %d columns, %d rows in master", data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1692: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(generalPrint,"%d blocks found (reduced to %d) - %d columns, %d rows in master", data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1754: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(generalPrint,"Block %d has %d columns and %d rows",i, data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1764: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(generalPrint,"Doesn't look good"); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1792: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 rowName[20]; data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1793: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(rowName,"row_%d",iBlock); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1794: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 columnName[20]; data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1795: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(columnName,"column_%d",iBlock); data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1905:3: [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 generalPrint[200]; data/coinmp-1.8.4/CoinUtils/src/CoinStructuredModel.cpp:1913: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(generalPrint,"Trying for %d blocks",maxBlocks); data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartVector.hpp:442:7: [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(diffNdxs_,rhs.diffNdxs_,sze_*sizeof(unsigned int)) ; data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartVector.hpp:444:7: [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(diffVals_,rhs.diffVals_,sze_*sizeof(T)) ; data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartVector.hpp:465:5: [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(diffNdxs_,rhs.diffNdxs_,sze_*sizeof(unsigned int)) ; data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartVector.hpp:467:5: [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(diffVals_,rhs.diffVals_,sze_*sizeof(T)) ; data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartVector.hpp:482:5: [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(diffNdxs_,diffNdxs,sze*sizeof(unsigned int)) ; data/coinmp-1.8.4/CoinUtils/src/CoinWarmStartVector.hpp:484:5: [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(diffVals_,diffVals,sze*sizeof(T)) ; data/coinmp-1.8.4/CoinUtils/test/CoinMessageHandlerTest.cpp:259:3: [2] (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). Risk is low because the source is a constant string. strcpy(testMessages.source_,"Test") ; data/coinmp-1.8.4/CoinUtils/test/CoinModelTest.cpp:57:3: [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 block[9]={0,0,0,0,0,0,0,0,0}; data/coinmp-1.8.4/CoinUtils/test/CoinModelTest.cpp:59:3: [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 rowDone[3]={0,0,0}; data/coinmp-1.8.4/CoinUtils/test/CoinModelTest.cpp:61:3: [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 columnDone[3]={0,0,0}; data/coinmp-1.8.4/Osi/examples/opbdp_solve.cpp:243: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 name[9]; data/coinmp-1.8.4/Osi/examples/opbdp_solve.cpp:244: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(name,"C%7.7d",i); data/coinmp-1.8.4/Osi/src/Osi/OsiAuxInfo.cpp:128:5: [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(betterSolution,bestSolution_,CoinMin(numberColumns,sizeSolution_)*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiAuxInfo.cpp:149:3: [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(solution,bestSolution_,numberColumns*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.cpp:848:5: [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(members_,which,numberMembers_*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.cpp:850:7: [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(weights_,weights,numberMembers_*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.cpp:881:5: [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(members_,rhs.members_,numberMembers_*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.cpp:882:5: [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(weights_,rhs.weights_,numberMembers_*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.cpp:910:7: [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(members_,rhs.members_,numberMembers_*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.cpp:911:7: [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(weights_,rhs.weights_,numberMembers_*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.cpp:1545:5: [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(bound_,rhs.bound_,(numberRanges_+1)*rangeType_*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiBranchingObject.cpp:1573:7: [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(bound_,rhs.bound_,(numberRanges_+1)*rangeType_*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiPresolve.cpp:318:7: [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(originalColumn_,prob.originalColumn_,ncolsNow*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiPresolve.cpp:322:7: [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(originalRow_,prob.originalRow_,nrowsNow*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiPresolve.cpp:568: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). int val = atoi(getenv(name)); data/coinmp-1.8.4/Osi/src/Osi/OsiPresolve.cpp:1505:5: [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(sol_,presol,ncols_*sizeof(double));; data/coinmp-1.8.4/Osi/src/Osi/OsiPresolve.cpp:1507:5: [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(acts_,si->getRowActivity(),nrows_*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiRowCutDebugger.cpp:1625: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). FILE * fp = fopen("xx.xx","wb"); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:121:3: [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(tempI+putNow,indices_+start_[2-base],numberNow*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:122:3: [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(tempD+putNow,bound_+start_[2-base],numberNow*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:123:3: [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(tempI+putNew,whichLower,numberTighterLower*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:124:3: [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(tempD+putNew,newLower,numberTighterLower*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:126:3: [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(tempI+putNew,whichUpper,numberTighterUpper*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:127:3: [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(tempD+putNew,newUpper,numberTighterUpper*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:184:3: [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(tempI+putNow,indices_+start_[2-base],numberNow*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:185:3: [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(tempD+putNow,bound_+start_[2-base],numberNow*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:186:3: [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(tempI+putNew,whichLower,numberTighterLower*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:187:3: [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(tempD+putNew,newLower,numberTighterLower*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:189:3: [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(tempI+putNew,whichUpper,numberTighterUpper*sizeof(int)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverBranch.cpp:190:3: [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(tempD+putNew,newUpper,numberTighterUpper*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverInterface.cpp:1329:4: [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(objective,getObjCoefficients(),numcols*sizeof(double)); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverInterface.cpp:1457:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(filename,"w"); data/coinmp-1.8.4/Osi/src/Osi/OsiSolverInterface.cpp:1534:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(filename, "r"); data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiSimplexAPITest.cpp:533:3: [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(fakeCost,si->getObjCoefficients(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:74: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 s[100]; data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:1838:3: [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 c[2] = { 'L', 'U' }; data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:2533:27: [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 * rowSense = new char [nrows]; data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:2774:27: [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 * rowSense = new char [numrows]; data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:2961:3: [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 filetype[4] = "MPS"; data/coinmp-1.8.4/Osi/src/OsiGlpk/OsiGlpkSolverInterface.cpp:135: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 s[100] ; data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp:57: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 s[1001]; \ data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp:60: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( s, "Error <%d> from GUROBI function call: ", _retcode ); \ data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp:64: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( s, "Error <%d> from GUROBI function call (no license?).", _retcode ); \ data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp:2442:5: [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(ind, columnIndices, num * sizeof(int)); data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp:2783:27: [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 * rowSense = new char [nrows]; data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp:3030:27: [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 * rowSense = new char [numrows]; data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:137: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 s[100]; data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:4054:20: [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. rowSense = new char [nrows]; data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:4353:27: [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 * rowSense = new char [numrows]; data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:1246:6: [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 qbtype[2] = { 'L', 'U' }; data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:1339: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 qrtype[1] = {sense}; data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:1755:3: [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 probName[256]; data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:1756:3: [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(probName, "Prob%i", osiSerial_); data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:1827:3: [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 pname[256]; // Problem names can be 200 chars in XPRESS 12 data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:1873:27: [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 * rowSense = new char [numrows]; data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:1950:3: [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 probName[256]; data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:1951:3: [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(probName, "Prob%i", osiSerial_); data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:2017:3: [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 pname[256]; // Problem names can be 200 chars in XPRESS 12 data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:2130:3: [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 pname[256]; // Problem names can be 200 chars in XPRESS 12 data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:2258:41: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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 (logFileName_!=NULL) logFilePtr_ = fopen(logFileName_,"a+"); data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:2412:25: [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 *btype = new char [lbs.getNumElements() + ubs.getNumElements()]; data/coinmp-1.8.4/Osi/test/OsiGlpkSolverInterfaceTest.cpp:653:5: [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(fakeCost,m.getObjCoefficients(),numberColumns*sizeof(double)); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:200:4: [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 s[100]; data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:201: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). FILE* infile = fopen(filename, "r"); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:217:3: [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(parm.temp_dualfile, sss.c_str(), sss.length()); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:225: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). parm.printflag = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:229: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). parm.printinvl = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:233:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). parm.maxsgriters = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:237: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). parm.heurinvl = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:241:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). parm.greentestinvl = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:245: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). parm.yellowtestinvl = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:249:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). parm.redtestinvl = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:269: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). parm.alphaint = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:290:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). parm.ascent_check_invl = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:294:30: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). parm.minimum_rel_ascent = atoi(&s[i+1]); data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:486: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). FILE* outfile = fopen(parm.temp_dualfile, "w"); data/coinmp-1.8.4/Cbc/examples/driver6.cpp:30:17: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gotChar = getchar(); data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:51:22: [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 lengthMask = strlen(pMask2) ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:114:26: [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(oldMask) - 1 ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:139:22: [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(maskThis) ; data/coinmp-1.8.4/Cbc/src/CbcGenSolution.cpp:174:18: [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(checkC); data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:2774:13: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. equal[0] = 65535; data/coinmp-1.8.4/Cbc/src/CbcHeuristic.cpp:2796:38: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. equal_[i] = (unsigned short) equal; data/coinmp-1.8.4/Cbc/src/CbcHeuristicFPump.cpp:1963:41: [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). sprintf(pumpPrint + strlen(pumpPrint), " of which %d were internal integer and %d internal continuous", data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:892:52: [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). memmove(expression, first + 1, strlen(first + 1) + 1); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:904:26: [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). first += strlen(name); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:916:38: [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). first += strlen(name); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1046:25: [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). assert (strlen(expr) < 20000); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1081:29: [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). assert (strlen(el) < 20000); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1877: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). assert (strlen(expr) < 20000); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:1902:25: [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). assert (strlen(expr) < 20000); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3327: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). assert (strlen(expr) < 20000); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:3364:25: [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). assert (strlen(expr) < 20000); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7730: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). assert (strlen(expr) < 20000); data/coinmp-1.8.4/Cbc/src/CbcLinked.cpp:7765:25: [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). assert (strlen(expr) < 20000); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:23: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). const size_t l = strlen(str); data/coinmp-1.8.4/Cbc/src/CbcMipStartIO.cpp:52: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). if (strlen(col[0])&&isdigit(col[0][0])&&(nread>=3)) data/coinmp-1.8.4/Cbc/src/CbcModel.cpp:17559:10: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). xx=getc(stdin); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4744:2: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:4881:2: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5149: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). sprintf(general+strlen(general),"%d <= %g ",groupCounts[i],groupValue[i]); data/coinmp-1.8.4/Cbc/src/CbcNode.cpp:5201: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). sprintf(general+strlen(general),"%d <= %g ",groupCounts[i],groupValue[i]); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1100: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). size_t length = strlen(input); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1884:32: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1887:32: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1890:29: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1893:29: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1908:44: [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). sprintf(generalPrint + strlen(generalPrint), "%s ", argv[i]); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1911:44: [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). sprintf(generalPrint + strlen(generalPrint), "(default strategy 1)"); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:1927:43: [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 = static_cast<int>(strlen(temp)); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2148:49: [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 (!noPrinting_ && strlen(message)) { data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2157:49: [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 (!noPrinting_ && strlen(message)) { data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2166:49: [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 (!noPrinting_ && strlen(message)) { data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2265:49: [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 (!noPrinting_ && strlen(message)) { data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2428:49: [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 (!noPrinting_ && strlen(message)) { data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:2457:45: [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 (!noPrinting_ && strlen(message)) { data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3036:31: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3038:31: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3041:31: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:3044:31: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7518:35: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7523:31: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7529:32: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7532:32: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7536:32: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7539:32: [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). sprintf(generalPrint + strlen(generalPrint), data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:7711:49: [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). size_t length = strlen(c_name); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8060:25: [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 lengthName = strlen(fileName.c_str()); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8200: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(name); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8374:19: [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(name); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:8375:23: [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 lengthMask=strlen(pos); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9161:66: [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). for (int i = 0; i < static_cast<int>(strlen(buffer)); i++) { data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9467:57: [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). size_t lengthMask = strlen(pMask2); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9516:61: [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). size_t length = strlen(oldMask) - 1; data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9539:57: [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). size_t length = strlen(maskThis); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9725:60: [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). size_t n = strlen(name); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9776:64: [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). size_t n = strlen(name); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9796:64: [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). sprintf(temp + strlen(temp), ", %15.8g", data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:9798:60: [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). size_t n = strlen(temp); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11692: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). size_t length = strlen(checkC); data/coinmp-1.8.4/Cbc/src/CbcSolver.cpp:11856:5: [1] (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). Risk is low because the source is a constant character. strcpy(line[numberLines++], "5"); data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.cpp:386:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(array, name.c_str(), maxNumberCharacters); data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.cpp:515:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(name, rowname.c_str(), maxLength); data/coinmp-1.8.4/Cbc/src/Cbc_C_Interface.cpp:522:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(name, colname.c_str(), maxLength); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:64: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(v)) data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:73: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(v)) data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:91: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). if (strlen(phrase)) data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:93:16: [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). } else if (strlen(phrase)) { data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:612:18: [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(algFound)) { data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:625:27: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int getChar = getc(stdin); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:998:37: [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). nl = jac0dim(stub, (ftnlen) strlen(stub)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1104:37: [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). nl = jac0dim(stub, (ftnlen) strlen(stub)); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1402:54: [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). assert (static_cast<int>(strlen(temp)) < 30*numberColumns_); data/coinmp-1.8.4/Cbc/src/Cbc_ampl.cpp:1446:54: [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). assert (static_cast<int>(strlen(temp)) < 30*numberColumns_); data/coinmp-1.8.4/Cgl/examples/cgl_data_test.cpp:42:27: [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(strcmp(&(f_name_lp[strlen(f_name_lp)-3]), ".lp") == 0) { data/coinmp-1.8.4/Cgl/examples/cgl_data_test.cpp:46:29: [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(strcmp(&(f_name_lp[strlen(f_name_lp)-4]), ".mps") == 0) { data/coinmp-1.8.4/Cgl/examples/cgl_data_test.cpp:114:27: [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(strcmp(&(f_name_lp[strlen(f_name_lp)-3]), ".lp") == 0) { data/coinmp-1.8.4/Cgl/examples/cgl_data_test.cpp:118:29: [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(strcmp(&(f_name_lp[strlen(f_name_lp)-4]), ".mps") == 0) { data/coinmp-1.8.4/Cgl/src/CglClique/CglClique.cpp:720:17: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. CoinAbsFltEq equal(1.0e-12); data/coinmp-1.8.4/Cgl/src/CglClique/CglClique.cpp:721:35: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. cs.insertIfNotDuplicate(rowcut,equal); data/coinmp-1.8.4/Cgl/src/CglClique/CglClique.cpp:914:15: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. CoinAbsFltEq equal(1.0e-12); data/coinmp-1.8.4/Cgl/src/CglClique/CglClique.cpp:915:29: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. cs.insertIfNotDuplicate(rc,equal); data/coinmp-1.8.4/Cgl/src/CglZeroHalf/Cgl012cut.cpp:3179:13: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. short int equal; data/coinmp-1.8.4/Cgl/src/CglZeroHalf/Cgl012cut.cpp:3208:10: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if ( equal ) { data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:4482:65: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name))); data/coinmp-1.8.4/Clp/src/AbcSimplex.cpp:4494:65: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name))); data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:233: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). if (!fpFollow && strlen(forceFile)) { data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4073:20: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. CoinRelFltEq equal; data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4077:8: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(!equal(abcUpper_[iSequence], (lowerValue + currentDualBound_)) || data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4078:9: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. !(equal(abcUpper_[iSequence], value) || data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4079:9: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. equal(abcLower_[iSequence], value))) { data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4089:8: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(!equal(abcLower_[iSequence], (upperValue - currentDualBound_)) || data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4090:9: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. !(equal(abcUpper_[iSequence], value) || data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4091:9: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. equal(abcLower_[iSequence], value))) { data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4120:7: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!equal(abcLower_[iSequence], lowerValue)) data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4122:7: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!equal(abcUpper_[iSequence], upperValue)) data/coinmp-1.8.4/Clp/src/AbcSimplexDual.cpp:4133:7: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!equal(abcUpper_[iSequence], abcLower_[iSequence])) { data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:472:36: [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 = static_cast<int>(strlen(input)); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:517:24: [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 (doPrinting && strlen(printArray)) data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:560:24: [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 (doPrinting && strlen(printArray)) data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:658:24: [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 (doPrinting && strlen(printArray)) data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:807:24: [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 (doPrinting && strlen(printArray)) data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:854:24: [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 (doPrinting && strlen(printArray)) data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:956:24: [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 (doPrinting && strlen(printArray)) data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1246: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). length = strlen(environ); data/coinmp-1.8.4/Clp/src/CbcOrClpParam.cpp:1266:25: [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(line); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:2979:79: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:2987:79: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3063:79: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3071:79: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3397:74: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(rowNames_[iRow].c_str()))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3403:74: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(columnNames_[iColumn].c_str()))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3485:69: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(rowNames_[iRow].c_str()))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3491:69: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(columnNames_[iColumn].c_str()))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3528:64: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name.c_str()))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3565:64: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name.c_str()))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3585:69: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(rowNames_[iRow-first].c_str()))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3606:69: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(columnNames_[iColumn-first].c_str()))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3626:51: [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 (rowNames && rowNames[iRow-first] && strlen(rowNames[iRow-first])) { data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3628:74: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(rowNames[iRow-first]))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3654:60: [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 (columnNames && columnNames[iColumn-first] && strlen(columnNames[iColumn-first])) { data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3656:74: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(columnNames[iColumn-first]))); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3901:29: [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(xx); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:3941:29: [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(xx); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4125:27: [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). size_t length = strlen(temp); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4135:27: [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). size_t length = strlen(temp); data/coinmp-1.8.4/Clp/src/ClpModel.cpp:4177:34: [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). assert (strlen(temp) < 100000); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:7610:74: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name))); data/coinmp-1.8.4/Clp/src/ClpSimplex.cpp:7622:74: [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). maxLength = CoinMax(maxLength, static_cast<unsigned int> (strlen(name))); data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:2890:23: [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 (!fpFollow && strlen(forceFile)) { data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7879:29: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. CoinRelFltEq equal; data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7883:30: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(!equal(upper_[iSequence], (lowerValue + dualBound_)) || data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7884:38: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. !(equal(upper_[iSequence], value) || data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7885:38: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. equal(lower_[iSequence], value))) { data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7895:30: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(!equal(lower_[iSequence], (upperValue - dualBound_)) || data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7896:38: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. !(equal(upper_[iSequence], value) || data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7897:38: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. equal(lower_[iSequence], value))) { data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7926:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!equal(lower_[iSequence], lowerValue)) data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7928:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!equal(upper_[iSequence], upperValue)) data/coinmp-1.8.4/Clp/src/ClpSimplexDual.cpp:7939:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!equal(upper_[iSequence], lower_[iSequence])) { data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7915: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). int n=strlen(line); data/coinmp-1.8.4/Clp/src/ClpSimplexOther.cpp:7933: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). int n2=strlen(temp); data/coinmp-1.8.4/Clp/src/ClpSolve.cpp:5810:7: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1379:57: [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). size_t length = strlen(c_name); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1613:64: [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(xx); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:1630:64: [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(xx); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2513:66: [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). size_t lengthMask = strlen(pMask2); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2562:72: [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). size_t length = strlen(oldMask) - 1; data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2585:67: [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). size_t length = strlen(maskThis); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2764:72: [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). size_t n = strlen(name); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:2802:67: [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). size_t n = strlen(name); data/coinmp-1.8.4/Clp/src/ClpSolver.cpp:4411:22: [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). size_t length = strlen(checkC); data/coinmp-1.8.4/Clp/src/Clp_C_Interface.cpp:467: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) strlen(name.c_str()))+1) ; data/coinmp-1.8.4/Clp/src/Clp_C_Interface.cpp:468:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(array, name.c_str(), maxNumberCharacters - 1); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:61: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(v)) data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:70: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(v)) data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:88: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). if (strlen(phrase)) data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:90:16: [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). } else if (strlen(phrase)) { data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:609:18: [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(algFound)) { data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:622:27: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int getChar = getc(stdin); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:995:37: [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). nl = jac0dim(stub, (ftnlen) strlen(stub)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1101:37: [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). nl = jac0dim(stub, (ftnlen) strlen(stub)); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1398:37: [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). assert (strlen(temp) < 1000); data/coinmp-1.8.4/Clp/src/Clp_ampl.cpp:1443:37: [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). assert (strlen(temp) < 1000); data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization4.cpp:3457:7: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(10000000); data/coinmp-1.8.4/Clp/src/CoinAbcBaseFactorization4.cpp:3847:7: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(10000000); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:74:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(SolverName, CoinGetSolverName(), buflen-1); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:76:14: [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). return (int)strlen(SolverName); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:88:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(VersionStr, CoinGetVersionStr(), buflen-1); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:90:14: [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). return (int)strlen(VersionStr); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:463:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ProbName, CoinGetProblemName(hProb), buflen-1); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:465:14: [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). return (int)strlen(ProbName); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:497:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ColName, CoinGetColName(hProb, col), buflen-1); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:499:14: [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). return (int)strlen(ColName); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:513:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(RowName, CoinGetRowName(hProb, row), buflen-1); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:515:14: [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). return (int)strlen(RowName); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:616:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(SolutionText, CoinGetSolutionText(hProb), buflen-1); data/coinmp-1.8.4/CoinMP/src/CoinMP.cpp:618:14: [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). return (int)strlen(SolutionText); data/coinmp-1.8.4/CoinMP/src/CoinOption.c:158:4: [1] (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). Risk is low because the source is a constant character. strcpy(OptionName, ""); data/coinmp-1.8.4/CoinMP/src/CoinOption.c:163:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(OptionName, pOption->OptionTable[OptionNr].OptionName, buflen-1); data/coinmp-1.8.4/CoinMP/src/CoinOption.c:188:4: [1] (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). Risk is low because the source is a constant character. strcpy(ShortName, ""); data/coinmp-1.8.4/CoinMP/src/CoinOption.c:193:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ShortName, pOption->OptionTable[OptionNr].ShortName, buflen-1); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:131: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). len = strlen(ProblemName); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:135:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(pProblem->ProblemName, ProblemName, len); data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:199:35: [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). pProblem->lenObjNameBuf = (int)strlen(ObjectName) + 1; data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:460:14: [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 = (int)strlen(pName) + 1; data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:475:14: [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 = (int)strlen(NameList[i]) + 1; data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:493:14: [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 = (int)strlen(NamesList[i]) + 1; data/coinmp-1.8.4/CoinMP/src/CoinProblem.c:510:14: [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 = (int)strlen(NamesList[i]) + 1; data/coinmp-1.8.4/CoinMP/src/CoinResult.c:19:2: [1] (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). Risk is low because the source is a constant character. strcpy(pResult->SolutionText, ""); data/coinmp-1.8.4/CoinMP/src/CoinSolver.c:17:2: [1] (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). Risk is low because the source is a constant character. strcpy(pSolver->LogFilename, ""); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:68:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual int read (void *buffer, int size) data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:101:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual int read (void *buffer, int size) data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.cpp:591:30: [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 len = static_cast<int>(strlen (s)); data/coinmp-1.8.4/CoinUtils/src/CoinFileIO.hpp:65:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual int read (void *buffer, int size) = 0; data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:534:38: [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). const int len = static_cast<int>(strlen(name)); data/coinmp-1.8.4/CoinUtils/src/CoinHelperFunctions.hpp:947:29: [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). return static_cast<int>(strlen(string)); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1310:18: [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). size_t lbuff = strlen(buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1318: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). lbuff = strlen(buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1338:18: [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). size_t lbuff = strlen(buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1393:18: [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). size_t lbuff = strlen(buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1405:18: [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). size_t lbuff = strlen(buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1427:32: [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). while(strcspn(buff, "\n") == strlen(buff)) { // end of line not read yet data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1480: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). lname = strlen(name); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1574: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). if(buff[strlen(buff)-1] == ':') { data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1575:10: [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). buff[strlen(buff)-1] = '\0'; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1610: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(buff) == 1) { data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1621: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(buff) == 1) { data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1688: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(buff) == 1) { data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1699: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(buff) == 1) { data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1833:18: [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). size_t lbuff = strlen(buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1955: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). size_t lbuff = strlen(buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1967: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). if(buff[strlen(buff)-1] == ':') { data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:1968: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). buff[strlen(buff)-1] = '\0'; data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2033:7: [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(buff) == 1) { data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2091: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). if(strlen(buff) == 1) { data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2268:18: [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(buff); data/coinmp-1.8.4/CoinUtils/src/CoinLpIO.cpp:2320:18: [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(next+1); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:288:32: [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 = static_cast<int>(strlen(message_[i]->message())); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:308:32: [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 = static_cast<int>(strlen(message.message())); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:635:22: [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). messageOut_ += strlen(messageOut_) ; data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:678:34: [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). messageOut_ = messageBuffer_+strlen(messageBuffer_) ; data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:755:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(messageOut_,start,numberToCopy); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:781:24: [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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:805:15: [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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:810: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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:837:19: [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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:841:15: [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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:845:7: [1] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source is a constant character. sprintf(messageOut_," "); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:848: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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:868:15: [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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:873: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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:894:15: [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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:899: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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:919:15: [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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:924: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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:943:15: [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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:948: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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:967:15: [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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:972: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). messageOut_+=strlen(messageOut_); data/coinmp-1.8.4/CoinUtils/src/CoinMessageHandler.cpp:992:2: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(messageOut_,"\n") ; data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:316:10: [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). assert (strlen(m.columnName(iColumn))<100); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3340:10: [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). assert (strlen(expr)<20000); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3380: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). assert (strlen(expr)<20000); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3422:10: [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). assert (strlen(expr)<20000); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3459: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). assert (strlen(expr)<20000); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3524:27: [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). put = static_cast<int>(strlen(temp)); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3533:41: [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 nextPut = put + static_cast<int>(strlen(temp2)); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3572:27: [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). put = static_cast<int>(strlen(temp)); data/coinmp-1.8.4/CoinUtils/src/CoinModel.cpp:3581:41: [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 nextPut = put + static_cast<int>(strlen(temp2)); data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful.cpp:424:35: [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 = static_cast<int> (strlen(name)); data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful2.cpp:595: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). # define yystrlen strlen data/coinmp-1.8.4/CoinUtils/src/CoinModelUseful2.cpp:717:54: [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). ptr->name = reinterpret_cast<char *> (malloc (strlen (sym_name) + 1)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:224:19: [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). *output=ptr+strlen(ptr); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:370:32: [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). position_ = eol_ = card_+strlen(card_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:433:37: [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 ( !strncmp ( card_, section[i], strlen ( section[i] ) ) ) { data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:477:28: [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 n = static_cast<int>(strlen(from)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:522:22: [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). eol_ = card_ + strlen ( card_ ); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:837:37: [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 ( !strncmp ( card_, section[i], strlen ( section[i] ) ) ) { data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:956: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). while(!strlen(card_)) { data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:960:18: [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). eol_ = card_+strlen(card_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:971:15: [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). eol_ = card_+strlen(card_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:985:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(columnName_,position_,length); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1005:15: [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). eol_ = card_+strlen(card_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1018:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(rowName_,position_,length); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1041:15: [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). eol_ = card_+strlen(card_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1091:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(rowName_,position_,length); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1117:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(columnName_,position_,length); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1139:15: [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). eol_ = card_+strlen(card_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1148:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(rowName_,position_,length); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1164:15: [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). eol_ = card_+strlen(card_); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1254:35: [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 = static_cast<int>(strlen(thisName)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1271:35: [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 = static_cast<int>(strlen(thisName)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1335:33: [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 = static_cast<int>(strlen(name)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1446:22: [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 (extension&&strlen(extension)) { data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1448:27: [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 i = static_cast<int>(strlen(filename))-1; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:1461:4: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(newName,"."); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2781: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). assert (strlen(modelName)<2000&&(!dataName||strlen(dataName)<2000)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:2781:47: [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). assert (strlen(modelName)<2000&&(!dataName||strlen(dataName)<2000)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:3982:25: [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 (name[0]==first&&strlen(name)==8) { data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4007:27: [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 (name[0]==first&&strlen(name)==8) { data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4112: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). if (strlen(rowNames[i]) > length) { data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4113:29: [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 = static_cast<int>(strlen(rowNames[i])); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4119:7: [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(columnNames[i]) > length) { data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4120:32: [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 = static_cast<int>(strlen(columnNames[i])); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4140: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). if (strlen(problemName_) >= 8) { data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:4144:17: [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). line.append(8-strlen(problemName_), ' '); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5838:43: [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). const char * quad = cardReader_->card()+strlen(cardReader_->card())-4; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5855:32: [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). const char * quad = card+strlen(card)-4; data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5940:28: [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 n = static_cast<int>(strlen(id)+strlen(value)); data/coinmp-1.8.4/CoinUtils/src/CoinMpsIO.cpp:5940:39: [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 n = static_cast<int>(strlen(id)+strlen(value)); data/coinmp-1.8.4/CoinUtils/src/CoinPackedVectorBase.cpp:141:12: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. std::equal(getIndices(),getIndices()+getNumElements(), data/coinmp-1.8.4/CoinUtils/src/CoinPackedVectorBase.cpp:143:12: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. std::equal(getElements(),getElements()+getNumElements(), data/coinmp-1.8.4/CoinUtils/src/CoinParamUtils.cpp:572:33: [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 = static_cast<int>(strlen(msg)) ; data/coinmp-1.8.4/Osi/src/Osi/OsiRowCutDebugger.cpp:268:32: [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). for (i=0;i<static_cast<int> (strlen(model));i++) { data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiUnitTests.hpp:260:12: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::getchar(); data/coinmp-1.8.4/Osi/src/OsiCommonTest/OsiUnitTests.hpp:345:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); \ data/coinmp-1.8.4/Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:104:15: [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). size_t len = strlen(msg); data/coinmp-1.8.4/Osi/src/OsiGrb/OsiGrbSolverInterface.cpp:61:7: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat(s, GRBgeterrormsg(OsiGrbSolverInterface::globalenv_), 1000); \ data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:48:8: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef getc data/coinmp-1.8.4/Osi/src/OsiMsk/OsiMskSolverInterface.cpp:504:3: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:2157:28: [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). char* fullname = new char[strlen(filename) + strlen(extension) + 2]; data/coinmp-1.8.4/Osi/src/OsiXpr/OsiXprSolverInterface.cpp:2157:47: [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). char* fullname = new char[strlen(filename) + strlen(extension) + 2]; data/coinmp-1.8.4/Osi/test/OsiTestSolver.cpp:207:26: [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). const size_t len = strlen(s) - 1; ANALYSIS SUMMARY: Hits = 2802 Lines analyzed = 592857 in approximately 14.50 seconds (40895 lines/second) Physical Source Lines of Code (SLOC) = 454844 Hits@level = [0] 6406 [1] 308 [2] 2112 [3] 79 [4] 295 [5] 8 Hits@level+ = [0+] 9208 [1+] 2802 [2+] 2494 [3+] 382 [4+] 303 [5+] 8 Hits/KSLOC@level+ = [0+] 20.2443 [1+] 6.16035 [2+] 5.4832 [3+] 0.839848 [4+] 0.666162 [5+] 0.0175884 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.