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/dolfinx-2019.2.0~git20201109.17bda9f/cpp/demo/hyperelasticity/main.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/demo/poisson/main.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/IndexMap.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/IndexMap.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/MPI.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/MPI.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/SubSystemsManager.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/SubSystemsManager.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/Table.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/Table.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogManager.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogManager.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogger.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogger.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/Timer.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/Timer.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/UniqueIdGenerator.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/UniqueIdGenerator.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/defines.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/defines.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/dolfin_common.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/dolfin_doc.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/init.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/init.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/log.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/log.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.hpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/timing.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/timing.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/types.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/utils.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/utils.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/dolfinx.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/CoordinateElement.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/CoordinateElement.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/DirichletBC.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/DirichletBC.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/DiscreteOperators.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/DiscreteOperators.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/DofMap.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/DofMap.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/DofMapBuilder.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/DofMapBuilder.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/ElementDofLayout.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/ElementDofLayout.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/FiniteElement.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/FiniteElement.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/Form.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/ReferenceCellGeometry.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/ReferenceCellGeometry.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/SparsityPatternBuilder.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/SparsityPatternBuilder.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/assemble_matrix_impl.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/assemble_scalar_impl.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/assemble_vector_impl.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/assembler.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/dofs_permutation.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/dofs_permutation.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/dolfin_fem.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/petsc.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/petsc.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/utils.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/fem/utils.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/function/Constant.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/function/Expression.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/function/Function.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/function/FunctionSpace.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/function/FunctionSpace.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/function/dolfin_function.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/function/evaluate.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/function/interpolate.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/generation/BoxMesh.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/generation/BoxMesh.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/generation/IntervalMesh.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/generation/IntervalMesh.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/generation/RectangleMesh.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/generation/RectangleMesh.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/generation/dolfin_generation.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/geometry/BoundingBoxTree.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/geometry/BoundingBoxTree.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/geometry/GJK.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/geometry/GJK.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/geometry/dolfin_geometry.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/geometry/utils.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/geometry/utils.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/AdjacencyList.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/BoostGraphColoring.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/BoostGraphOrdering.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/BoostGraphOrdering.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/KaHIP.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/KaHIP.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/ParMETIS.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/ParMETIS.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/Partitioning.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/Partitioning.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/SCOTCH.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/SCOTCH.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/graph/dolfin_graph.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/HDF5Interface.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/HDF5Interface.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/VTKFile.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/VTKFile.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/VTKWriter.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/VTKWriter.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/XDMFFile.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/XDMFFile.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/cells.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/cells.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/dolfin_io.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugiconfig.hpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.hpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/utils.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/utils.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/xdmf_function.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/xdmf_function.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/xdmf_mesh.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/xdmf_mesh.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/xdmf_meshtags.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/xdmf_read.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/xdmf_utils.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/xdmf_utils.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScKrylovSolver.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScKrylovSolver.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScMatrix.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScMatrix.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScOperator.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScOperator.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScOptions.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScOptions.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScVector.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/PETScVector.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/SLEPcEigenSolver.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/SLEPcEigenSolver.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/SparsityPattern.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/SparsityPattern.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/Vector.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/VectorSpaceBasis.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/VectorSpaceBasis.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/dolfin_la.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/la/utils.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/Geometry.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/Geometry.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/GraphBuilder.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/GraphBuilder.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/Mesh.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/Mesh.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/MeshTags.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/Partitioning.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/Partitioning.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/PermutationComputation.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/PermutationComputation.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/Topology.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/Topology.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/TopologyComputation.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/TopologyComputation.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/cell_types.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/cell_types.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/dolfin_mesh.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/utils.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/utils.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/nls/NewtonSolver.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/nls/NewtonSolver.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/nls/NonlinearProblem.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/nls/dolfin_nls.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/refinement/PlazaRefinementND.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/refinement/PlazaRefinementND.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/refinement/dolfin_refinement.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/refinement/refine.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/refinement/refine.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/refinement/utils.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/refinement/utils.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/common/CIFailure.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/common/index_map.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/common/sub_systems_manager.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/main.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/mesh/distributed_mesh.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/MPICommWrapper.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/caster_mpi.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/caster_petsc.h
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/common.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/dolfin.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/fem.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/function.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/generation.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/geometry.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/graph.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/io.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/la.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/log.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/mesh.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/nls.cpp
Examining data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/refinement.cpp

FINAL RESULTS:

data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogger.cpp:18:41:  [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.
                                 double system)
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogger.cpp:22:10:  [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.
  assert(system >= 0.0);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogger.cpp:27:39:  [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.
                     + std::to_string(system) + " (" + task + ")";
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogger.cpp:36:32:  [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.
    std::get<3>(it->second) += system;
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogger.cpp:39:44:  [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.
    _timings.insert({task, {1, wall, user, system}});
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogger.cpp:61:41:  [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.
  bool time_sys = type.find(TimingType::system) != type.end();
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/TimeLogger.h:42:31:  [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.
                       double system);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/Timer.cpp:46: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.
  const auto [wall, user, system] = this->elapsed();
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/Timer.cpp:48:65:  [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.
    TimeLogManager::logger().register_timing(_task, wall, user, system);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/Timer.cpp:57:53:  [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.
  const double system = static_cast<double>(elapsed.system) * 1e-9;
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/Timer.cpp:58:23:  [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 {wall, user, system};
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:387:3:  [4] (format) vsnprintf:
  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.
		vsnprintf(buff, bytes_needed+1, format, vlist);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1389:4:  [4] (format) vsnprintf:
  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.
			vsnprintf(_name, sizeof(_name), format, vlist);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1699:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(with_newline + 1, parent_ec.c_str());
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:141:35:  [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.
#	define PUGI__SNPRINTF(buf, ...) snprintf(buf, sizeof(buf), __VA_ARGS__)
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:145:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#	define PUGI__SNPRINTF sprintf
data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/common.cpp:92:45:  [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.
      .value("system", dolfinx::TimingType::system)
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:218:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			if (const char* term = getenv("TERM")) {
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:658:24:  [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.
			auto user_profile = getenv("USERPROFILE");
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:662:16:  [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.
			auto home = getenv("HOME");
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:4621:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random(T a, T b) {
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:4630:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random(T a, T b) {
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:12879:18:  [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.
            std::srand(config.rngSeed());
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:140: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 path[PATH_MAX];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:141: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 mode_str[4];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:190: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.
	static char                  s_current_dir[PATH_MAX];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:358:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			file_abs->fp = fopen(file_abs->path, file_abs->mode_str);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:528:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buff[256];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:577: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 old_thread_name[16] = {0};
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:596: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 preamble_explain[LOGURU_PREAMBLE_WIDTH];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:724: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 path[PATH_MAX];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:736:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		auto file = fopen(path, mode_str);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:764:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char preamble_explain[LOGURU_PREAMBLE_WIDTH];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:914:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		__declspec( thread ) static char thread_name[LOGURU_THREADNAME_WIDTH + 1] = {0};
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1079:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[1024];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1175: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 thread_name[LOGURU_THREADNAME_WIDTH + 1] = {0};
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1182: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 level_buff[6];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1209:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char shortened_filename[LOGURU_FILENAME_WIDTH + 1];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1327: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 preamble_buff[LOGURU_PREAMBLE_WIDTH];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1808:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char preamble_buff[LOGURU_PREAMBLE_WIDTH];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.hpp:625:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char        _name[LOGURU_SCOPE_TEXT_SIZE];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:100:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define PUGI__STATIC_ASSERT(cond) { static const char condition_failed[(cond) ? 1 : -1] = {0}; (void)condition_failed[0]; }
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:122:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
using std::memcpy;
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:1840:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const unsigned char chartype_table[256] =
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:1870:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const unsigned char chartypex_table[256] =
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:2055:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(buffer, contents, length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:2231:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buffer, data, prefix_length);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:2374:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(dest, source, source_length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:2390:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(buf, source, source_length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:3763:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(buffer + bufsize, data, length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:3773: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(buffer + offset, data, length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:4670: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[128];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:4679: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[128];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:4898:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(write, chunk->data, chunk->size);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:5007: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 mode_ascii[4] = {0};
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:5011: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* result = fopen(path_utf8, mode_ascii);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:6168: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(&result[offset], j->name, length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:7120:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		auto_deleter<FILE> file(fopen(path_, "rb"), impl::close_file);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:7203:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		auto_deleter<FILE> file(fopen(path_, (flags & format_save_file_text) ? "w" : "wb"), impl::close_file);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:7542:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char data[xpath_memory_page_size];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:7619: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(result, ptr, old_size);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:7735:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(result, string, length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:7797:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				if (!_uses_heap) memcpy(result, _buffer, target_length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:7800: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(result + target_length, o._buffer, source_length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8207:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		int exponent = atoi(exponent_string + 1);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8234: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 mantissa_buffer[32];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8350:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(scratch, begin, length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8505:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char table[128] = {0};
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8530:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(result, table, sizeof(table));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8647:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(result->name, name, (length + 1) * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8739:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(scratch, begin, length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8881:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(_end, begin_, count * sizeof(xpath_node));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:11142:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(c, value.begin, length * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:12116:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(storage, begin_, size_ * sizeof(xpath_node));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:12320:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(copy, value, size);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:12689:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(buffer, r.c_str(), (size - 1) * sizeof(char_t));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.hpp:1005: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 _memory[192];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/nls/NewtonSolver.cpp:170:63:  [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).
              << ": r (abs) = " << _residual << " (tol = " << atol
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/nls/NewtonSolver.cpp:176: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).
  if (relative_residual < rtol or _residual < atol)
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:2150: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 timeStamp[timeStampSize];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:4435:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        alignas(alignof(T)) char storage[sizeof(T)];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:5942:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char line[CATCH_CONFIG_CONSOLE_WIDTH] = {0};
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:7463:14:  [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).
        void open();
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:11276:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&i, &f, sizeof(f));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:11283:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&i, &d, sizeof(d));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:11825: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 m_buffer[L_tmpnam] = { 0 };
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:11912: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 buffer[100];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:11921:23:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
        m_file = std::tmpfile();
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:11945: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 buffer[100] = {};
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:12408:30:  [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).
                    tracker->open();
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:13208:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char **utf8Argv = new char *[ argc ];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:13367: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 data[bufferSize];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:13416:23:  [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).
                m_ofs.open( filename.c_str() );
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:13667: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( m_data, m_start, m_size );
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:14153:23:  [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).
    void TrackerBase::open() {
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:14253: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).
            open();
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:14667:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char asChar[sizeof (int)];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:15334: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 buffer[maxDoubleSize];
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:15341:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        std::sprintf(buffer, "%.3f", duration);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:15934:10:  [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).
    void open() {
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:15968:12:  [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).
        tp.open();
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:16369: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 timeStamp[timeStampSize];
data/dolfinx-2019.2.0~git20201109.17bda9f/python/dolfinx/wrappers/nls.cpp:80:59:  [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).
      .def_readwrite("atol", &dolfinx::nls::NewtonSolver::atol)
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:434:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			auto arg_len = strlen(verbosity_flag);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:607:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(s_current_dir) != 0)
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:677:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t n = strlen(buff);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:686:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(buff, s_argv0_filename.c_str(), buff_size - strlen(buff) - 1);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:686:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strncat(buff, s_argv0_filename.c_str(), buff_size - strlen(buff) - 1);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:687:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
		strncat(buff, "/",                      buff_size - strlen(buff) - 1);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:687:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strncat(buff, "/",                      buff_size - strlen(buff) - 1);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:688:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		write_date_time(buff + strlen(buff),    buff_size - strlen(buff));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:688:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		write_date_time(buff + strlen(buff),    buff_size - strlen(buff));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:689:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
		strncat(buff, ".log",                   buff_size - strlen(buff) - 1);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:689:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strncat(buff, ".log",                   buff_size - strlen(buff) - 1);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:759:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(s_current_dir) != 0) {
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:797:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(find_this) <= strlen(replace_with_this)) {
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:797:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(find_this) <= strlen(replace_with_this)) {
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1697:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char* with_newline = reinterpret_cast<char*>(malloc(strlen(parent_ec.c_str()) + 2));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/common/loguru.cpp:1752: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).
		write_to_stderr(data, strlen(data));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/function/FunctionSpace.cpp:266:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (!std::equal(_component.begin(), _component.end(), V._component.begin()))
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:217:10:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return wcslen(s);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:219:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return strlen(s);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:251:10:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return wcslen(s);
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:4646:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		assert(strlen(buf) < sizeof(wbuf) / sizeof(wbuf[0]));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:4653:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return strcpy_insitu(dest, header, header_mask, buf, strlen(buf));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:4876:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			stream.read(chunk->data, static_cast<std::streamsize>(sizeof(chunk->data) / sizeof(T)));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:4932:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		stream.read(static_cast<T*>(buffer.data), static_cast<std::streamsize>(read_length));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:7244:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return impl::as_wide_impl(str, strlen(str));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8191: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).
		truncate_zeros(buffer, buffer + strlen(buffer));
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/io/pugixml.cpp:8241:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t result_size = strlen(mantissa_buffer) + (exponent > 0 ? exponent : -exponent) + 4;
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/dolfinx/mesh/GraphBuilder.cpp:98:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (std::equal(facet1.begin(), facet1.end(), facet0.begin()))
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:3695:29:  [1] (buffer) is_permutation:
  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.
                return std::is_permutation(m_target.begin(), m_target.end(), vec.begin());
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:13237:36:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            static_cast<void>(std::getchar());
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:13242:36:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            static_cast<void>(std::getchar());
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:13539:50:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin());
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:13545:50:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return s.size() >= suffix.size() && std::equal(suffix.rbegin(), suffix.rend(), s.rbegin());
data/dolfinx-2019.2.0~git20201109.17bda9f/cpp/test/unit/catch/catch.hpp:13637:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) )

ANALYSIS SUMMARY:

Hits = 137
Lines analyzed = 68131 in approximately 1.54 seconds (44207 lines/second)
Physical Source Lines of Code (SLOC) = 47774
Hits@level = [0]  42 [1]  34 [2]  80 [3]   6 [4]  17 [5]   0
Hits@level+ = [0+] 179 [1+] 137 [2+] 103 [3+]  23 [4+]  17 [5+]   0
Hits/KSLOC@level+ = [0+] 3.74681 [1+] 2.86767 [2+] 2.15598 [3+] 0.481433 [4+] 0.355842 [5+]   0
Dot directories skipped = 3 (--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.