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/python-escript-5.5/ripley/src/domainhelpers.cpp
Examining data/python-escript-5.5/ripley/src/LameAssembler3D.cpp
Examining data/python-escript-5.5/ripley/src/WaveAssembler3D.h
Examining data/python-escript-5.5/ripley/src/blocktools2.cpp
Examining data/python-escript-5.5/ripley/src/WaveAssembler2D.h
Examining data/python-escript-5.5/ripley/src/RipleySystemMatrix.h
Examining data/python-escript-5.5/ripley/src/domainhelpers.h
Examining data/python-escript-5.5/ripley/src/RipleyDomain.h
Examining data/python-escript-5.5/ripley/src/blocktools.cpp
Examining data/python-escript-5.5/ripley/src/MultiBrick.cpp
Examining data/python-escript-5.5/ripley/src/WaveAssembler3D.cpp
Examining data/python-escript-5.5/ripley/src/MultiRectangle.h
Examining data/python-escript-5.5/ripley/src/LameAssembler3D.h
Examining data/python-escript-5.5/ripley/src/Brick.h
Examining data/python-escript-5.5/ripley/src/Ripley.h
Examining data/python-escript-5.5/ripley/src/AbstractAssembler.h
Examining data/python-escript-5.5/ripley/src/DefaultAssembler2D.h
Examining data/python-escript-5.5/ripley/src/DefaultAssembler3D.cpp
Examining data/python-escript-5.5/ripley/src/LameAssembler2D.h
Examining data/python-escript-5.5/ripley/src/Brick.cpp
Examining data/python-escript-5.5/ripley/src/WaveAssembler2D.cpp
Examining data/python-escript-5.5/ripley/src/Rectangle.cpp
Examining data/python-escript-5.5/ripley/src/MultiRectangle.cpp
Examining data/python-escript-5.5/ripley/src/DefaultAssembler2D.cpp
Examining data/python-escript-5.5/ripley/src/MultiBrick.h
Examining data/python-escript-5.5/ripley/src/LameAssembler2D.cpp
Examining data/python-escript-5.5/ripley/src/RipleyDomain.cpp
Examining data/python-escript-5.5/ripley/src/DefaultAssembler3D.h
Examining data/python-escript-5.5/ripley/src/ripleycpp.cpp
Examining data/python-escript-5.5/ripley/src/system_dep.h
Examining data/python-escript-5.5/ripley/src/blocktools.h
Examining data/python-escript-5.5/ripley/src/Rectangle.h
Examining data/python-escript-5.5/ripley/src/RipleyException.h
Examining data/python-escript-5.5/ripley/test/SystemMatrixTestCase.cpp
Examining data/python-escript-5.5/ripley/test/ripley_UnitTest.cpp
Examining data/python-escript-5.5/ripley/test/SystemMatrixTestCase.h
Examining data/python-escript-5.5/trilinoswrap/src/CrsMatrixWrapper.h
Examining data/python-escript-5.5/trilinoswrap/src/BlockCrsMatrixWrapper.cpp
Examining data/python-escript-5.5/trilinoswrap/src/PreconditionerFactory.cpp
Examining data/python-escript-5.5/trilinoswrap/src/types.h
Examining data/python-escript-5.5/trilinoswrap/src/BlockCrsMatrixWrapper.h
Examining data/python-escript-5.5/trilinoswrap/src/BelosWrapper.h
Examining data/python-escript-5.5/trilinoswrap/src/CrsMatrixWrapper.cpp
Examining data/python-escript-5.5/trilinoswrap/src/TrilinosMatrixAdapter.h
Examining data/python-escript-5.5/trilinoswrap/src/Amesos2Wrapper.cpp
Examining data/python-escript-5.5/trilinoswrap/src/PreconditionerFactory.h
Examining data/python-escript-5.5/trilinoswrap/src/TrilinosMatrixAdapter.cpp
Examining data/python-escript-5.5/trilinoswrap/src/BelosWrapper.cpp
Examining data/python-escript-5.5/trilinoswrap/src/AbstractMatrixWrapper.h
Examining data/python-escript-5.5/trilinoswrap/src/TrilinosAdapterException.h
Examining data/python-escript-5.5/trilinoswrap/src/Amesos2Wrapper.h
Examining data/python-escript-5.5/trilinoswrap/src/UnrolledBlockCrsMatrixWrapper.h
Examining data/python-escript-5.5/trilinoswrap/src/util.h
Examining data/python-escript-5.5/trilinoswrap/src/UnrolledBlockCrsMatrixWrapper.cpp
Examining data/python-escript-5.5/pythonMPI/src/ScriptMPI.cpp
Examining data/python-escript-5.5/pythonMPI/src/ScriptMPIredirect.cpp
Examining data/python-escript-5.5/paso/src/performance.h
Examining data/python-escript-5.5/paso/src/ReactiveSolver.h
Examining data/python-escript-5.5/paso/src/Preconditioner.cpp
Examining data/python-escript-5.5/paso/src/Options.h
Examining data/python-escript-5.5/paso/src/Options.cpp
Examining data/python-escript-5.5/paso/src/BiCGStab.cpp
Examining data/python-escript-5.5/paso/src/mmio.cpp
Examining data/python-escript-5.5/paso/src/Preconditioner.h
Examining data/python-escript-5.5/paso/src/Coupler.h
Examining data/python-escript-5.5/paso/src/MKL.h
Examining data/python-escript-5.5/paso/src/Solver.h
Examining data/python-escript-5.5/paso/src/PCG.cpp
Examining data/python-escript-5.5/paso/src/SparseMatrix.cpp
Examining data/python-escript-5.5/paso/src/ILU.cpp
Examining data/python-escript-5.5/paso/src/PasoUtil.cpp
Examining data/python-escript-5.5/paso/src/Paso.h
Examining data/python-escript-5.5/paso/src/Pattern_mis.cpp
Examining data/python-escript-5.5/paso/src/GMRES.cpp
Examining data/python-escript-5.5/paso/src/BlockOps.h
Examining data/python-escript-5.5/paso/src/SystemMatrix_mergeMainAndCouple.cpp
Examining data/python-escript-5.5/paso/src/SystemMatrix_debug.cpp
Examining data/python-escript-5.5/paso/src/FluxLimiter.cpp
Examining data/python-escript-5.5/paso/src/performance.cpp
Examining data/python-escript-5.5/paso/src/SystemMatrix.h
Examining data/python-escript-5.5/paso/src/Pattern.cpp
Examining data/python-escript-5.5/paso/src/UMFPACK.cpp
Examining data/python-escript-5.5/paso/src/SystemMatrixPattern.cpp
Examining data/python-escript-5.5/paso/src/SparseMatrix_getSubmatrix.cpp
Examining data/python-escript-5.5/paso/src/SharedComponents.h
Examining data/python-escript-5.5/paso/src/PasoUtil.h
Examining data/python-escript-5.5/paso/src/MINRES.cpp
Examining data/python-escript-5.5/paso/src/Transport.cpp
Examining data/python-escript-5.5/paso/src/MKL.cpp
Examining data/python-escript-5.5/paso/src/FCT_Solver.h
Examining data/python-escript-5.5/paso/src/solve.cpp
Examining data/python-escript-5.5/paso/src/NewtonGMRES.cpp
Examining data/python-escript-5.5/paso/src/SystemMatrix_copyRemoteCoupleBlock.cpp
Examining data/python-escript-5.5/paso/src/SystemMatrix.cpp
Examining data/python-escript-5.5/paso/src/SystemMatrix_loadMM.cpp
Examining data/python-escript-5.5/paso/src/Functions.h
Examining data/python-escript-5.5/paso/src/SparseMatrix_MatrixMatrixTranspose.cpp
Examining data/python-escript-5.5/paso/src/UMFPACK.h
Examining data/python-escript-5.5/paso/src/SystemMatrix_MatrixVector.cpp
Examining data/python-escript-5.5/paso/src/Functions.cpp
Examining data/python-escript-5.5/paso/src/SparseMatrix_MatrixMatrix.cpp
Examining data/python-escript-5.5/paso/src/Coupler.cpp
Examining data/python-escript-5.5/paso/src/GMRES2.cpp
Examining data/python-escript-5.5/paso/src/SystemMatrixPattern_unrollBlocks.cpp
Examining data/python-escript-5.5/paso/src/SystemMatrixPattern.h
Examining data/python-escript-5.5/paso/src/SystemMatrix_extendedRows.cpp
Examining data/python-escript-5.5/paso/src/SchurComplement.cpp
Examining data/python-escript-5.5/paso/src/Pattern.h
Examining data/python-escript-5.5/paso/src/RILU.cpp
Examining data/python-escript-5.5/paso/src/Solver_Function.cpp
Examining data/python-escript-5.5/paso/src/FCT_Solver.cpp
Examining data/python-escript-5.5/paso/src/SparseMatrix_nullifyRowsAndCols.cpp
Examining data/python-escript-5.5/paso/src/Transport_solve.cpp
Examining data/python-escript-5.5/paso/src/FluxLimiter.h
Examining data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp
Examining data/python-escript-5.5/paso/src/PasoException.h
Examining data/python-escript-5.5/paso/src/Transport.h
Examining data/python-escript-5.5/paso/src/TFQMR.cpp
Examining data/python-escript-5.5/paso/src/Solver.cpp
Examining data/python-escript-5.5/paso/src/SparseMatrix_MatrixVector.cpp
Examining data/python-escript-5.5/paso/src/Smoother.cpp
Examining data/python-escript-5.5/paso/src/SparseMatrix.h
Examining data/python-escript-5.5/paso/src/mmio.h
Examining data/python-escript-5.5/paso/src/Pattern_reduceBandwidth.cpp
Examining data/python-escript-5.5/paso/src/ReactiveSolver.cpp
Examining data/python-escript-5.5/speckley/src/domainhelpers.cpp
Examining data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp
Examining data/python-escript-5.5/speckley/src/WaveAssembler3D.h
Examining data/python-escript-5.5/speckley/src/SpeckleyDomain.cpp
Examining data/python-escript-5.5/speckley/src/WaveAssembler2D.h
Examining data/python-escript-5.5/speckley/src/domainhelpers.h
Examining data/python-escript-5.5/speckley/src/RectangleIntegrals.cpp
Examining data/python-escript-5.5/speckley/src/WaveAssembler3D.cpp
Examining data/python-escript-5.5/speckley/src/SpeckleyDomain.h
Examining data/python-escript-5.5/speckley/src/Brick.h
Examining data/python-escript-5.5/speckley/src/RectangleGradients.cpp
Examining data/python-escript-5.5/speckley/src/SpeckleyException.h
Examining data/python-escript-5.5/speckley/src/BrickReductions.cpp
Examining data/python-escript-5.5/speckley/src/AbstractAssembler.h
Examining data/python-escript-5.5/speckley/src/BrickIntegrals.cpp
Examining data/python-escript-5.5/speckley/src/lagrange_functions.h
Examining data/python-escript-5.5/speckley/src/DefaultAssembler2D.h
Examining data/python-escript-5.5/speckley/src/DefaultAssembler3D.cpp
Examining data/python-escript-5.5/speckley/src/Brick.cpp
Examining data/python-escript-5.5/speckley/src/speckleycpp.cpp
Examining data/python-escript-5.5/speckley/src/WaveAssembler2D.cpp
Examining data/python-escript-5.5/speckley/src/Rectangle.cpp
Examining data/python-escript-5.5/speckley/src/DefaultAssembler2D.cpp
Examining data/python-escript-5.5/speckley/src/CrossDomainCoupler.h
Examining data/python-escript-5.5/speckley/src/AbstractAssembler.cpp
Examining data/python-escript-5.5/speckley/src/DefaultAssembler3D.h
Examining data/python-escript-5.5/speckley/src/Speckley.h
Examining data/python-escript-5.5/speckley/src/system_dep.h
Examining data/python-escript-5.5/speckley/src/RectangleReductions.cpp
Examining data/python-escript-5.5/speckley/src/BrickGradients.cpp
Examining data/python-escript-5.5/speckley/src/Rectangle.h
Examining data/python-escript-5.5/cusplibrary/performance/timer.h
Examining data/python-escript-5.5/cusplibrary/performance/spmv/benchmark.h
Examining data/python-escript-5.5/cusplibrary/performance/spmv/bytes_per_spmv.h
Examining data/python-escript-5.5/cusplibrary/performance/spmv/utility.h
Examining data/python-escript-5.5/cusplibrary/performance/mkl/mkl.h
Examining data/python-escript-5.5/cusplibrary/performance/mkl/mkl.c
Examining data/python-escript-5.5/cusplibrary/build/print_sm_version.cpp
Examining data/python-escript-5.5/cusplibrary/testing/unittest/unittest.h
Examining data/python-escript-5.5/cusplibrary/testing/unittest/random.h
Examining data/python-escript-5.5/cusplibrary/testing/unittest/exceptions.h
Examining data/python-escript-5.5/cusplibrary/testing/unittest/meta.h
Examining data/python-escript-5.5/cusplibrary/testing/unittest/special_types.h
Examining data/python-escript-5.5/cusplibrary/testing/unittest/system.h
Examining data/python-escript-5.5/cusplibrary/testing/unittest/matrix.h
Examining data/python-escript-5.5/cusplibrary/testing/unittest/testframework.h
Examining data/python-escript-5.5/cusplibrary/testing/unittest/assertions.h
Examining data/python-escript-5.5/cusplibrary/testing/unittest/util.h
Examining data/python-escript-5.5/cusplibrary/cusp/hyb_matrix.h
Examining data/python-escript-5.5/cusplibrary/cusp/memory.h
Examining data/python-escript-5.5/cusplibrary/cusp/multiply.h
Examining data/python-escript-5.5/cusplibrary/cusp/cds_matrix.h
Examining data/python-escript-5.5/cusplibrary/cusp/copy.h
Examining data/python-escript-5.5/cusplibrary/cusp/print.h
Examining data/python-escript-5.5/cusplibrary/cusp/multilevel.h
Examining data/python-escript-5.5/cusplibrary/cusp/exception.h
Examining data/python-escript-5.5/cusplibrary/cusp/coo_matrix.h
Examining data/python-escript-5.5/cusplibrary/cusp/dia_matrix.h
Examining data/python-escript-5.5/cusplibrary/cusp/version.h
Examining data/python-escript-5.5/cusplibrary/cusp/verify.h
Examining data/python-escript-5.5/cusplibrary/cusp/complex.h
Examining data/python-escript-5.5/cusplibrary/cusp/csr_matrix.h
Examining data/python-escript-5.5/cusplibrary/cusp/io/matrix_market.h
Examining data/python-escript-5.5/cusplibrary/cusp/opengl/spy/glut_window.h
Examining data/python-escript-5.5/cusplibrary/cusp/opengl/spy/matrix_canvas.h
Examining data/python-escript-5.5/cusplibrary/cusp/opengl/spy/gl_util.h
Examining data/python-escript-5.5/cusplibrary/cusp/opengl/spy/glut_2d_canvas.h
Examining data/python-escript-5.5/cusplibrary/cusp/opengl/spy/matrix_data_cursor.h
Examining data/python-escript-5.5/cusplibrary/cusp/opengl/spy/spy.h
Examining data/python-escript-5.5/cusplibrary/cusp/opengl/spy/matrix_data_panel.h
Examining data/python-escript-5.5/cusplibrary/cusp/opengl/spy/colormaps.h
Examining data/python-escript-5.5/cusplibrary/cusp/opengl/spy/glext.h
Examining data/python-escript-5.5/cusplibrary/cusp/format.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/bicgstab_m.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/cgls.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/cr.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/cg_m.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/bicgstab.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/lsqr.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/gmres.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/cg.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/bicg.h
Examining data/python-escript-5.5/cusplibrary/cusp/krylov/arnoldi.h
Examining data/python-escript-5.5/cusplibrary/cusp/convert.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/spectral_radius.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/random.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/forward_definitions.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/utils.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/dispatch/multiply.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/dispatch/convert.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/dispatch/transpose.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/dispatch/elementwise.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/functional.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/timer.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/profiler.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/multiply.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/conversion_utils.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/arch.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/dereference.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/utils.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/transposed_spmv/dia.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/transposed_spmv/cds.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/conversion.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/texture.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/common.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/transposed_multiply.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/convert.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/detail/coo.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmm/coo.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/transpose.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/elementwise.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/dia.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/coo_serial.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/csr.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/coo.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/hyb.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/csr_vector.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/coo_flat.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/ell.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/csr_scalar.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/dia.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/coo_serial.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/coo_flat_k.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/cds.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/hyb.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/csr_vector.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/coo_flat.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/cds_symmetric.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/ell.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/device/spmv/csr_scalar.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/multiply.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/conversion_utils.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/conversion.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/reference/complex_ops.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/reference/dia.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/reference/dense.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/reference/csr.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/reference/coo.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/reference/csc.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/reference/bsr.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/reference/fixed_size.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/reference/ell.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/spmv.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/transposed_multiply.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/convert.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/detail/csr_elementwise.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/detail/csr.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/detail/coo.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/transpose.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/elementwise.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/spmv_mkl.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/host/transposed_spmv.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/config.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/matrix_base.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/lu.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/matrix_shape.h
Examining data/python-escript-5.5/cusplibrary/cusp/detail/format_utils.h
Examining data/python-escript-5.5/cusplibrary/cusp/precond/aggregation/smoothed_aggregation.h
Examining data/python-escript-5.5/cusplibrary/cusp/precond/aggregation/smoothed_aggregation_options.h
Examining data/python-escript-5.5/cusplibrary/cusp/precond/aggregation/aggregate.h
Examining data/python-escript-5.5/cusplibrary/cusp/precond/aggregation/tentative.h
Examining data/python-escript-5.5/cusplibrary/cusp/precond/aggregation/smooth.h
Examining data/python-escript-5.5/cusplibrary/cusp/precond/aggregation/strength.h
Examining data/python-escript-5.5/cusplibrary/cusp/precond/ainv.h
Examining data/python-escript-5.5/cusplibrary/cusp/precond/diagonal.h
Examining data/python-escript-5.5/cusplibrary/cusp/monitor.h
Examining data/python-escript-5.5/cusplibrary/cusp/transpose.h
Examining data/python-escript-5.5/cusplibrary/cusp/elementwise.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/hilbert_curve.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/connected_components.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/pseudo_peripheral.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/breadth_first_search.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/dispatch/hilbert_curve.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/dispatch/connected_components.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/dispatch/breadth_first_search.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/dispatch/maximum_flow.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/dispatch/maximal_independent_set.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/device/hilbert_curve.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/device/connected_components.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/device/breadth_first_search.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/device/maximum_flow.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/device/maximal_independent_set.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/host/hilbert_curve.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/host/connected_components.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/host/breadth_first_search.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/host/maximum_flow.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/detail/host/maximal_independent_set.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/symmetric_rcm.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/maximum_flow.h
Examining data/python-escript-5.5/cusplibrary/cusp/graph/maximal_independent_set.h
Examining data/python-escript-5.5/cusplibrary/cusp/relaxation/jacobi.h
Examining data/python-escript-5.5/cusplibrary/cusp/relaxation/polynomial.h
Examining data/python-escript-5.5/cusplibrary/cusp/linear_operator.h
Examining data/python-escript-5.5/cusplibrary/cusp/array1d.h
Examining data/python-escript-5.5/cusplibrary/cusp/array2d.h
Examining data/python-escript-5.5/cusplibrary/cusp/cmath.h
Examining data/python-escript-5.5/cusplibrary/cusp/ell_matrix.h
Examining data/python-escript-5.5/cusplibrary/cusp/blas.h
Examining data/python-escript-5.5/cusplibrary/cusp/gallery/random.h
Examining data/python-escript-5.5/cusplibrary/cusp/gallery/stencil.h
Examining data/python-escript-5.5/cusplibrary/cusp/gallery/poisson.h
Examining data/python-escript-5.5/cusplibrary/cusp/gallery/grid.h
Examining data/python-escript-5.5/cusplibrary/cusp/gallery/diffusion.h
Examining data/python-escript-5.5/tools/netcdf.cc
Examining data/python-escript-5.5/tools/overlord/overlord.cpp
Examining data/python-escript-5.5/tools/trconfcmp.cc
Examining data/python-escript-5.5/tools/escriptconvert/esdcreate.cpp
Examining data/python-escript-5.5/tools/escriptconvert/escriptconvert.cpp
Examining data/python-escript-5.5/escriptcore/src/AbstractTransportProblem.h
Examining data/python-escript-5.5/escriptcore/src/pyerr.cpp
Examining data/python-escript-5.5/escriptcore/src/pyerr.h
Examining data/python-escript-5.5/escriptcore/src/SplitWorld.h
Examining data/python-escript-5.5/escriptcore/src/DataConstant.h
Examining data/python-escript-5.5/escriptcore/src/NullDomain.cpp
Examining data/python-escript-5.5/escriptcore/src/Random.h
Examining data/python-escript-5.5/escriptcore/src/AbstractSystemMatrix.cpp
Examining data/python-escript-5.5/escriptcore/src/Random.cpp
Examining data/python-escript-5.5/escriptcore/src/index.h
Examining data/python-escript-5.5/escriptcore/src/escriptcpp.cpp
Examining data/python-escript-5.5/escriptcore/src/ES_optype.h
Examining data/python-escript-5.5/escriptcore/src/DataExpanded.h
Examining data/python-escript-5.5/escriptcore/src/DataAbstract.cpp
Examining data/python-escript-5.5/escriptcore/src/ArrayOps.h
Examining data/python-escript-5.5/escriptcore/src/Dodgy.cpp
Examining data/python-escript-5.5/escriptcore/src/DataAbstract.h
Examining data/python-escript-5.5/escriptcore/src/Utils.cpp
Examining data/python-escript-5.5/escriptcore/src/DataVector.h
Examining data/python-escript-5.5/escriptcore/src/DomainException.h
Examining data/python-escript-5.5/escriptcore/src/EsysException.h
Examining data/python-escript-5.5/escriptcore/src/EscriptParams.h
Examining data/python-escript-5.5/escriptcore/src/DataEmpty.h
Examining data/python-escript-5.5/escriptcore/src/DataVectorOps.cpp
Examining data/python-escript-5.5/escriptcore/src/Taipan.h
Examining data/python-escript-5.5/escriptcore/src/DataVectorAlt.cpp
Examining data/python-escript-5.5/escriptcore/src/DataReady.h
Examining data/python-escript-5.5/escriptcore/src/AbstractReducer.h
Examining data/python-escript-5.5/escriptcore/src/DataExpanded.cpp
Examining data/python-escript-5.5/escriptcore/src/NonReducedVariable.h
Examining data/python-escript-5.5/escriptcore/src/MPIScalarReducer.cpp
Examining data/python-escript-5.5/escriptcore/src/SystemMatrixException.h
Examining data/python-escript-5.5/escriptcore/src/DataTagged.cpp
Examining data/python-escript-5.5/escriptcore/src/SolverOptions.cpp
Examining data/python-escript-5.5/escriptcore/src/DataReady.cpp
Examining data/python-escript-5.5/escriptcore/src/AbstractDomain.cpp
Examining data/python-escript-5.5/escriptcore/src/Dodgy.h
Examining data/python-escript-5.5/escriptcore/src/DataLazy.h
Examining data/python-escript-5.5/escriptcore/src/SubWorld.h
Examining data/python-escript-5.5/escriptcore/src/FileWriter.h
Examining data/python-escript-5.5/escriptcore/src/FunctionSpaceFactory.cpp
Examining data/python-escript-5.5/escriptcore/src/FunctionSpaceFactory.h
Examining data/python-escript-5.5/escriptcore/src/MPIDataReducer.cpp
Examining data/python-escript-5.5/escriptcore/src/Data.cpp
Examining data/python-escript-5.5/escriptcore/src/DataVectorTaipan.h
Examining data/python-escript-5.5/escriptcore/src/WrappedArray.h
Examining data/python-escript-5.5/escriptcore/src/IndexList.h
Examining data/python-escript-5.5/escriptcore/src/SubWorld.cpp
Examining data/python-escript-5.5/escriptcore/src/NonReducedVariable.cpp
Examining data/python-escript-5.5/escriptcore/src/NullDomain.h
Examining data/python-escript-5.5/escriptcore/src/TestDomain.h
Examining data/python-escript-5.5/escriptcore/src/AbstractReducer.cpp
Examining data/python-escript-5.5/escriptcore/src/AbstractTransportProblem.cpp
Examining data/python-escript-5.5/escriptcore/src/MPIDataReducer.h
Examining data/python-escript-5.5/escriptcore/src/Pointers.h
Examining data/python-escript-5.5/escriptcore/src/NCHelper.cpp
Examining data/python-escript-5.5/escriptcore/src/AbstractSystemMatrix.h
Examining data/python-escript-5.5/escriptcore/src/Distribution.h
Examining data/python-escript-5.5/escriptcore/src/MPIScalarReducer.h
Examining data/python-escript-5.5/escriptcore/src/TransportProblemException.h
Examining data/python-escript-5.5/escriptcore/src/DataTypes.cpp
Examining data/python-escript-5.5/escriptcore/src/DataEmpty.cpp
Examining data/python-escript-5.5/escriptcore/src/Data.h
Examining data/python-escript-5.5/escriptcore/src/DataVector.cpp
Examining data/python-escript-5.5/escriptcore/src/DataVectorOps.h
Examining data/python-escript-5.5/escriptcore/src/LapackInverseHelper.h
Examining data/python-escript-5.5/escriptcore/src/ES_optype.cpp
Examining data/python-escript-5.5/escriptcore/src/Utils.h
Examining data/python-escript-5.5/escriptcore/src/SplitWorld.cpp
Examining data/python-escript-5.5/escriptcore/src/DataLazy.cpp
Examining data/python-escript-5.5/escriptcore/src/LapackInverseHelper.cpp
Examining data/python-escript-5.5/escriptcore/src/AbstractContinuousDomain.h
Examining data/python-escript-5.5/escriptcore/src/EsysMPI.cpp
Examining data/python-escript-5.5/escriptcore/src/DataVectorTaipan.cpp
Examining data/python-escript-5.5/escriptcore/src/FunctionSpace.cpp
Examining data/python-escript-5.5/escriptcore/src/ExceptionTranslators.cpp
Examining data/python-escript-5.5/escriptcore/src/DataConstant.cpp
Examining data/python-escript-5.5/escriptcore/src/DataFactory.h
Examining data/python-escript-5.5/escriptcore/src/FunctionSpace.h
Examining data/python-escript-5.5/escriptcore/src/AbstractDomain.h
Examining data/python-escript-5.5/escriptcore/src/DataVectorAlt.h
Examining data/python-escript-5.5/escriptcore/src/DataFactory.cpp
Examining data/python-escript-5.5/escriptcore/src/DataTypes.h
Examining data/python-escript-5.5/escriptcore/src/SolverOptions.h
Examining data/python-escript-5.5/escriptcore/src/Assert.h
Examining data/python-escript-5.5/escriptcore/src/ArrayOps.cpp
Examining data/python-escript-5.5/escriptcore/src/NCHelper.h
Examining data/python-escript-5.5/escriptcore/src/Taipan.cpp
Examining data/python-escript-5.5/escriptcore/src/system_dep.h
Examining data/python-escript-5.5/escriptcore/src/BinaryDataReadyOps.cpp
Examining data/python-escript-5.5/escriptcore/src/EsysMPI.h
Examining data/python-escript-5.5/escriptcore/src/SplitWorldException.h
Examining data/python-escript-5.5/escriptcore/src/WrappedArray.cpp
Examining data/python-escript-5.5/escriptcore/src/FunctionSpaceException.h
Examining data/python-escript-5.5/escriptcore/src/ExceptionTranslators.h
Examining data/python-escript-5.5/escriptcore/src/BinaryDataReadyOps.h
Examining data/python-escript-5.5/escriptcore/src/TestDomain.cpp
Examining data/python-escript-5.5/escriptcore/src/DataException.h
Examining data/python-escript-5.5/escriptcore/src/EscriptParams.cpp
Examining data/python-escript-5.5/escriptcore/src/DataTagged.h
Examining data/python-escript-5.5/escriptcore/src/AbstractContinuousDomain.cpp
Examining data/python-escript-5.5/escriptcore/test/multi_arrayTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/FunctionSpaceTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataConstantTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataVectorTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/SharedDataTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataExpandedTestCase.h
Examining data/python-escript-5.5/escriptcore/test/FileWriterTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataFactoryTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/EsysExceptionTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataCombinationsTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataTaggedTestCase.h
Examining data/python-escript-5.5/escriptcore/test/SharedDataTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataConstantTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataFactoryTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataLazyTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataExpandedTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataTaggedTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataCombinationsTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataEmptyTestCase.h
Examining data/python-escript-5.5/escriptcore/test/EsysExceptionTestCase.h
Examining data/python-escript-5.5/escriptcore/test/escript_UnitTest.cpp
Examining data/python-escript-5.5/escriptcore/test/DataEmptyTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/FunctionSpaceTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataMathsTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/multi_arrayTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataTypesTestCase.h
Examining data/python-escript-5.5/escriptcore/test/TaipanTestCase.h
Examining data/python-escript-5.5/escriptcore/test/TaipanTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/FileWriterTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataVectorTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataLazyTestCase.h
Examining data/python-escript-5.5/escriptcore/test/DataTypesTestCase.cpp
Examining data/python-escript-5.5/escriptcore/test/DataMathsTestCase.h
Examining data/python-escript-5.5/dudley/src/ElementFile_createColoring.cpp
Examining data/python-escript-5.5/dudley/src/ElementFile.cpp
Examining data/python-escript-5.5/dudley/src/Mesh_tri3.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_interpolate.cpp
Examining data/python-escript-5.5/dudley/src/Dudley.h
Examining data/python-escript-5.5/dudley/src/NodeFile.cpp
Examining data/python-escript-5.5/dudley/src/Mesh_write.cpp
Examining data/python-escript-5.5/dudley/src/NodeFile.h
Examining data/python-escript-5.5/dudley/src/Mesh_readGmsh.cpp
Examining data/python-escript-5.5/dudley/src/DudleyVersion.h
Examining data/python-escript-5.5/dudley/src/DudleyDomain.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_PDE_Single_2D.cpp
Examining data/python-escript-5.5/dudley/src/NodeFile_gather.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_gradient.cpp
Examining data/python-escript-5.5/dudley/src/ElementFile_jacobians.cpp
Examining data/python-escript-5.5/dudley/src/DomainFactory.cpp
Examining data/python-escript-5.5/dudley/src/Mesh_distributeByRankOfDOF.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_CopyElementData.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_PDE_System_3D.cpp
Examining data/python-escript-5.5/dudley/src/DudleyException.h
Examining data/python-escript-5.5/dudley/src/ShapeTable.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_AverageElementData.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_addToSystemMatrix.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_PDE_Points.cpp
Examining data/python-escript-5.5/dudley/src/Assemble.h
Examining data/python-escript-5.5/dudley/src/DomainFactory.h
Examining data/python-escript-5.5/dudley/src/Assemble_CopyNodalData.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_PDE_Single_3D.cpp
Examining data/python-escript-5.5/dudley/src/NodeFile_createTrilinosGraph.cpp
Examining data/python-escript-5.5/dudley/src/Mesh_resolveNodeIds.cpp
Examining data/python-escript-5.5/dudley/src/IndexList.h
Examining data/python-escript-5.5/dudley/src/Util.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_jacobians.cpp
Examining data/python-escript-5.5/dudley/src/ElementFile_distributeByRankOfDOF.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_getAssembleParameters.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_PDE.cpp
Examining data/python-escript-5.5/dudley/src/NodeFile_createDenseLabelings.cpp
Examining data/python-escript-5.5/dudley/src/IndexList.cpp
Examining data/python-escript-5.5/dudley/src/ElementFile.h
Examining data/python-escript-5.5/dudley/src/Mesh_optimizeDOFLabeling.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_LumpedSystem.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_PDE_System_2D.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_getSize.cpp
Examining data/python-escript-5.5/dudley/src/dudleycpp.cpp
Examining data/python-escript-5.5/dudley/src/Mesh_read.cpp
Examining data/python-escript-5.5/dudley/src/Util.h
Examining data/python-escript-5.5/dudley/src/Assemble_getNormal.cpp
Examining data/python-escript-5.5/dudley/src/NodeMapping.h
Examining data/python-escript-5.5/dudley/src/NodeFile_createMappings.cpp
Examining data/python-escript-5.5/dudley/src/Mesh_optimizeDOFDistribution.cpp
Examining data/python-escript-5.5/dudley/src/ShapeTable.h
Examining data/python-escript-5.5/dudley/src/Mesh_getPattern.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_integrate.cpp
Examining data/python-escript-5.5/dudley/src/Assemble_NodeCoordinates.cpp
Examining data/python-escript-5.5/dudley/src/DudleyDomain.h
Examining data/python-escript-5.5/dudley/src/Mesh_tet4.cpp
Examining data/python-escript-5.5/dudley/src/ElementType.h
Examining data/python-escript-5.5/dudley/test/DudleyDomainTestCase.h
Examining data/python-escript-5.5/dudley/test/dudley_UnitTests.cpp
Examining data/python-escript-5.5/dudley/test/DudleyDomainTestCase.cpp
Examining data/python-escript-5.5/finley/src/ElementFile.cpp
Examining data/python-escript-5.5/finley/src/Assemble_interpolate.cpp
Examining data/python-escript-5.5/finley/src/ShapeFunctions.cpp
Examining data/python-escript-5.5/finley/src/NodeFile.cpp
Examining data/python-escript-5.5/finley/src/Mesh_merge.cpp
Examining data/python-escript-5.5/finley/src/Mesh_write.cpp
Examining data/python-escript-5.5/finley/src/NodeFile.h
Examining data/python-escript-5.5/finley/src/Mesh_readGmsh.cpp
Examining data/python-escript-5.5/finley/src/Assemble_PDE_System_1D.cpp
Examining data/python-escript-5.5/finley/src/Assemble_PDE_Single_2D.cpp
Examining data/python-escript-5.5/finley/src/Assemble_gradient.cpp
Examining data/python-escript-5.5/finley/src/ElementFile_jacobians.cpp
Examining data/python-escript-5.5/finley/src/Quadrature.cpp
Examining data/python-escript-5.5/finley/src/Mesh_hex20.cpp
Examining data/python-escript-5.5/finley/src/Mesh_addPoints.cpp
Examining data/python-escript-5.5/finley/src/ShapeFunctions.h
Examining data/python-escript-5.5/finley/src/FinleyDomain.h
Examining data/python-escript-5.5/finley/src/DomainFactory.cpp
Examining data/python-escript-5.5/finley/src/Mesh_joinFaces.cpp
Examining data/python-escript-5.5/finley/src/Mesh_getTrilinosGraph.cpp
Examining data/python-escript-5.5/finley/src/Assemble_CopyElementData.cpp
Examining data/python-escript-5.5/finley/src/Assemble_PDE_System_3D.cpp
Examining data/python-escript-5.5/finley/src/Mesh_glueFaces.cpp
Examining data/python-escript-5.5/finley/src/Assemble_AverageElementData.cpp
Examining data/python-escript-5.5/finley/src/Assemble_addToSystemMatrix.cpp
Examining data/python-escript-5.5/finley/src/Assemble_PDE_Points.cpp
Examining data/python-escript-5.5/finley/src/Assemble.h
Examining data/python-escript-5.5/finley/src/DomainFactory.h
Examining data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp
Examining data/python-escript-5.5/finley/src/Assemble_PDE_Single_3D.cpp
Examining data/python-escript-5.5/finley/src/Mesh_rec8.cpp
Examining data/python-escript-5.5/finley/src/IndexList.h
Examining data/python-escript-5.5/finley/src/Util.cpp
Examining data/python-escript-5.5/finley/src/FinleyDomain.cpp
Examining data/python-escript-5.5/finley/src/FinleyVersion.h
Examining data/python-escript-5.5/finley/src/Finley.h
Examining data/python-escript-5.5/finley/src/Assemble_jacobians.cpp
Examining data/python-escript-5.5/finley/src/Assemble_getAssembleParameters.cpp
Examining data/python-escript-5.5/finley/src/Assemble_PDE.cpp
Examining data/python-escript-5.5/finley/src/Mesh_getPasoPattern.cpp
Examining data/python-escript-5.5/finley/src/IndexList.cpp
Examining data/python-escript-5.5/finley/src/ElementFile.h
Examining data/python-escript-5.5/finley/src/Mesh_rec4.cpp
Examining data/python-escript-5.5/finley/src/Assemble_LumpedSystem.cpp
Examining data/python-escript-5.5/finley/src/Assemble_PDE_System_2D.cpp
Examining data/python-escript-5.5/finley/src/ReferenceElementSets.h
Examining data/python-escript-5.5/finley/src/Mesh_findMatchingFaces.cpp
Examining data/python-escript-5.5/finley/src/Assemble_getSize.cpp
Examining data/python-escript-5.5/finley/src/ReferenceElements.h
Examining data/python-escript-5.5/finley/src/finleycpp.cpp
Examining data/python-escript-5.5/finley/src/FinleyException.h
Examining data/python-escript-5.5/finley/src/Mesh_read.cpp
Examining data/python-escript-5.5/finley/src/Assemble_PDE_Single_1D.cpp
Examining data/python-escript-5.5/finley/src/Util.h
Examining data/python-escript-5.5/finley/src/Assemble_PDE_System_C.cpp
Examining data/python-escript-5.5/finley/src/Mesh_hex8.cpp
Examining data/python-escript-5.5/finley/src/ReferenceElements.cpp
Examining data/python-escript-5.5/finley/src/Assemble_getNormal.cpp
Examining data/python-escript-5.5/finley/src/NodeMapping.h
Examining data/python-escript-5.5/finley/src/Mesh_optimizeDOFDistribution.cpp
Examining data/python-escript-5.5/finley/src/Assemble_integrate.cpp
Examining data/python-escript-5.5/finley/src/Quadrature.h
Examining data/python-escript-5.5/finley/src/Assemble_NodeCoordinates.cpp
Examining data/python-escript-5.5/finley/src/Assemble_PDE_Single_C.cpp
Examining data/python-escript-5.5/finley/test/FinleyDomainTestCase.cpp
Examining data/python-escript-5.5/finley/test/FinleyDomainTestCase.h
Examining data/python-escript-5.5/finley/test/finley_UnitTests.cpp
Examining data/python-escript-5.5/weipa/src/SpeckleyNodes.h
Examining data/python-escript-5.5/weipa/src/FinleyElements.cpp
Examining data/python-escript-5.5/weipa/src/RipleyNodes.cpp
Examining data/python-escript-5.5/weipa/src/RipleyElements.h
Examining data/python-escript-5.5/weipa/src/SpeckleyElements.cpp
Examining data/python-escript-5.5/weipa/src/SpeckleyDomain.cpp
Examining data/python-escript-5.5/weipa/src/EscriptDataset.h
Examining data/python-escript-5.5/weipa/src/weipacpp.cpp
Examining data/python-escript-5.5/weipa/src/weipa.h
Examining data/python-escript-5.5/weipa/src/FinleyNodes.cpp
Examining data/python-escript-5.5/weipa/src/VisItControl.h
Examining data/python-escript-5.5/weipa/src/ElementData.h
Examining data/python-escript-5.5/weipa/src/RipleyDomain.h
Examining data/python-escript-5.5/weipa/src/FinleyDomain.h
Examining data/python-escript-5.5/weipa/src/RipleyNodes.h
Examining data/python-escript-5.5/weipa/src/SpeckleyDomain.h
Examining data/python-escript-5.5/weipa/src/NodeData.h
Examining data/python-escript-5.5/weipa/src/RipleyElements.cpp
Examining data/python-escript-5.5/weipa/src/WeipaException.h
Examining data/python-escript-5.5/weipa/src/FinleyDomain.cpp
Examining data/python-escript-5.5/weipa/src/vtkCellType.h
Examining data/python-escript-5.5/weipa/src/DomainChunk.h
Examining data/python-escript-5.5/weipa/src/SpeckleyElements.h
Examining data/python-escript-5.5/weipa/src/VisItData.h
Examining data/python-escript-5.5/weipa/src/DataVar.h
Examining data/python-escript-5.5/weipa/src/DataVar.cpp
Examining data/python-escript-5.5/weipa/src/VisItControl.cpp
Examining data/python-escript-5.5/weipa/src/VisItData.cpp
Examining data/python-escript-5.5/weipa/src/FinleyElements.h
Examining data/python-escript-5.5/weipa/src/RipleyDomain.cpp
Examining data/python-escript-5.5/weipa/src/SpeckleyNodes.cpp
Examining data/python-escript-5.5/weipa/src/FinleyNodes.h
Examining data/python-escript-5.5/weipa/src/EscriptDataset.cpp
Examining data/python-escript-5.5/weipa/test/EscriptDatasetTestCase.cpp
Examining data/python-escript-5.5/weipa/test/EscriptDatasetTestCase.h
Examining data/python-escript-5.5/weipa/test/weipa_UnitTest.cpp

FINAL RESULTS:

data/python-escript-5.5/cusplibrary/cusp/detail/device/arch.h:44:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  using namespace thrust::system::cuda::detail;
data/python-escript-5.5/cusplibrary/cusp/detail/device/arch.h:49:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return thrust::system::cuda::detail::arch::max_active_blocks(kernel, CTA_SIZE, dynamic_smem_bytes);
data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/coo_flat.h:248:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    using namespace thrust::system::cuda::detail::detail;
data/python-escript-5.5/cusplibrary/cusp/detail/device/generalized_spmv/coo_flat.h:407:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    using namespace thrust::system::cuda::detail::detail;
data/python-escript-5.5/cusplibrary/cusp/opengl/spy/glext.h:3413:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
data/python-escript-5.5/cusplibrary/cusp/opengl/spy/glext.h:4014:74:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
data/python-escript-5.5/escriptcore/src/EsysMPI.cpp:196: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(*dest, src);
data/python-escript-5.5/escriptcore/src/EsysMPI.cpp:212: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(*dest, src);
data/python-escript-5.5/escriptcore/src/Utils.cpp:361:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    return system(cmd.c_str());
data/python-escript-5.5/finley/src/Mesh_readGmsh.cpp:1271:28:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
                        || sscanf(position, "%s", name) != 1) {
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:102:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(buffer, 80, fmt, data[i]+adjust);
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:116:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(buffer, 80, fmt, data[i]);
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:147:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buffer, "%-72s%-8s", "Matrix Title", "Key" );
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:167:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buffer, "%16s%16s%20s%28c", ptr_pfmt, ind_pfmt, val_pfmt, ' ');
data/python-escript-5.5/paso/src/mmio.cpp:120:9:  [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.
    if (sscanf(line, "%s %s %s %s %s", banner, mtx, crd, data_type, storage_scheme) != 5)
data/python-escript-5.5/paso/src/mmio.cpp:456:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s %s %s %s", types[0], types[1], types[2], types[3]);
data/python-escript-5.5/ripley/src/Brick.cpp:1082:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(str, 64, blockDirFmt, PMPIO_RankInGroup(baton, m_mpiInfo->rank));
data/python-escript-5.5/ripley/src/Rectangle.cpp:916:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(siloPath, 64, blockDirFmt, PMPIO_RankInGroup(baton, m_mpiInfo->rank));
data/python-escript-5.5/ripley/src/Rectangle.cpp:930:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(siloPath, 64, blockDirFmt, 0);
data/python-escript-5.5/speckley/src/Brick.cpp:1106:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(str, 64, blockDirFmt, PMPIO_RankInGroup(baton, m_mpiInfo->rank));
data/python-escript-5.5/speckley/src/Rectangle.cpp:913:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(siloPath, 64, blockDirFmt, PMPIO_RankInGroup(baton, m_mpiInfo->rank));
data/python-escript-5.5/speckley/src/Rectangle.cpp:927:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(siloPath, 64, blockDirFmt, 0);
data/python-escript-5.5/tools/escriptconvert/escriptconvert.cpp:43:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(ts, fmtStr.c_str(), timeStep*tsMultiplier);
data/python-escript-5.5/tools/escriptconvert/escriptconvert.cpp:155:18:  [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.
        else if (sscanf(line, "M=%s", sVal) == 1)
data/python-escript-5.5/tools/escriptconvert/escriptconvert.cpp:157:18:  [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.
        else if (sscanf(line, "V=%s", sVal) == 1 && strchr(sVal, ':')) {
data/python-escript-5.5/tools/overlord/overlord.cpp:67:5:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execvp(argv[3], argv+3);
data/python-escript-5.5/weipa/src/DataVar.cpp:717:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tDef, tensor3DefFmt.c_str(),
data/python-escript-5.5/weipa/src/DataVar.cpp:725:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tDef, tensor2DefFmt.c_str(),
data/python-escript-5.5/weipa/src/EscriptDataset.cpp:346:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(str, 64, blockDirFmt, PMPIO_RankInGroup(baton, mpiRank));
data/python-escript-5.5/weipa/src/EscriptDataset.cpp:387:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(str, 64, blockDirFmt, idx);
data/python-escript-5.5/weipa/src/EscriptDataset.cpp:857:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(str, filePattern.c_str(), mpiRank);
data/python-escript-5.5/weipa/src/EscriptDataset.cpp:869:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                sprintf(str, filePattern.c_str(), idx);
data/python-escript-5.5/weipa/src/EscriptDataset.cpp:968:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(str, filePattern.c_str(), idx);
data/python-escript-5.5/cusplibrary/cusp/complex.h:290:16:  [3] (random) setstate:
  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.
            is.setstate(std::ios_base::failbit);
data/python-escript-5.5/cusplibrary/cusp/complex.h:299:14:  [3] (random) setstate:
  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.
          is.setstate(std::ios_base::failbit);
data/python-escript-5.5/cusplibrary/cusp/gallery/random.h:51: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.
void random(size_t num_rows, size_t num_cols, size_t num_samples, MatrixType& output)
data/python-escript-5.5/cusplibrary/cusp/gallery/random.h:58: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(num_rows ^ num_cols ^ num_samples);
data/python-escript-5.5/cusplibrary/cusp/gallery/random.h:90: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(num_rows ^ num_diagonals);
data/python-escript-5.5/paso/src/PCG.cpp:85:15:  [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.
    chksz_chr=getenv("PASO_CHUNK_SIZE_PCG");
data/python-escript-5.5/paso/src/SparseMatrix_MatrixVector.cpp:300:21:  [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* chksz_chr=getenv("PASO_CHUNK_SIZE_MVM");
data/python-escript-5.5/cusplibrary/build/print_sm_version.cpp:16: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).
    device_id = atoi(argv[1]);
data/python-escript-5.5/cusplibrary/cusp/krylov/lsqr.h:97:12:  [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),  
data/python-escript-5.5/cusplibrary/cusp/krylov/lsqr.h:103:15:  [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).
         Real atol;
data/python-escript-5.5/cusplibrary/performance/spmv/benchmark.h:121: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 * fid = fopen(BENCHMARK_OUTPUT_FILE_NAME, "a");
data/python-escript-5.5/cusplibrary/testing/unittest/system.h:15: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 buf[1024];
data/python-escript-5.5/dudley/src/Assemble_AverageElementData.cpp:91: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(out_array + q * numComps, in_array, numComps_size);
data/python-escript-5.5/dudley/src/Assemble_CopyElementData.cpp:57: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/dudley/src/Assemble_CopyElementData.cpp:66: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(out_array + q * numComps, in_array, len_size);
data/python-escript-5.5/dudley/src/Assemble_CopyNodalData.cpp:91: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/dudley/src/Assemble_CopyNodalData.cpp:98: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/dudley/src/Assemble_CopyNodalData.cpp:154: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/dudley/src/Assemble_CopyNodalData.cpp:157: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/dudley/src/Assemble_CopyNodalData.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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/dudley/src/Assemble_NodeCoordinates.cpp:55: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(x.getSampleDataRW(n, static_cast<escript::DataTypes::real_t>(0)),
data/python-escript-5.5/dudley/src/Assemble_interpolate.cpp:90: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(&local_data[INDEX3(0, q, 0, numComps, NS_DOF)],
data/python-escript-5.5/dudley/src/DomainFactory.cpp:318: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_temp[4096];
data/python-escript-5.5/dudley/src/DomainFactory.cpp:329: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_temp, "Tags_name_%d", i);
data/python-escript-5.5/dudley/src/DomainFactory.cpp:620: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_temp[4096];
data/python-escript-5.5/dudley/src/DomainFactory.cpp:634: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_temp, "Tags_name_%d", i);
data/python-escript-5.5/dudley/src/DudleyDomain.cpp:207:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        dataFile.open(newFileName.c_str(), NcFile::FileMode::replace, NcFile::FileFormat::nc4);
data/python-escript-5.5/dudley/src/Mesh_read.cpp:161:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fileHandle.open(filename.c_str());
data/python-escript-5.5/dudley/src/NodeFile.cpp:195: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(&Coordinates[INDEX2(0, n, numDim)],
data/python-escript-5.5/dudley/src/NodeFile_gather.cpp:45: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(&Coordinates_out[INDEX2(0, i, numDim)],
data/python-escript-5.5/dudley/src/NodeFile_gather.cpp:71: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(&Coordinates_out[INDEX2(0, k, numDim)],
data/python-escript-5.5/escriptcore/src/Data.cpp:1738: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(tmpData,&(getDataAtOffsetRO(offset, static_cast<DataTypes::cplx_t>(0))), length*sizeof(cplx_t));
data/python-escript-5.5/escriptcore/src/Data.cpp:1755: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(tmpData,&(getDataAtOffsetRO(offset, static_cast<DataTypes::real_t>(0))), length*sizeof(real_t));
data/python-escript-5.5/escriptcore/src/DataConstant.cpp:643:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        dataFile.open(newFileName.c_str(), NcFile::FileMode::replace,   NcFile::FileFormat::classic64);
data/python-escript-5.5/escriptcore/src/DataExpanded.cpp:1211:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        dataFile.open(newFileName.c_str(), NcFile::FileMode::replace,   NcFile::FileFormat::classic64);
data/python-escript-5.5/escriptcore/src/DataLazy.cpp:2521: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(&((*vecs[j])[outoffset]),&((*res)[roffset]),work[j]->m_samplesize*sizeof(RealVectorType::ElementType));
data/python-escript-5.5/escriptcore/src/DataLazy.cpp:2582: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(&(resvec[outoffset]),&((*res)[roffset]),m_samplesize*sizeof(RealVectorType::ElementType));
data/python-escript-5.5/escriptcore/src/DataLazy.cpp:2640: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(&(resvec[outoffset]),&((*res)[roffset]),m_samplesize*sizeof(CplxVectorType::ElementType));
data/python-escript-5.5/escriptcore/src/DataTagged.cpp:1434:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        dataFile.open(newFileName.c_str(), NcFile::FileMode::replace,   NcFile::FileFormat::classic64);
data/python-escript-5.5/escriptcore/src/DataVector.cpp:563: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(&dest[doffset],&src[soffset],sizeof(real_t)*nvals);
data/python-escript-5.5/escriptcore/src/DataVector.cpp:574: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(&dest[doffset],&src[soffset],sizeof(cplx_t)*nvals);
data/python-escript-5.5/escriptcore/src/FileWriter.h:100: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 errorstr[MPI_MAX_ERROR_STRING];
data/python-escript-5.5/escriptcore/src/FileWriter.h:115:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            ofs.open(filename.c_str(), mode);
data/python-escript-5.5/escriptcore/src/NCHelper.cpp:37: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 buff[10];
data/python-escript-5.5/escriptcore/src/NCHelper.cpp:84:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ncf.open(name.c_str(), NcFile::FileMode::read, fm);
data/python-escript-5.5/escriptcore/src/SolverOptions.cpp:578:47:  [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).
void SolverBuddy::setAbsoluteTolerance(double atol)
data/python-escript-5.5/escriptcore/src/SolverOptions.cpp:580:9:  [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 < 0.)
data/python-escript-5.5/escriptcore/src/SolverOptions.cpp:582: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).
    absolute_tolerance = atol;
data/python-escript-5.5/escriptcore/src/SolverOptions.h:411:38:  [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).
    void setAbsoluteTolerance(double atol);
data/python-escript-5.5/escriptcore/src/Utils.cpp:60: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 fname[100];
data/python-escript-5.5/escriptcore/src/Utils.cpp:61: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/python-escript-5.5/escriptcore/src/Utils.cpp:63: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(fname, "/proc/%d/stat", getpid());
data/python-escript-5.5/escriptcore/src/Utils.cpp:64: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, "r");
data/python-escript-5.5/escriptcore/src/Utils.cpp:73:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    processor_num = atoi(&buf[i+1]);
data/python-escript-5.5/escriptcore/src/Utils.cpp:138: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 hname[64];
data/python-escript-5.5/escriptcore/src/Utils.cpp:144: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(hname, "unknown host");
data/python-escript-5.5/escriptcore/src/Utils.cpp:234: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 deadspace[1024];
data/python-escript-5.5/escriptcore/src/Utils.cpp:320: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 portstr[20] = {'\0'}, keystr[20] = {'\0'};
data/python-escript-5.5/escriptcore/src/Utils.cpp:321: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(portstr, "%d", port);
data/python-escript-5.5/escriptcore/src/Utils.cpp:322: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(keystr, "%d", key);
data/python-escript-5.5/escriptcore/src/Utils.cpp:340: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 hostname[MPI_MAX_PROCESSOR_NAME];
data/python-escript-5.5/finley/src/Assemble_AverageElementData.cpp:96: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(out_array+q*numComps, in_array, numComps_size);
data/python-escript-5.5/finley/src/Assemble_CopyElementData.cpp:72: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(out_array+q*numComps, in_array, len_size);
data/python-escript-5.5/finley/src/Assemble_CopyElementData.cpp:80: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/finley/src/Assemble_CopyElementData.cpp:89: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(out_array+q*numComps, in_array, len_size);
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:109: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(n, zero), numComps_size);
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:116: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(map[n], zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:123: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(map[n], zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:130: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(map[n], zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:144: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(n, zero), numComps_size);
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:154: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:207: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(k, zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:210: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:265: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(k, zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:268: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:277: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(n, zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:285: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:343: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(k, zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:346: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(out.getSampleDataRW(n, zero),
data/python-escript-5.5/finley/src/Assemble_CopyNodalData.cpp:356: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(out.getSampleDataRW(n, zero), in.getSampleDataRO(n, zero), numComps_size);
data/python-escript-5.5/finley/src/Assemble_NodeCoordinates.cpp:56: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(x.getSampleDataRW(n),
data/python-escript-5.5/finley/src/Assemble_interpolate.cpp:137: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(&local_data[INDEX3(0, q, isub, numComps,NS_DOF)], data_array, numComps_size);
data/python-escript-5.5/finley/src/DomainFactory.cpp:439: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_temp[4096];
data/python-escript-5.5/finley/src/DomainFactory.cpp:450: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_temp, "Tags_name_%d", i);
data/python-escript-5.5/finley/src/DomainFactory.cpp:849: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_temp[4096];
data/python-escript-5.5/finley/src/DomainFactory.cpp:863: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_temp, "Tags_name_%d", i);
data/python-escript-5.5/finley/src/FinleyDomain.cpp:254:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        dataFile.open(newFileName.c_str(), NcFile::FileMode::replace, NcFile::FileFormat::nc4);
data/python-escript-5.5/finley/src/Mesh_read.cpp:165:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fileHandle.open(filename.c_str());
data/python-escript-5.5/finley/src/Mesh_readGmsh.cpp:1179:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* fileHandle = fopen(filename.c_str(), "r");
data/python-escript-5.5/finley/src/Mesh_readGmsh.cpp:1262: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[1024] = {0};
data/python-escript-5.5/finley/src/Mesh_readGmsh.cpp:1546: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[1024];
data/python-escript-5.5/finley/src/NodeFile.cpp:70: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(&Coordinates_out[INDEX2(0,k,numDim)],
data/python-escript-5.5/finley/src/NodeFile.cpp:96: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(&Coordinates_out[INDEX2(0,i,numDim)],
data/python-escript-5.5/finley/src/NodeFile.cpp:260: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(&Coordinates[INDEX2(0, n, numDim)],
data/python-escript-5.5/paso/src/BlockOps.h:42: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((void*)R, (void*)V, N*sizeof(double));
data/python-escript-5.5/paso/src/Coupler.cpp:90: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(&(send_buffer[(block_size)*i]),
data/python-escript-5.5/paso/src/FCT_Solver.cpp:258:47:  [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).
    const double ATOL = rtol * norm_u_tilde + atol;
data/python-escript-5.5/paso/src/GMRES.cpp:145: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(&R_PRES[0][n_start],&r[n_start],sizeof(double)*(n_end-n_start));
data/python-escript-5.5/paso/src/GMRES.cpp:146: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(&X_PRES[0][n_start],&x[n_start],sizeof(double)*(n_end-n_start));
data/python-escript-5.5/paso/src/GMRES.cpp:354: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(P_PRES_dot_AP,&dots[1],sizeof(double)*order);
data/python-escript-5.5/paso/src/GMRES.cpp:357: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(P_PRES_dot_AP,&loc_dots[1],sizeof(double)*order);
data/python-escript-5.5/paso/src/NewtonGMRES.cpp:95: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).
                << rtol << "/" << atol << std::endl
data/python-escript-5.5/paso/src/Preconditioner.h:89: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).
                    double atol, dim_t* sweeps, bool x_is_initial);
data/python-escript-5.5/paso/src/Smoother.cpp:130: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).
            double atol, dim_t* sweeps, bool x_is_initial)
data/python-escript-5.5/paso/src/Smoother.cpp:136:21:  [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 norm_dx = atol * 2.;
data/python-escript-5.5/paso/src/Smoother.cpp:145:21:  [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).
   while (norm_dx > atol) {
data/python-escript-5.5/paso/src/SparseMatrix.cpp:408: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((void*)&val[main_ptr[ir]*nblk], (void*)&in[nblk*ir], nblk_size);
data/python-escript-5.5/paso/src/SparseMatrix.cpp:420: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((void*)&out[nblk*ir], (void*)&val[main_ptr[ir]*nblk], nblk_size);
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:77: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( pfmt, "(%dI%d)", per_line, maxlen );
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:78: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( fmt, "%%%dd", maxlen );
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:80: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( pfmt, "(1P%dE%d.6)", per_line, maxlen );
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:81: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( fmt, "%%%d.6E", maxlen );
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:92: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[81];
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:136: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[81];
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:141: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 ptr_pfmt[7], ind_pfmt[7], val_pfmt[11];
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:142: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 ptr_fmt[10], ind_fmt[10], val_fmt[10];
data/python-escript-5.5/paso/src/SparseMatrix_saveHB.cpp:158: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( buffer, "%14d%14d%14d%14d%14d%10c", (ptr_lines+ind_lines+val_lines), ptr_lines, ind_lines, val_lines, 0, ' ' );
data/python-escript-5.5/paso/src/SystemMatrix.cpp:418: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(&send_buffer[z],
data/python-escript-5.5/paso/src/SystemMatrix.cpp:600: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(ptr_global, ptr, (n+1)*sizeof(index_t));
data/python-escript-5.5/paso/src/SystemMatrix.cpp:647: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(idx_global, idx, temp_len[0]*sizeof(index_t));
data/python-escript-5.5/paso/src/SystemMatrix.cpp:670: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(out->val, val, temp_len[0] * sizeof(double) * block_size);
data/python-escript-5.5/paso/src/SystemMatrix_copyRemoteCoupleBlock.cpp:159: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(&send_buf[len*block_size],
data/python-escript-5.5/paso/src/SystemMatrix_copyRemoteCoupleBlock.cpp:181: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(&send_buf[len*block_size],
data/python-escript-5.5/paso/src/SystemMatrix_copyRemoteCoupleBlock.cpp:201: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(&send_buf[len*block_size],
data/python-escript-5.5/paso/src/SystemMatrix_extendedRows.cpp:112: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(&(send_ST[z1]), &(send_buf[0]), z0*sizeof(index_t));
data/python-escript-5.5/paso/src/SystemMatrix_extendedRows.cpp:121: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(&(send_ST[z1]), &(send_buf[0]), z0*sizeof(index_t));
data/python-escript-5.5/paso/src/SystemMatrix_extendedRows.cpp:173: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(&send_buf[z], &send_ST[offset_ST[row]], degree_ST[row] * sizeof(index_t));
data/python-escript-5.5/paso/src/mmio.cpp:106: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[MM_MAX_LINE_LENGTH];
data/python-escript-5.5/paso/src/mmio.cpp:107: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 banner[MM_MAX_TOKEN_LENGTH];
data/python-escript-5.5/paso/src/mmio.cpp:108: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 mtx[MM_MAX_TOKEN_LENGTH];
data/python-escript-5.5/paso/src/mmio.cpp:109: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 crd[MM_MAX_TOKEN_LENGTH];
data/python-escript-5.5/paso/src/mmio.cpp:110: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 data_type[MM_MAX_TOKEN_LENGTH];
data/python-escript-5.5/paso/src/mmio.cpp:111: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 storage_scheme[MM_MAX_TOKEN_LENGTH];
data/python-escript-5.5/paso/src/mmio.cpp:184: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[MM_MAX_LINE_LENGTH];
data/python-escript-5.5/paso/src/mmio.cpp:213: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[MM_MAX_LINE_LENGTH];
data/python-escript-5.5/paso/src/mmio.cpp:374: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).
    if ((f = fopen(fname, "w")) == NULL)
data/python-escript-5.5/paso/src/mmio.cpp:408: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.
    static char buffer[MM_MAX_LINE_LENGTH];
data/python-escript-5.5/paso/src/mmio.cpp:409: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.
    const char *types[4];
data/python-escript-5.5/paso/src/mmio.h:35: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.
typedef char MM_typecode[4];
data/python-escript-5.5/pythonMPI/src/ScriptMPIredirect.cpp:49: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 fname[256];
data/python-escript-5.5/pythonMPI/src/ScriptMPIredirect.cpp:50: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( fname, "stdout_%04d.out", rank );
data/python-escript-5.5/pythonMPI/src/ScriptMPIredirect.cpp:54: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( fname, "stdout_%04d.err", rank );
data/python-escript-5.5/ripley/src/Brick.cpp:907: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((char*)&values[0], (char*)&decompressed[fileofs*sizeof(ValueType)], num0*numComp*sizeof(ValueType));
data/python-escript-5.5/ripley/src/Brick.cpp:1081: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 str[64];
data/python-escript-5.5/ripley/src/Brick.cpp:1754: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1755: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1756: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1757: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1758: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1759: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1760: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1761: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1821: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1822: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1823: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1824: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1825: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1826: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1827: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1828: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1855: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(&f_000[0], in.getSampleDataRO(INDEX3(0,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1856: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(&f_001[0], in.getSampleDataRO(INDEX3(0,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1857: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(&f_010[0], in.getSampleDataRO(INDEX3(0,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1858: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(&f_011[0], in.getSampleDataRO(INDEX3(0,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1859: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(&f_100[0], in.getSampleDataRO(INDEX3(1,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1860: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(&f_101[0], in.getSampleDataRO(INDEX3(1,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1861: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(&f_110[0], in.getSampleDataRO(INDEX3(1,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1862: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(&f_111[0], in.getSampleDataRO(INDEX3(1,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1889: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(&f_000[0], in.getSampleDataRO(INDEX3(m_NN[0]-2,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1890: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(&f_001[0], in.getSampleDataRO(INDEX3(m_NN[0]-2,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1891: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(&f_010[0], in.getSampleDataRO(INDEX3(m_NN[0]-2,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1892: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(&f_011[0], in.getSampleDataRO(INDEX3(m_NN[0]-2,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1893: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(&f_100[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1894: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(&f_101[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1895: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(&f_110[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1896: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(&f_111[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1923: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,0,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1924: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,0,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1925: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1926: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1927: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,0,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1928: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,0,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1929: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1930: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1956: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-2,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1957: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-2,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1958: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1959: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1960: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-2,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1961: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-2,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1962: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1963: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1990: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,0, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1991: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1992: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,0, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1993: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1994: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,0, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1995: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1996: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,0, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:1997: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2024: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,m_NN[2]-2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2025: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,m_NN[2]-1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2026: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,m_NN[2]-2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2027: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,m_NN[2]-1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2028: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,m_NN[2]-2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2029: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,m_NN[2]-1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2030: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,m_NN[2]-2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2031: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,m_NN[2]-1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2071: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(&f_000[0], in.getSampleDataRO(INDEX3(0,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2072: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(&f_001[0], in.getSampleDataRO(INDEX3(0,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2073: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(&f_010[0], in.getSampleDataRO(INDEX3(0,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2074: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(&f_011[0], in.getSampleDataRO(INDEX3(0,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2075: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(&f_100[0], in.getSampleDataRO(INDEX3(1,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2076: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(&f_101[0], in.getSampleDataRO(INDEX3(1,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2077: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(&f_110[0], in.getSampleDataRO(INDEX3(1,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2078: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(&f_111[0], in.getSampleDataRO(INDEX3(1,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2092: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(&f_000[0], in.getSampleDataRO(INDEX3(m_NN[0]-2,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2093: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(&f_001[0], in.getSampleDataRO(INDEX3(m_NN[0]-2,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2094: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(&f_010[0], in.getSampleDataRO(INDEX3(m_NN[0]-2,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2095: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(&f_011[0], in.getSampleDataRO(INDEX3(m_NN[0]-2,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2096: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(&f_100[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2097: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(&f_101[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2098: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(&f_110[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1+1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2099: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(&f_111[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1+1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2113: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,0,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2114: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,0,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2115: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2116: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2117: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,0,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2118: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,0,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2119: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2120: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2134: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-2,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2135: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-2,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2136: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2137: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2138: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-2,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2139: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-2,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2140: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-1,k2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2141: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-1,k2+1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2155: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,0, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2156: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2157: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,0, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2158: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2159: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,0, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2160: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2161: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,0, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2162: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2176: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,m_NN[2]-2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2177: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,m_NN[2]-1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2178: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,m_NN[2]-2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2179: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,m_NN[2]-1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2180: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,m_NN[2]-2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2181: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,m_NN[2]-1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2182: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,m_NN[2]-2, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:2183: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,m_NN[2]-1, m_NN[0],m_NN[1]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Brick.cpp:3337: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3338: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3339: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3340: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3341: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3342: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3343: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3344: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3373: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3374: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3375: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3376: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3377: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3378: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3379: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3380: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3421: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(&f_000[0], in.getSampleDataRO(INDEX3(0,k1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3422: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(&f_001[0], in.getSampleDataRO(INDEX3(0,k1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3423: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(&f_010[0], in.getSampleDataRO(INDEX3(0,k1+1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3424: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(&f_011[0], in.getSampleDataRO(INDEX3(0,k1+1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3436: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(&f_100[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3437: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(&f_101[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3438: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(&f_110[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1+1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3439: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(&f_111[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1+1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3451: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,0,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3452: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,0,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3453: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,0,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3454: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,0,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3466: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3467: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3468: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3469: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3481: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,0, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3482: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,0, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3483: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,0, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3484: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,0, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3496: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,m_NN[2]-1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3497: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,m_NN[2]-1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3498: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,m_NN[2]-1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3499: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,m_NN[2]-1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3527: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(&f_000[0], in.getSampleDataRO(INDEX3(0,k1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3528: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(&f_001[0], in.getSampleDataRO(INDEX3(0,k1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3529: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(&f_010[0], in.getSampleDataRO(INDEX3(0,k1+1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3530: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(&f_011[0], in.getSampleDataRO(INDEX3(0,k1+1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3545: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(&f_100[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3546: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(&f_101[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3547: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(&f_110[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1+1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3548: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(&f_111[0], in.getSampleDataRO(INDEX3(m_NN[0]-1,k1+1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3563: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,0,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3564: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,0,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3565: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,0,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3566: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,0,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3581: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3582: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,m_NN[1]-1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3583: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-1,k2, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3584: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,m_NN[1]-1,k2+1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3599: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(&f_000[0], in.getSampleDataRO(INDEX3(k0,k1,0, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3600: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(&f_010[0], in.getSampleDataRO(INDEX3(k0,k1+1,0, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3601: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(&f_100[0], in.getSampleDataRO(INDEX3(k0+1,k1,0, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3602: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(&f_110[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,0, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3617: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(&f_001[0], in.getSampleDataRO(INDEX3(k0,k1,m_NN[2]-1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3618: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(&f_011[0], in.getSampleDataRO(INDEX3(k0,k1+1,m_NN[2]-1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3619: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(&f_101[0], in.getSampleDataRO(INDEX3(k0+1,k1,m_NN[2]-1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Brick.cpp:3620: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(&f_111[0], in.getSampleDataRO(INDEX3(k0+1,k1+1,m_NN[2]-1, m_NN[0],m_NN[1]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:758: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((char*)&values[0], (char*)&decompressed[fileofs*sizeof(ValueType)], num0*numComp*sizeof(ValueType));
data/python-escript-5.5/ripley/src/Rectangle.cpp:915: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 siloPath[64];
data/python-escript-5.5/ripley/src/Rectangle.cpp:929: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 siloPath[64];
data/python-escript-5.5/ripley/src/Rectangle.cpp:1389: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1390: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1391: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1392: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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1418: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1419: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1420: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1441: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(&f_00[0], in.getSampleDataRO(INDEX2(0,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1442: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(&f_01[0], in.getSampleDataRO(INDEX2(0,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1443: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(&f_10[0], in.getSampleDataRO(INDEX2(1,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1444: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(&f_11[0], in.getSampleDataRO(INDEX2(1,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1457: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(&f_00[0], in.getSampleDataRO(INDEX2(m_NN[0]-2,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1458: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(&f_01[0], in.getSampleDataRO(INDEX2(m_NN[0]-2,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1459: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(&f_10[0], in.getSampleDataRO(INDEX2(m_NN[0]-1,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1460: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(&f_11[0], in.getSampleDataRO(INDEX2(m_NN[0]-1,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1473: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,0, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1474: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1475: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,0, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1476: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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1489: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,m_NN[1]-2, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1490: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,m_NN[1]-1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1491: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,m_NN[1]-2, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1492: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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,m_NN[1]-1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1515: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(&f_00[0], in.getSampleDataRO(INDEX2(0,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1516: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(&f_01[0], in.getSampleDataRO(INDEX2(0,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1517: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(&f_10[0], in.getSampleDataRO(INDEX2(1,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1518: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(&f_11[0], in.getSampleDataRO(INDEX2(1,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1529: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(&f_00[0], in.getSampleDataRO(INDEX2(m_NN[0]-2,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1530: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(&f_01[0], in.getSampleDataRO(INDEX2(m_NN[0]-2,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1531: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(&f_10[0], in.getSampleDataRO(INDEX2(m_NN[0]-1,k1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1532: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(&f_11[0], in.getSampleDataRO(INDEX2(m_NN[0]-1,k1+1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1543: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,0, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1544: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1545: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,0, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1546: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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1557: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,m_NN[1]-2, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1558: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,m_NN[1]-1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1559: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,m_NN[1]-2, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:1560: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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,m_NN[1]-1, m_NN[0]), zero), numComp*sizeof(Scalar));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2321: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,k1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2322: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,k1+1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2323: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,k1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2324: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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,k1+1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2346: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,k1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2347: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,k1+1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2348: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,k1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2349: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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,k1+1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2383: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(&f_00[0], in.getSampleDataRO(INDEX2(0,k1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2384: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(&f_01[0], in.getSampleDataRO(INDEX2(0,k1+1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2394: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(&f_10[0], in.getSampleDataRO(INDEX2(m_NN[0]-1,k1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2395: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(&f_11[0], in.getSampleDataRO(INDEX2(m_NN[0]-1,k1+1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2405: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,0, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2406: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,0, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2416: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,m_NN[1]-1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2417: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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,m_NN[1]-1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2438: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(&f_00[0], in.getSampleDataRO(INDEX2(0,k1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2439: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(&f_01[0], in.getSampleDataRO(INDEX2(0,k1+1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2450: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(&f_10[0], in.getSampleDataRO(INDEX2(m_NN[0]-1,k1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2451: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(&f_11[0], in.getSampleDataRO(INDEX2(m_NN[0]-1,k1+1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2462: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(&f_00[0], in.getSampleDataRO(INDEX2(k0,0, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2463: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(&f_10[0], in.getSampleDataRO(INDEX2(k0+1,0, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2474: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(&f_01[0], in.getSampleDataRO(INDEX2(k0,m_NN[1]-1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/Rectangle.cpp:2475: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(&f_11[0], in.getSampleDataRO(INDEX2(k0+1,m_NN[1]-1, m_NN[0]), sentinel), numComp*sizeof(S));
data/python-escript-5.5/ripley/src/blocktools.cpp:376: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(dest, start, xlim*sizeof(double)*dpsize);
data/python-escript-5.5/ripley/src/blocktools.cpp:403: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(start, src, xlim*sizeof(double)*dpsize);
data/python-escript-5.5/ripley/src/blocktools2.cpp:338: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(dest, start, xlim*sizeof(double)*dpsize);
data/python-escript-5.5/ripley/src/blocktools2.cpp:358: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(start, src, xlim*sizeof(double)*dpsize);
data/python-escript-5.5/speckley/src/Brick.cpp:869: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((char*)&values[0], (char*)&decompressed[fileofs*sizeof(ValueType)], num0*numComp*sizeof(ValueType));
data/python-escript-5.5/speckley/src/Brick.cpp:1105: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 str[64];
data/python-escript-5.5/speckley/src/Brick.cpp:1301: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(o, first_element, size);
data/python-escript-5.5/speckley/src/Brick.cpp:2803: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(e, &src[current], sizeof(double)*per_element);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:572: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(&left[z_offset + ey*4*numComp], out + numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:573: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(&left[z_offset + (ey*4 + 1)*numComp], out + 3*numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:574: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(&left[z_offset + (ey*4 + 2)*numComp], out + 5*numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:575: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(&left[z_offset + (ey*4 + 3)*numComp], out + 7*numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:585: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(&left[z_offset + ey*8*numComp], out, pointsize*8);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:596: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(&right[z_offset + ey*4*numComp], out, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:597: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(&right[z_offset + (ey*4 + 1)*numComp], out + 2*numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:598: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(&right[z_offset + (ey*4 + 2)*numComp], out + 4*numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:599: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(&right[z_offset + (ey*4 + 3)*numComp], out + 6*numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:609: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(&right[z_offset + ey*8*numComp], out, pointsize*8);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:625: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(out, &lrecv[z_offset + ey*4*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:626: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(out + 2*numComp, &lrecv[z_offset + (ey*4 + 1)*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:627: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(out + 4*numComp, &lrecv[z_offset + (ey*4 + 2)*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:628: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(out + 6*numComp, &lrecv[z_offset + (ey*4 + 3)*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:638: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(out, &lrecv[z_offset + ey*8*numComp], pointsize*8);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:649: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(out + numComp, &rrecv[z_offset + ey*4*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:650: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(out + 3*numComp, &rrecv[z_offset + (ey*4 + 1)*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:651: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(out + 5*numComp, &rrecv[z_offset + (ey*4 + 2)*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:652: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(out + 7*numComp, &rrecv[z_offset + (ey*4 + 3)*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:662: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(out, &rrecv[z_offset + ey*8*numComp], pointsize*8);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:688: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(&bottom[ez*4*numComp*r.NE[0] + ex*4*numComp], out + 2*numComp, pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:689: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(&bottom[ez*4*numComp*r.NE[0] + ex*4*numComp + 2*numComp], out + 6*numComp, pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:695: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(&bottom[ez*8*numComp*r.NE[0]], out, pointsize*8*r.NE[0]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:703: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(&top[ez*4*numComp*r.NE[0] + ex*4*numComp], out, pointsize*4);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:704: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(&top[ez*4*numComp*r.NE[0] + ex*4*numComp + 2*numComp], out + 4*numComp, pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:710: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(&top[ez*8*numComp*r.NE[0]], out, pointsize*8*r.NE[0]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:723: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(out, &brecv[INDEX4(0,0,ex,ez,numComp,4,r.NE[0])], pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:724: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(out + 4*numComp, &brecv[INDEX4(0,2,ex,ez,numComp,4,r.NE[0])], pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:730: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(out, &brecv[ez*8*numComp*r.NE[0]], pointsize*8*r.NE[0]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:739: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(out + 2*numComp, &trecv[INDEX4(0,0,ex,ez,numComp,4,r.NE[0])], pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:740: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(out + 6*numComp, &trecv[INDEX4(0,2,ex,ez,numComp,4,r.NE[0])], pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.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(out, &trecv[ez*8*numComp*r.NE[0]], pointsize*8*r.NE[0]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:771: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(&bottom[INDEX4(0,0,ex,ey,numComp,4,r.NE[0])], out + 4*numComp, pointsize*4);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:776: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(&bottom[0], out, pointsize*8*r.NE[0]*r.NE[1]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:783: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(&top[INDEX4(0,0,ex,ey,numComp,4,r.NE[0])], out, pointsize*4);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:788: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(&top[0], out, pointsize*8*r.NE[0]*r.NE[1]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:800: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(out, &brecv[INDEX4(0,0,ex,ey,numComp,4,r.NE[0])], pointsize*4);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:805: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(out, &brecv[0], pointsize*8*r.NE[0]*r.NE[1]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:812: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(out + 4*numComp, &trecv[INDEX4(0,0,ex,ey,numComp,4,r.NE[0])], pointsize*4);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:817: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(out, &trecv[0], pointsize*8*r.NE[0]*r.NE[1]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:840: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(&left[ey*2*numComp], out + numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:841: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(&left[(ey*2 + 1)*numComp], out + 3*numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:847: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(&left[ey*4*numComp], out, pointsize*4);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:854: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(&right[ey*2*numComp], out, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:855: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(&right[(ey*2 + 1)*numComp], out + 2*numComp, pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:861: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(&right[ey*4*numComp], out, pointsize*4);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:873: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(out, &lrecv[ey*2*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:874: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(out + 2*numComp, &lrecv[(ey*2 + 1)*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:880: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(out, &lrecv[ey*4*numComp], pointsize*4);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:887: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(out + numComp, &rrecv[ey*2*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:888: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(out + 3*numComp, &rrecv[(ey*2 + 1)*numComp], pointsize);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:894: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(out, &rrecv[ey*4*numComp], pointsize*4);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:917: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(&bottom[ex*2*numComp], out + 2*numComp, pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:921: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(&bottom[0], out, pointsize*4*r.NE[0]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:927: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(&top[ex*2*numComp], out, pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:931: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(&top[0], out, pointsize*4*r.NE[0]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:941: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(out, &brecv[ex*2*numComp], pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:945: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(out, &brecv[0], pointsize*4*r.NE[0]);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:951: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(out + 2*numComp, &trecv[ex*2*numComp], pointsize*2);
data/python-escript-5.5/speckley/src/CrossDomainCoupler.cpp:955: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(out, &trecv[0], pointsize*4*r.NE[0]);
data/python-escript-5.5/speckley/src/Rectangle.cpp:712: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((char*)&values[0], (char*)&decompressed[fileofs*sizeof(ValueType)], num0*numComp*sizeof(ValueType));
data/python-escript-5.5/speckley/src/Rectangle.cpp:912: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 siloPath[64];
data/python-escript-5.5/speckley/src/Rectangle.cpp:926: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 siloPath[64];
data/python-escript-5.5/speckley/src/Rectangle.cpp:1098: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(o, first_element, size);
data/python-escript-5.5/speckley/src/Rectangle.cpp:1275: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(e, &src[current], sizeof(double)*per_element);
data/python-escript-5.5/speckley/src/Rectangle.cpp:1468: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(e_out+quad*numComp, n_in, sizeof(Scalar) * numComp);
data/python-escript-5.5/tools/escriptconvert/escriptconvert.cpp:42: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 ts[255];
data/python-escript-5.5/tools/escriptconvert/escriptconvert.cpp:128: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[256];
data/python-escript-5.5/tools/escriptconvert/escriptconvert.cpp:148: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 sVal[256];
data/python-escript-5.5/tools/escriptconvert/esdcreate.cpp:38:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of 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.open(dsName.c_str(), ifstream::in);
data/python-escript-5.5/tools/escriptconvert/esdcreate.cpp:54:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    esdFile.open(dsName.c_str(), ifstream::out);
data/python-escript-5.5/tools/escriptconvert/esdcreate.cpp:78:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of 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.open(fname.c_str(), ifstream::in);
data/python-escript-5.5/tools/escriptconvert/esdcreate.cpp:83: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 partnum[10];
data/python-escript-5.5/tools/escriptconvert/esdcreate.cpp:88:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of 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.open(pname.c_str(), ifstream::in);
data/python-escript-5.5/tools/netcdf.cc:165: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 buff32[4];
data/python-escript-5.5/tools/netcdf.cc:400: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 buff[skip+1];
data/python-escript-5.5/tools/overlord/overlord.cpp:36: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).
    key = atoi(argv[2]);
data/python-escript-5.5/tools/overlord/overlord.cpp:37: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).
    port = atoi(argv[1]);
data/python-escript-5.5/weipa/src/EscriptDataset.cpp:345: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 str[64];
data/python-escript-5.5/weipa/src/EscriptDataset.cpp:386: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 str[64];
data/python-escript-5.5/weipa/src/EscriptDataset.cpp:512: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 name[101];
data/python-escript-5.5/weipa/test/EscriptDatasetTestCase.cpp:193: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[256];
data/python-escript-5.5/weipa/test/EscriptDatasetTestCase.cpp:210: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[256];
data/python-escript-5.5/dudley/src/DomainFactory.cpp:678:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return DudleyDomain::read(mpiInfo, fileName, optimize);
data/python-escript-5.5/dudley/src/DudleyDomain.h:103:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    static escript::Domain_ptr read(escript::JMPI mpiInfo,
data/python-escript-5.5/dudley/src/Mesh_read.cpp:150:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
escript::Domain_ptr DudleyDomain::read(escript::JMPI mpiInfo,
data/python-escript-5.5/dudley/src/Mesh_read.cpp:327:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            fileHandle.read(&remainder[0], end_pos-cur_pos);
data/python-escript-5.5/escriptcore/src/DataFactory.cpp:743:53:  [1] (buffer) strlen:
  Does not handle 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(type_str.get(), "constant", strlen("constant")) == 0 ) {
data/python-escript-5.5/escriptcore/src/DataFactory.cpp:745:58:  [1] (buffer) strlen:
  Does not handle 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 (strncmp(type_str.get(), "tagged", strlen("tagged")) == 0 ) {
data/python-escript-5.5/escriptcore/src/DataFactory.cpp:747: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).
            } else if (strncmp(type_str.get(), "expanded", strlen("expanded")) == 0 ) {
data/python-escript-5.5/escriptcore/src/EsysMPI.cpp:171: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).
    int slen = strlen(src);
data/python-escript-5.5/escriptcore/src/EsysMPI.cpp:211: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).
    *dest = new char[strlen(src)+1];
data/python-escript-5.5/escriptcore/src/NCHelper.cpp:38:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read(buff, 9);
data/python-escript-5.5/escriptcore/src/NCHelper.cpp:84:50:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ncf.open(name.c_str(), NcFile::FileMode::read, fm);
data/python-escript-5.5/escriptcore/src/Utils.cpp:69: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).
    for (i=strlen(buf)-1; i>=0; i--) {
data/python-escript-5.5/escriptcore/test/DataCombinationsTestCase.cpp:568:25:  [1] (buffer) mismatch:
  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.
  assert(getMPIWorldMax(mismatch)==0);  
data/python-escript-5.5/escriptcore/test/DataCombinationsTestCase.cpp:591:25:  [1] (buffer) mismatch:
  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.
  assert(getMPIWorldMax(mismatch)==0);
data/python-escript-5.5/finley/src/DomainFactory.cpp:934:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Domain_ptr dom(FinleyDomain::read(info, fileName, integrationOrder,
data/python-escript-5.5/finley/src/FinleyDomain.h:116:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    static escript::Domain_ptr read(escript::JMPI mpiInfo,
data/python-escript-5.5/finley/src/Mesh_read.cpp:153:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
escript::Domain_ptr FinleyDomain::read(escript::JMPI mpiInfo,
data/python-escript-5.5/finley/src/Mesh_read.cpp:334:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            fileHandle.read(&remainder[0], end_pos-cur_pos);
data/python-escript-5.5/finley/src/Mesh_readGmsh.cpp:1274: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).
                name[strlen(name)-1]='\0'; //strip trailing "
data/python-escript-5.5/finley/src/Mesh_readGmsh.cpp:1279: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).
                    tag_info[1] = strlen(name) + 1; //include \0
data/python-escript-5.5/paso/src/mmio.cpp:130: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 (strncmp(banner, MatrixMarketBanner, strlen(MatrixMarketBanner)) != 0)
data/python-escript-5.5/pythonMPI/src/ScriptMPI.cpp:68: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).
        int len=strlen(argv[i]);
data/python-escript-5.5/pythonMPI/src/ScriptMPIredirect.cpp:67: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).
            int len=strlen(argv[i]);
data/python-escript-5.5/ripley/src/Brick.cpp:769:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f.read((char*)&values[0], num0*numComp*sizeof(ValueType));
data/python-escript-5.5/ripley/src/Brick.cpp:865:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&compressed[0], filesize);
data/python-escript-5.5/ripley/src/Rectangle.cpp:648:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read((char*)&values[0], num0*numComp*sizeof(ValueType));
data/python-escript-5.5/ripley/src/Rectangle.cpp:722:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&compressed[0], filesize);
data/python-escript-5.5/speckley/src/Brick.cpp:710:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f.read((char*)&values[0], num0*numComp*sizeof(ValueType));
data/python-escript-5.5/speckley/src/Brick.cpp:807:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&compressed[0], filesize);
data/python-escript-5.5/speckley/src/Rectangle.cpp:599:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read((char*)&values[0], num0*numComp*sizeof(ValueType));
data/python-escript-5.5/speckley/src/Rectangle.cpp:672:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&compressed[0], filesize);
data/python-escript-5.5/tools/escriptconvert/escriptconvert.cpp:145: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).
        if (line[0] == '#' || strlen(line) == 0)
data/python-escript-5.5/weipa/src/EscriptDataset.cpp:515:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy(&name[0], meshName.c_str(), 100);
data/python-escript-5.5/weipa/src/VisItControl.cpp:280: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 (strlen(errorString) > 0) {

ANALYSIS SUMMARY:

Hits = 545
Lines analyzed = 210542 in approximately 7.27 seconds (28946 lines/second)
Physical Source Lines of Code (SLOC) = 154744
Hits@level = [0] 152 [1]  34 [2] 471 [3]   7 [4]  33 [5]   0
Hits@level+ = [0+] 697 [1+] 545 [2+] 511 [3+]  40 [4+]  33 [5+]   0
Hits/KSLOC@level+ = [0+] 4.50421 [1+] 3.52195 [2+] 3.30223 [3+] 0.258491 [4+] 0.213255 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.