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/netgen-6.2.2006+really6.2.1905+dfsg/nglib/nglib.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/nglib/ng_occ.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/nglib/ng_stl.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/nglib/nglib.h
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/nglib/ng_vol.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/nglib/parallelfunc.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/rules/makerlsfile.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/tests/catch/version.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/tests/catch/symboltable.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/tests/catch/main.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/tests/catch/archive.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geom2dpkg.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geom2dmesh.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/spline2d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/python_geom2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/vsgeom2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/vsgeom2d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geom2dmesh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/genmesh2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/logging.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/profiler.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/mpi_wrapper.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/profiler.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/symboltable.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/ngcore_api.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/ngcore.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/version.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/python_ngcore.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/exception.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/type_traits.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/utils.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/paje_trace.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/logging.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/paje_trace.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/utils.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/nginterface_v2_impl.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/visual.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/mydefs.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/geometry2d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/nginterface.h
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/incvis.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/inctcl.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/opti.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/mystdlib.h
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/linalg.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/incopengl.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/stlgeom.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/occgeom.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/csg.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/myadt.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/acisgeom.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/parallel.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/gprim.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/nginterface_v2.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/ngsimd.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/include/meshing.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/vsocc.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occconstruction.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/Partition_Loop.cxx
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occmeshsurf.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/Partition_Loop3d.cxx
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/Partition_Spliter.cxx
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/python_occ.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/Partition_Inter3d.cxx
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/utilities.h
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/vsocc.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/Partition_Loop2d.cxx
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/Partition_Inter2d.cxx
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occmeshsurf.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/vsstl.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeomchart.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/vsstl.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlline.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/meshstlsurface.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/python_stl.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlline.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeommesh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/meshstlsurface.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface_v2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writetet.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeabaqus.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writetecplot.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writepermas.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writediffpack.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writejcm.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/wuchemnitz.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writegmsh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefluent.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeuser.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writetochnog.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/read_fnf_mesh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writedolfin.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefeap.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeuser.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writegmsh2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readtetmesh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/triapprox.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/algprim.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/spline3d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/vscsg.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/triapprox.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/curve2d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/edgeflw.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/extrusion.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/brick.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/surface.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/spline3d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/specpoin.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/edgeflw.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/splinesurface.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/gencyl.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/explicitcurve2d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgparser.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/singularref.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/singularref.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/bspline2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/identify.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/meshsurf.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/meshsurf.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/specpoin.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/zrefine.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/revolution.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/manifold.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/revolution.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/gencyl.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/solid.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/extrusion.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgparser.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/surface.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/solid.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/geoml.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/polyhedra.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/identify.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/vscsg.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/splinesurface.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/brick.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/polyhedra.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/explicitcurve2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/manifold.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csg.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/genmesh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/algprim.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/python_csg.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/curve2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/linopt.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/linsearch.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/vector.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/bfgs.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/densemat.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/linalg.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/polynomial.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/polynomial.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/densemat.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/opti.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/sort.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mpi_interface.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/spbita2d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/spbita2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/bitarray.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/hashtabl.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/hashtabl.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/seti.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/seti.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/autodiff.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/netgenout.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/bitarray.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/parthreads.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/template.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/table.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/array.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mpi_interface.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/array.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/optmem.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/autoptr.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/table.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/optmem.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/dynamicmem.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/stack.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/parthreads.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/sort.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/myadt.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/ngpython.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/dynamicmem.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.h
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/ngsimd.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vsocc.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/importsolution.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visual.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/meshdoc.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vispar.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/mvdraw.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/soldata.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vssolution.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/stlmeshing.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/mvdraw.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/meshdoc.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vsmesh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vssolution.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visual_dummy.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vsfieldlines.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/delaunay.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hprefinement.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/netrule2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/triarls.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshtype.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshfunc.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshing2.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/quadrls.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/validate.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/smoothing2.5.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/curvedelems.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hpref_quad.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/smoothing2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parallelmesh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/findip2.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/clusters.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshfunc2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/refine.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/adfront3.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshfunc.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/classifyhpel.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/improve3.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hpref_trig.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hpref_segm.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/secondorder.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshclass.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/localh.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/improve3.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/bisect.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/specials.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/topology.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hpref_prism.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/basegeom.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/pyramid2rls.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/python_mesh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshing3.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hpref_pyramid.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/improve2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/netrule3.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/curvedelems.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/adfront3.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/global.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/adfront2.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/specials.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/clusters.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshclass.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshing2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/bcfunctions.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/prism2rls_2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/msghandler.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/findip.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/prism2rls.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshing3.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/localh.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hprefinement.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/boundarylayer.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/boundarylayer.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/validate.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/global.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshtool.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/adfront2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshtype.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/basegeom.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hpref_tet.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/geomsearch.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler2.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/improve2.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/pyramidrls.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hexarls.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/paralleltop.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/improve2gen.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/hpref_hex.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshtool.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/geomsearch.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/smoothing3.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/topology.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler2.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/msghandler.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshing.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/tetrarls.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/delaunay2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/bisect.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/paralleltop.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser3.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/bcfunctions.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geom3d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/spline.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geomfuncs.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geom2d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geomtest3d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geomops2.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geomops.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geomobjects.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/transform3d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geomfuncs.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geomobjects2.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geomtest3d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geom2d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/spline.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/transform3d.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/splinegeometry.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/geom3d.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/gprim.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/splinegeometry.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/netgenpy.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/demoview.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/fonts.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngappinit.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/encoding.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/parallelfunc.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ng_acis.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/onetcl.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/parallelfunc.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/demoview.hpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/gui.cpp
Examining data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp

FINAL RESULTS:

data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp:265:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (sname, "%s,%d", name, j);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgparser.cpp:804:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    strcpy(vals.Last(),val.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgparser.cpp:812:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(vals.Last(),val.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:436:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(red)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:438:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(blue)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:440:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(green)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:444:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(visible)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:446:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(transp)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:464:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(red)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:468:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(green)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:472:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(blue)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:476:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(visible)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:480:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (varname, "%s(transp)", propvar);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/solid.cpp:86:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy (name, aname);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/surface.cpp:31:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (name, aname);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/dynamicmem.cpp:45:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (name, aname);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.cpp:44: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 (hval, val);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.cpp:65:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (strarray->Last(), val.Get(i));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:82: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(str, s);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:102:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(str, s.str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:114: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(str, buffer);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:138: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(str, buffer);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:164: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(str, buffer);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:177: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(str, buffer);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:190: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(str, buffer);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:203: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(str, buffer);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:223:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (str, st.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:270: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(tmp + pos, s.str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:271: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(tmp + pos + s.length, str + pos);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:279:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (shortstr, tmp);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:330: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(str, s.str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:337:23:  [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).
  if (s1.length != 0) strcpy(tmp.str, s1.str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:338:23:  [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).
  if (s2.length != 0) strcpy(tmp.str + s1.length, s2.str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:346:26:  [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).
      if (s.length != 0) strcpy(shortstr + length, s.str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:351:24:  [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).
      if (length != 0) strcpy(tmp, str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:352:26:  [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).
      if (s.length != 0) strcpy(tmp + length, s.str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:451:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(materials[domainnr-1], material);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:794: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 (materials[domainnr-1], material);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:953: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(materials[domnr-1], material.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:175:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (weightsfilename, filename);            
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:1900: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(*str,s.c_str());  
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:2036: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(*reply,sreply.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:2049: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(*host,servers[number]->host.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:647:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(casedir, "mkdir %s\\constant\\polyMesh", casename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:648:7:  [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.
      system(casedir);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:652:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(casedir, "%s/constant", casename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:654:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(casedir, "%s/constant/polyMesh", casename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:672:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(casefiles, "%s/constant/polyMesh/points.gz", casename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:677:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(casefiles, "%s/constant/polyMesh/points", casename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:683:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(casefiles, "%s/constant/polyMesh/faces.gz", casename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:688:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(casefiles, "%s/constant/polyMesh/faces", casename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:694:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(casefiles, "%s/constant/polyMesh/owner.gz", casename.c_str()); 
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:699:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(casefiles, "%s/constant/polyMesh/owner", casename.c_str()); 
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:705:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(casefiles, "%s/constant/polyMesh/neighbour.gz", casename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:710:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(casefiles, "%s/constant/polyMesh/neighbour", casename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:715:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(casefiles, "%s/constant/polyMesh/boundary", casename.c_str()); 
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeabaqus.cpp:128:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (cfilename, filename.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeabaqus.cpp:131:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (mpcfilename, cfilename);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:38:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( a, "mkdir %s", filename.c_str() );
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:39:3:  [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.
  system( a );
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:45:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( str, "%s/mesh.header", filename.c_str() );
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:47:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( str, "%s/mesh.nodes", filename.c_str() );
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:49:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( str, "%s/mesh.elements", filename.c_str() );
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:51:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf( str, "%s/mesh.boundary", filename.c_str() );
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser2.cpp:66:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (name, buf);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser3.cpp:112:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (name, buf);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser3.cpp:987:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	  strcat (tt1, *hcp);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/python_mesh.cpp:639: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 (weightsfilename, filename.c_str());            
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp:243:20:  [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.
      GProp_GProps system;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp:244: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.
      BRepGProp::LinearProperties(edge, system);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp:245: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.
      double L = system.Mass();
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp:456: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.
                  GProp_GProps system;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp:457: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.
                  BRepGProp::LinearProperties(edge, system);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp:459: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.
                  if (system.Mass() < eps)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp:1036:26:  [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.
            GProp_GProps system;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp:1037: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.
            BRepGProp::LinearProperties(e, system);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgenmesh.cpp:1038:26:  [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 len = system.Mass();
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:73:10:  [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(acName, aReprItem->Name()->ToCString());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:189: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.
         GProp_GProps system;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:190: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.
         BRepGProp::SurfaceProperties(face, system);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:191:25:  [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.
         surfacecont += system.Mass();
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:352: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.
                  GProp_GProps system;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:353: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.
                  BRepGProp::LinearProperties(edge, system);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:354: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.
                  if (system.Mass() < tolerance)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:606: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.
         GProp_GProps system;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:607: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.
         BRepGProp::SurfaceProperties(face, system);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:608:28:  [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.
         newsurfacecont += system.Mass();
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1627: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.
         GProp_GProps system;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1628: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.
         BRepGProp::LinearProperties(edge1, system);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1629: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.
         edgeLengths[i-1] = system.Mass();
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:333:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf (buf, "%s", vssolution.GetSolData(atoi(argv[2])-1)->name.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:351:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
                strcat (buf, vssolution.GetSolData(i)->name.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngappinit.cpp:223:15:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
              strcat (tt1, *hcp); 
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:695:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (lstring, buf);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:788:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf (buf, "%s", mesh->GetFaceDescriptor(facenr).GetBCName().c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1447:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(optstring, argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1449:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(optstringcsg, argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2087:21:  [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.
          int err = system(command.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2095:17:  [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.
          err = system(command.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2392:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf, "visoptions.%s", name);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2450:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(str,name);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2451:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(str,str2);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2526: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 (vispar.selectvisual, Tcl_GetVar (interp, "::selectvisual", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/profiler.cpp:38:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv ("NGPROFILE"))
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngappinit.cpp:136:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv ("NETGENDIR") && strlen (getenv ("NETGENDIR")))
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngappinit.cpp:136:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv ("NETGENDIR") && strlen (getenv ("NETGENDIR")))
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngappinit.cpp:137:13:  [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.
    ngdir = getenv ("NETGENDIR");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/paje_trace.cpp:186: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).
          ctrace_stream = fopen (filename.c_str(),"w"); // NOLINT
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/profiler.cpp:33:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE *prof = fopen(filename.c_str(),"w"); // NOLINT
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/profiler.cpp:45:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
       FILE *prof = fopen(filename.c_str(),"w"); // NOLINT
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp:238: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 key[100], name[100], classname[100], sname[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp:284:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char type[20], solname[50], surfname[50];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp:306:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char type[10], surfname1[50], surfname2[50];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp:420:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      nsurfaces = atoi(classname.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp:539:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[15];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp:540:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (name, "nnsurf%d", cntsurfs);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:43:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (atoi (Tcl_GetVar (interp, "::geooptions.drawcsg", 0)))
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:65:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char buf[20];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:69:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "%5.1lf", pmin.X());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:71:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "%5.1lf", pmin.Y());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:73:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "%5.1lf", pmin.Z());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:76:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "%5.1lf", pmax.X());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:78:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "%5.1lf", pmax.Y());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:80:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "%5.1lf", pmax.Z());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:435:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char varname[50];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:445:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tlo -> SetVisible (bool(atoi (Tcl_GetVar (interp, varname, 0))));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:447:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tlo -> SetTransparent (bool(atoi (Tcl_GetVar (interp, varname, 0))));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:462:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char varname[50], varval[10];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:465:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (varval, "%lf", tlo->GetRed());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:469:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (varval, "%lf", tlo->GetGreen());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:473:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (varval, "%lf", tlo->GetBlue());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:477:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (varval, "%d", tlo->GetVisible());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:481:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (varval, "%d", tlo->GetTransparent());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgpkg.cpp:544: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 surfnr = atoi (argv[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/solid.cpp:469:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/solid.cpp:492:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/solid.cpp:515:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/surface.cpp:16:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy (name, "noname");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/vscsg.cpp:334:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[20];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/vscsg.cpp:344:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "%d", seg.edgenr);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/vscsg.cpp:412:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[20];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/vscsg.cpp:419:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "%d", int(i));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/array.cpp:42: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 (p, data, mins * elementsize);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/array.hpp:438: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 (p, data, sizeof(T)*mins);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.cpp:197:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[100], str[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.cpp:256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.cpp:47:27:  [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).
gzstreambuf* gzstreambuf::open( const char* name, int open_mode) {
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.cpp:55: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  fmode[10];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.cpp:90: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 + (4 - n_putback), gptr() - n_putback, n_putback);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.cpp:144:5:  [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( name, mode);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.cpp:151: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).
void gzstreambase::open( const char* name, int open_mode) {
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.cpp:152:16:  [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).
    if ( ! buf.open( name, open_mode))
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.h:51: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[bufferSize]; // data buffer
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.h:65: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).
    gzstreambuf* open( const char* name, int open_mode);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.h:81: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( const char* name, int open_mode);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.h:98: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( const char* name, int open_mode = std::ios::in) {
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.h:99: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).
        gzstreambase::open( name, open_mode);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.h:109: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( const char* name, int open_mode = std::ios::out) {
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/gzstream.h:110: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).
        gzstreambase::open( name, open_mode);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mpi_interface.cpp:39: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[100000]; //1MB should be enough...
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:107: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 buffer[32];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:108:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "%d", i);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:131: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 buffer[32];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:132:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "%p", p);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:157: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 buffer[32];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:158:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "%ld", l);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:169: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 buffer[32];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:171:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "%g", d);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:182: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 buffer[80];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:184:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "[%g, %g, %g]", p.X(), p.Y(), p.Z());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:195: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 buffer[80];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:197:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "[%g, %g, %g]", p.X(), p.Y(), p.Z());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.hpp:104: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 shortstr[SHORTLEN+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.hpp:155:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return atoi(str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.hpp:165:10:  [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).
  return atol(str);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/spbita2d.cpp:123:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (col, lines[i].col, sizeof (int) * lines[i].size);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/table.cpp:112: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 (p, line.col, line.maxsize * elsize);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/table.cpp:132: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 (p, line.col, min2 (newsize, line.size) * elsize);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:29: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[50];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:32: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).
    infile.open (filename);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:101: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[50], ch;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:126:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char flag[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:212:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char flag[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:249: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[50], ch;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:298:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char flag[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:396:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char flag[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:431: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 material[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:458:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char flag[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:487: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[50], ch;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:560:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    char flag[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:715:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    char flag[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:766:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char material[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:801:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    char flag[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:45: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 (cmin, acmin, dim * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:46: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 (cmax, acmax, dim * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:52: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 (root->boxmin, cmin, dim * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:53: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 (root->boxmax, cmax, dim * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:71: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 (bmin, cmin, dim * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:72: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 (bmax, cmax, dim * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:83:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy (node->data, p, dim * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:113: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 (next->data, p, dim * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:297: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 (cmin, acmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:298: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 (cmax, acmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:321: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 (bmin, cmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:322:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (bmax, cmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:332: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 (node->data, p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:362: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 (next->data, p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:529: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 (cmin, acmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:530: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 (cmax, acmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:557: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 (bmin, cmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:558: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 (bmax, cmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:569: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 (node->data, p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:623: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 (next->data, p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:812: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 (cmin, acmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:813: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 (cmax, acmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:836: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 (bmin, cmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:837: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 (bmax, cmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:848:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      memcpy (node->data[i], p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:878: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 (next->data[0], p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1050:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (cmin, acmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1051: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 (cmax, acmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1075: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 (bmin, cmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1076: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 (bmax, cmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1086: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 (node->data, p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1129: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 (next->data, p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1311: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 (cmin, acmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1312: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 (cmax, acmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1336: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 (bmin, cmin, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1337: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 (bmax, cmax, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1347:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      memcpy (node->data[i], p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1390: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 (next->data[0], p, 3 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1583: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 (cmin, acmin, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1584: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 (cmax, acmax, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1607: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 (bmin, cmin, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1608: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 (bmax, cmax, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1618: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 (node->data, p, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:1647: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 (next->data, p, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:2083: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 (cmin, acmin, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:2084: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 (cmax, acmax, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:2108: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 (bmin, cmin, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:2109: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 (bmax, cmax, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:2118: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 (node->data, p, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/gprim/adtree.cpp:2161: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 (next->data, p, 6 * sizeof(float));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:167: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(&buf[0], geom_part_string.c_str(), strs*sizeof(char));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:190:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char str[20];   
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:25: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 reco[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:91: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 reco[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:326: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 buf[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:419: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 buf[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:52:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char FOAMversion[4] = "1.5";
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:53:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char spaces[40];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:602:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char casefiles[256];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:646:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char casedir[256];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:650:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char casedir[256];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeabaqus.cpp:127:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cfilename[255];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeabaqus.cpp:130:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char mpcfilename[255];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeabaqus.cpp:134:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (mpcfilename+len-4, ".mpc");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeabaqus.cpp:136:2:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	strcat (mpcfilename, ".mpc");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[200];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:37: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 a[256];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:100:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf( str, "5%02d", (int)el.GetNP() );
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeelmer.cpp:114:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf( str, "3%02d", (int)el.GetNP() );
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefluent.cpp:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefluent.cpp:45:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(str,"(10 (0 1 %x 1))",np); //hexadecimal!!!
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefluent.cpp:49:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(str,"(10 (7 1 %x 1)(",np); //hexadecimal!!!
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefluent.cpp:77:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(str,"(13 (0 1 %x 0))",(noverbface+nse)); //hexadecimal!!!
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefluent.cpp:80:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(str,"(13 (4 1 %x 2 3)(",noverbface); //hexadecimal!!!
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefluent.cpp:159:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(str,"(13 (2 %x %x 3 3)(",(noverbface+1),noverbface+nse); //hexadecimal!!!
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefluent.cpp:174:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(str,"(12 (0 1 %x 0))",ne); //hexadecimal!!!
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writefluent.cpp:177:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(str,"(12 (1 1 %x 1 2))",ne); //hexadecimal!!!
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/wuchemnitz.cpp:69: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 reco[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/densemat.cpp:52: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 (data, m2.data, sizeof(double) * Height() * Width());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/densemat.cpp:102:15:  [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 (data) memcpy (data, m2.data, sizeof(double) * m2.Height() * m2.Width());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/vector.hpp:28: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 (data, v.data, s*sizeof(T)); return *this; }
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/vector.hpp:69: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 (data, v.data, s*sizeof(double)); return *this; }
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/vector.hpp:151: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 (data, &v(0), s*sizeof(double)); return *this; }
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/linalg/vector.hpp:181: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 (data, &v(0), S*sizeof(double)); return *this; }
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/bcfunctions.cpp:105:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ocf_inp[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/bisect.cpp:42: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 faceedges[4];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/bisect.cpp:2900:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				mtets.Elem(atoi(st.c_str())).marked = 3;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/bisect.cpp:2984:7:  [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).
		inf.open(opt.refinementfilename);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshclass.cpp:906:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshclass.cpp:1378:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/msghandler.cpp:21:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char st[2];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser2.cpp:43: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[256];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser2.cpp:498: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[256];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser3.cpp:84: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[256];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser3.cpp:957: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[256];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/python_mesh.cpp:631:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      memcpy(&buf[0], geom_part_string.c_str(), strs*sizeof(char));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/python_mesh.cpp:654: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 str[20];   
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:248:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (problems.Elem(ri), "Quality not ok");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:253:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (problems.Elem(ri), "no mapping found");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:422: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 (problems.Elem(ri), "Faces Ok");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:530:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			  sprintf (problems.Elem(ri), "mapping found");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:645:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			  sprintf (problems.Elem(ri), "Freezone not convex");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:676:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
					  sprintf (problems.Elem(ri), 
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:756: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 (problems.Elem(ri), "triangle (%d, %d, %d) in Freezone",
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:790:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				      sprintf (problems.Elem(ri), "triangle (%d, %d, %d) in Freezone",
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:819:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
						strcpy (problems.Elem(ri), "other");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:833:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
					  sprintf (problems.Elem(ri), "triangle (%d, %d, %d) in Freezone",
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:860:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			      sprintf (problems.Elem(ri), "Rule ok, err = %f", err);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:925: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 (problems.Elem(ri), "Orientation wrong");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:942: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 (problems.Elem(ri), "newpoint outside convex hull");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/ruler3.cpp:1017: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 (problems.Elem(ri), "oldlen < newlen");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/Partition_Inter3d.cxx:728: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 PSection[1024];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/Partition_Inter3d.cxx:743:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(PSection,"section_%d",i);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:61:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(acName, "none");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1382:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        auto tmpfile = std::fopen(filename, "w");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1383:33:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
        std::fputs(str.c_str(), tmpfile);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1384:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
        std::fclose(tmpfile);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:49:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.resthcloseedgeenable", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:53:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.resthminedgelenenable", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:68: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).
    showvolume = atoi (Tcl_GetVar (interp, "::occoptions.showvolumenr", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:75:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	      char buf[20];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:76:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	      sprintf (buf, "%5i", vispar.occshowvolumenr);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:89:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    temp = atoi (Tcl_GetVar (interp, "::occoptions.visproblemfaces", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:98:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.occshowsurfaces = atoi (Tcl_GetVar (interp, "::occoptions.showsurfaces", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:99:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.occshowedges = atoi (Tcl_GetVar (interp, "::occoptions.showedges", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:100:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.occzoomtohighlightedentity = atoi (Tcl_GetVar (interp, "::occoptions.zoomtohighlightedentity", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:110:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.ACISshowfaces = atoi (Tcl_GetVar (interp, "::occoptions.showsurfaces", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:111:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.ACISshowedges = atoi (Tcl_GetVar (interp, "::occoptions.showedges", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:112:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.ACISshowsolidnr = atoi (Tcl_GetVar (interp, "::occoptions.showsolidnr", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:113:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.ACISshowsolidnr2 = atoi (Tcl_GetVar (interp, "::occoptions.showsolidnr2", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:226:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		  atoi (Tcl_GetVar (interp, "::occoptions.fixsmalledges", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:228:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		  atoi (Tcl_GetVar (interp, "::occoptions.fixspotstripfaces", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:230:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		  atoi (Tcl_GetVar (interp, "::occoptions.sewfaces", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:232:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		  atoi (Tcl_GetVar (interp, "::occoptions.makesolids", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:234:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		  atoi (Tcl_GetVar (interp, "::occoptions.splitpartitions", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:251:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    int nr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:262:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    int nr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:279:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    int nr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:313:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    int nr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:324:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    int nr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:342:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    int nr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:358: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).
		int nr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:404: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).
		int nr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:467: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).
		int i = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:504: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).
		int nr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:506: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[2]; buf[0] = '0'; buf[1] = 0;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:526: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 helpstr[1000];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:571: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 buf[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:597: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 facenr = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:617: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 facenr = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:620:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	     sprintf (buf, "%5.2f", occgeometry->GetFaceMaxH(facenr));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:624:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	     sprintf (buf, "%5.2f", mparam.maxh);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:631: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 (buf, "%d", occgeometry->SelectedFace());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:637: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 facenr = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:651:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	     sprintf (buf, "%d", occgeometry->NrFaces());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:709:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int colourind = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:733:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int colourind = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:757:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int colourind = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:788:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int colourind = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:808: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 filter[flen+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:810: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[20];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:53:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.usesearchtree", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:62:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.resthsurfcurvenable", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:67:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.resthatlasenable", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:72:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.resthchartdistenable", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:77:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.resthlinelengthenable", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:82:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.resthcloseedgeenable", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:87:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.resthedgeangleenable", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:92:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.resthsurfmeshcurvenable", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:95:2:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	atoi (Tcl_GetVar (interp, "::stloptions.recalchopt", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:129:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.drawmeshededges", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:136:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.useexternaledges", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:139:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.showfaces", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:142:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.conecheck", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:145:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.spiralcheck", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:148:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.selectwithmouse", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:151:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.showedgecornerpoints", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:154:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.showmarkedtrigs", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:157:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.showtouchedtrigchart", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:171:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.selectmode", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:174:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.edgeselectmode", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:177:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.longlinefact", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:180:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.showexcluded", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:187:4:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  atoi (Tcl_GetVar (interp, "::stldoctor.selecttrig", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:190:4:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  atoi (Tcl_GetVar (interp, "::stldoctor.nodeofseltrig", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:194:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.showvicinity", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:197:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stldoctor.vicinity", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:419: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 buf[20];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:443:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		    strcpy (buf, "GOOD"); break;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:445:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		    strcpy (buf, "WARNING"); break;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:447:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		    strcpy (buf, "ERROR"); break;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:459:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%d", stlgeometry->Topology_Ok());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:464:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%d", stlgeometry->Orientation_Ok());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:484: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 (buf, "%i", (int)data[0]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:487: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 (buf, "%5.3g", data[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:489: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 (buf, "%5.3g", data[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:491: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 (buf, "%5.3g", data[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:494: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 (buf, "%5.3g", data[4]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:496: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 (buf, "%5.3g", data[5]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:498: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 (buf, "%5.3g", data[6]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlpkg.cpp:501: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 (buf, "%i", (int)data[7]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:76: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[ilen];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:79: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(&i, &buf, ilen);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:86: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[ilen];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:87: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(&buf, &i, ilen);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:97: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[ilen];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:101: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(&i, &buf, ilen);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:108: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[ilen];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:109: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(&buf, &i, ilen);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:119: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[ilen];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:125: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(&i, &buf, ilen);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:132: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[ilen];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltool.cpp:133: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(&buf, &i, ilen);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:48: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[namelen+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:60: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 spaces[nospaces+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:105: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[namelen+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:123: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 spaces[nospaces+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:198: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[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:274: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 buf1[50];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:275: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 buf2[50];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:276: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 buf3[50];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:286:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(buf1,"%1.9g",n.X());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:287:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(buf2,"%1.9g",n.Y());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:288:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(buf3,"%1.9g",n.Z());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:297:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf(buf1,"%1.9g",p.X());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:298:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf(buf2,"%1.9g",p.Y());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:299:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf(buf3,"%1.9g",p.Z());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:345: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[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/importsolution.cpp:24: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[100], name[1000];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/mvdraw.cpp:86: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 (selectvisual, "cross");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/mvdraw.cpp:615: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[20];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/mvdraw.cpp:627:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%8.3e", val);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/mvdraw.cpp:684: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[20];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vispar.hpp:16: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 selectvisual[20];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:47:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.imaginary", TCL_GLOBAL_ONLY));      
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:49:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.usetexture", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:50:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            if (atoi (Tcl_GetVar (interp, "::visoptions.redrawperiodic", TCL_GLOBAL_ONLY)))
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:54:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.invcolor", TCL_GLOBAL_ONLY));       
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:87:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    vssolution.scalcomp = atoi (scalname + pointpos);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:90:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		    char newscalname[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:94:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf (newscalname+pointpos, "%i", vssolution.scalcomp);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:129:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.gridsize", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:140:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.autoscale", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:148:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.logscale", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:156:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.showclipsolution", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:158:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.showsurfacesolution", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:160:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.lineartexture", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:162:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.numtexturecols", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:165:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.multidimcomponent", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:168:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	      atoi (Tcl_GetVar (interp, "::visoptions.drawpointcurves", TCL_GLOBAL_ONLY));	      
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:171:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	      atoi (Tcl_GetVar (interp, "::visoptions.drawfieldlines", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:173:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.numfieldlines", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:175:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.fieldlinesrandomstart", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:198:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.fieldlinesmaxpoints", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:205:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              (atoi (Tcl_GetVar (interp, "::visoptions.fieldlinesonlyonephase", TCL_GLOBAL_ONLY)) != 0);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:239:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                vssolution.fieldlines_startface = atoi (Tcl_GetVar (interp, "::visoptions.fieldlinesstartface", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:244:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.deformation", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:250:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            if (atoi (Tcl_GetVar (interp, "::visoptions.isolines", TCL_GLOBAL_ONLY)))
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:251:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              vssolution.numisolines = atoi (Tcl_GetVar (interp, "::visoptions.numiso", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:255:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.isosurf", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:257:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            vssolution.SetSubdivision(atoi (Tcl_GetVar (interp, "::visoptions.subdivisions", TCL_GLOBAL_ONLY)));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:265:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.invcolor", TCL_GLOBAL_ONLY));       
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:271:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.lineartexture", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:273:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              atoi (Tcl_GetVar (interp, "::visoptions.numtexturecols", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:282:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            vssolution.time = double (atoi (argv[2])) / 1000;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:308: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/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:328: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 (buf, "%d", vssolution.GetNSolData());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:333:55:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            sprintf (buf, "%s", vssolution.GetSolData(atoi(argv[2])-1)->name.c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:338: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 (buf, "%d", vssolution.GetSolData(atoi(argv[2])-1)->iscomplex);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:338:55:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            sprintf (buf, "%d", vssolution.GetSolData(atoi(argv[2])-1)->iscomplex);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:343: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 (buf, "%d", vssolution.GetSolData(atoi(argv[2])-1)->components);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:343:55:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            sprintf (buf, "%d", vssolution.GetSolData(atoi(argv[2])-1)->components);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:354:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat (buf, "var1 var2 var3");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:371: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 (buf, "%d", mesh->GetDimension());
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:393:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		  atoi(Tcl_GetVar(interp, "::meshdoctor.active", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:400:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			  vsmeshdoc.SetMarkEdgeDist(atoi(argv[2]));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vsmesh.cpp:440:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[30];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vsmesh.cpp:448:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	      sprintf (buf, "%d", int(pi));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vsmesh.cpp:481:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%d", i);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vsmesh.cpp:514:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%d", i);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vsmesh.cpp:599:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%d", i);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/demoview.cpp:157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[2];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/demoview.cpp:336: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).
    istr.open(filename);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ng_acis.hpp:143:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (pos_ent1 != -1) ientry = atoi (select.substr(pos_ent1+6, pos_ent2).c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ng_acis.hpp:148:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 (pos_face1 != -1) iface = atoi (select.substr(pos_face1+4, pos_face2).c_str());
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ng_acis.hpp:184:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    acisgeometry -> Subtract (atoi (argv[2])-1, atoi (argv[3])-1);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ng_acis.hpp:184:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    acisgeometry -> Subtract (atoi (argv[2])-1, atoi (argv[3])-1);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:665: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[20], lstring[200];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:668:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%u", unsigned(mesh->GetNP()));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:670:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%u", unsigned(mesh->GetNE()));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:672:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%u", unsigned(mesh->GetNSE()));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:688: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 (buf, "%lf", multithread.percent);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:694:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, " %d", tets_in_qualclass.Get(i));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:698:7:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
      strcat (lstring, " 0");
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:742: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 buf[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:752:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int facenr = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:753:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int bcnr = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:760:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int bcnr = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:771:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int facenr = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:774:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf (buf, "%d", mesh->GetFaceDescriptor(facenr).BCProperty());
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:785:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int facenr = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:800:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%d", vsmesh.SelectedFace());
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:806:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int facenr = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:816:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "%d", mesh->GetNFD());
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:921:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.elementorder = atoi(argv[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:982:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (argc >= 2) opt.minref = atoi (argv[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1004: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 levels = atoi (argv[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1184:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.secondorder = atoi (Tcl_GetVar (interp, "::options.secondorder", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1185:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.elementorder = atoi (Tcl_GetVar (interp, "::options.elementorder", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1186:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.quad = atoi (Tcl_GetVar (interp, "::options.quad", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1187:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.try_hexes = atoi (Tcl_GetVar (interp, "::options.try_hexes", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1189:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.inverttets = atoi (Tcl_GetVar (interp, "::options.inverttets", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1190:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.inverttrigs = atoi (Tcl_GetVar (interp, "::options.inverttrigs", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1191:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.uselocalh = atoi (Tcl_GetVar (interp, "::options.localh", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1193:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.delaunay = atoi (Tcl_GetVar (interp, "::options.delaunay", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1194:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.checkoverlap = atoi (Tcl_GetVar (interp, "::options.checkoverlap", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1195:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.checkoverlappingboundary = atoi (Tcl_GetVar (interp, "::options.checkoverlappingboundary", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1196:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.checkchartboundary = atoi (Tcl_GetVar (interp, "::options.checkchartboundary", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1197:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.optsteps3d = atoi (Tcl_GetVar (interp, "::options.optsteps3d", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1198:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.optsteps2d = atoi (Tcl_GetVar (interp, "::options.optsteps2d", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1201:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.parthread = atoi (Tcl_GetVar (interp, "::options.parthread", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1204:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    mparam.autozrefine = atoi (Tcl_GetVar (interp, "::options.autozrefine", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1208:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    printmessage_importance = atoi (Tcl_GetVar (interp, "::options.printmsg", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1233:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.slowchecks = atoi (Tcl_GetVar (interp, "::debug.slowchecks", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1234:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.debugoutput = atoi (Tcl_GetVar (interp, "::debug.debugoutput", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1235:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltexistingline = atoi (Tcl_GetVar (interp, "::debug.haltexistingline", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1236:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltoverlap = atoi (Tcl_GetVar (interp, "::debug.haltoverlap", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1237:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltsuccess = atoi (Tcl_GetVar (interp, "::debug.haltsuccess", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1238:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltnosuccess = atoi (Tcl_GetVar (interp, "::debug.haltnosuccess", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1239:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltlargequalclass = atoi (Tcl_GetVar (interp, "::debug.haltlargequalclass", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1240:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltsegment = atoi (Tcl_GetVar (interp, "::debug.haltsegment", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1241:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltnode = atoi (Tcl_GetVar (interp, "::debug.haltnode", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1242:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltface = atoi (Tcl_GetVar (interp, "::debug.haltface", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1243:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltsegmentp1 = atoi (Tcl_GetVar (interp, "::debug.haltsegmentp1", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1244:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltsegmentp2 = atoi (Tcl_GetVar (interp, "::debug.haltsegmentp2", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1245:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    debugparam.haltfacenr = atoi (Tcl_GetVar (interp, "::debug.haltfacenr", 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1264: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 buf[10];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1271:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%lf", parameters.GetNumFlag (argv[1], 0));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1523: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[10];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1531:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf, "%5.1lf", angles[0]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1533: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 (buf, "%5.1lf", angles[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1535: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 (buf, "%5.1lf", angles[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1537: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 (buf, "%5.1lf", angles[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2021:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE *outfile = fopen(filename,"wb");
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2170: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).
    oldx = atoi (argv[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2171: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).
    oldy = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2172: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).
    newx = atoi (argv[3]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2173: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).
    newy = atoi (argv[4]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2186:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int px = atoi (argv[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2187:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int py = atoi (argv[2]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2260: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 nparts = atoi (argv[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2326:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int nparts = atoi (argv[1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2358: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 script[50];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2359: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 (script, "selectentity {Face %i}", facenr);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2391: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[100];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2439:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[80];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2440: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 str2[80];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2448:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(str2,"%05i.sol",rti);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2449:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(str,"mbssol/");
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2497:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.locviewer = atoi (Tcl_GetVar (interp, "::viewoptions.light.locviewer", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2506:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    hclip.enable = atoi (Tcl_GetVar (interp, "::viewoptions.clipping.enable", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2508:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.clipping.onlydomain", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2510:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.clipping.notdomain", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2518:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.whitebackground = atoi (Tcl_GetVar (interp, "::viewoptions.whitebackground", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2519:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.drawcoordinatecross = atoi (Tcl_GetVar (interp, "::viewoptions.drawcoordinatecross", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2520:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.drawcolorbar = atoi (Tcl_GetVar (interp, "::viewoptions.drawcolorbar", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2521:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.drawnetgenlogo = atoi (Tcl_GetVar (interp, "::viewoptions.drawnetgenlogo", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2522: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).
    vispar.stereo = atoi (Tcl_GetVar (interp, "::viewoptions.stereo", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2523:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    vispar.colormeshsize = atoi (Tcl_GetVar (interp, "::viewoptions.colormeshsize", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2531:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stloptions.showtrias", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2533:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stloptions.showfilledtrias", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2535:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stloptions.showedges", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2537:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stloptions.showmarktrias", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2539:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stloptions.showactivechart", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2541:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stloptions.chartnumber", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2543:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::stloptions.chartnumberoffset", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2546:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::occoptions.showsurfaces", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2548:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::occoptions.showedges", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2551:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawoutline", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2553:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawfilledtrigs", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2555:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::visoptions.subdivisions", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2557:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawbadels", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2559:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawedges", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2562:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawtetsdomain", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2564:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawtets", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2566:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawprisms", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2568:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawpyramids", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2570:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawhexes", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2579:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawidentified", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2581:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawpointnumbers", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2583:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawedgenumbers", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2585:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawfacenumbers", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2587:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawelementnumbers", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2589:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawdomainsurf", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2592:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawededges", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2594:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawedpoints", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2596:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawedpointnrs", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2598:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawedtangents", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2600:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawededgenrs", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2603:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawcurveproj", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2605:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawcurveprojedge", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2608:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.centerpoint", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2610:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.usecentercoords", TCL_GLOBAL_ONLY)) > 0;
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2618:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawelement", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2620:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawmetispartition", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2623:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      atoi (Tcl_GetVar (interp, "::viewoptions.drawspecpoint", TCL_GLOBAL_ONLY));
data/netgen-6.2.2006+really6.2.1905+dfsg/nglib/nglib.cpp:1185: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 geomfilename[255];
data/netgen-6.2.2006+really6.2.1905+dfsg/rules/makerlsfile.cpp:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[maxlen], infile[maxlen], outfile[maxlen];\
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.hpp:705:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      long len = str ? static_cast<long>(strlen (str)) : -1;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.hpp:771:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        stream->read(&str[0], len); // NOLINT
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.hpp:783:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          stream->read(&str[0], len); // NOLINT
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.hpp:790:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    { stream->read(reinterpret_cast<char*>(d), n*sizeof(double)); return *this; } // NOLINT
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.hpp:792:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    { stream->read(reinterpret_cast<char*>(i), n*sizeof(int)); return *this; } // NOLINT
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.hpp:794:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    { stream->read(reinterpret_cast<char*>(i), n*sizeof(size_t)); return *this; } // NOLINT
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.hpp:799:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    { stream->read(reinterpret_cast<char*>(&val), sizeof(T)); } // NOLINT
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/core/archive.hpp:842:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      long len = str ? static_cast<long>(strlen (str)) : -1;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp:1536: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 (strcmp (&cfilename[strlen(cfilename)-3], "geo") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/csgeom.cpp:1550: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 (strcmp (&cfilename[strlen(cfilename)-3], "ngg") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/solid.cpp:85: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).
    name = new char[strlen (aname)+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/solid.cpp:481: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).
    for (int i = int(strlen(str))-1; i >= 0; i--)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/solid.cpp:505: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).
    for (int i = int(strlen(str))-1; i >= 0; i--)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/csg/surface.cpp:30: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).
  name = new char[strlen (aname)+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/dynamicmem.cpp:44:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	name = new char[strlen(aname)+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.cpp:43:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char * hval = new char[strlen (val) + 1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.cpp:64:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strarray->Append (new char[strlen(val.Get(i))+1]);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.cpp:206:6:  [1] (buffer) strlen:
  Does not handle 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 (name) == 0) break;
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/flags.cpp:277:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (name, st+1, (pos-st)-1);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mpi_interface.cpp:26:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      MPI_Send( (void*)cmd, (strlen(cmd)+1), MPI_CHAR, dest, MPI_TAG_CMD, MPI_COMM_WORLD);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:76: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).
  length = unsigned(strlen(s));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:109: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).
  length = unsigned(strlen(buffer));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:133: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).
  length = unsigned(strlen(buffer));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:159: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).
  length = unsigned(strlen(buffer));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:172: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).
  length = unsigned(strlen(buffer));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:185: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).
  length = unsigned(strlen(buffer));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:198: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).
  length = unsigned(strlen(buffer));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:239:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(tmp.str, str, r);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:255:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(tmp.str, str + length - l, l);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:269:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(tmp, str, pos);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:296:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(str + pos, s.str, n);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/general/mystring.cpp:395:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tmp.str, str + 1, n);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/geom2d/geometry2d.cpp:1012: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 (strcmp (&cfilename[strlen(cfilename)-4], "in2d") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:174:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char * weightsfilename = new char [strlen(filename)+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:176:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	weightsfilename[strlen (weightsfilename)-3] = 'w';
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:177:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	weightsfilename[strlen (weightsfilename)-2] = 'e';
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/nginterface.cpp:178:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	weightsfilename[strlen (weightsfilename)-1] = 'i';
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:32:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( (strlen (filename) > 5) &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:33: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).
         strcmp (&filename[strlen (filename)-5], ".surf") == 0 )
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:88:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( (strlen (filename) > 4) &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:89: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).
         strcmp (&filename[strlen (filename)-4], ".unv") == 0 )
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:321:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( (strlen (filename) > 7) &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:322: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).
         strcmp (&filename[strlen (filename)-7], ".mesh2d") == 0 )
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:363:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    else if ( (strlen (filename) > 5) &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:364:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strcmp (&filename[strlen (filename)-5], ".mesh") == 0 )
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:436:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( (strlen (filename) > 4) &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:437: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).
         strcmp (&filename[strlen (filename)-4], ".emt") == 0 )
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:442:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int len = strlen (filename);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:543:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( (strlen (filename) > 4) &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:544: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).
         strcmp (&filename[strlen (filename)-4], ".tet") == 0 )
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:551:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( (strlen (filename) > 4) &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/readuser.cpp:552: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).
         strcmp (&filename[strlen (filename)-4], ".fnf") == 0 )
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeOpenFOAM15x.cpp:56: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).
      spaces[38 - strlen(FOAMversion)] = '\0';
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/interface/writeabaqus.cpp:132:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (cfilename);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshclass.cpp:1311:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy (str, "");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshclass.cpp:1587:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy (str, "");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshfunc.cpp:279:42:  [1] (buffer) strlen:
  Does not handle 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 (size_t j = 1; j <= strlen(optstr); j++)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/meshfunc2d.cpp:27: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).
      for (size_t j = 1; j <= strlen(optstr); j++)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser2.cpp:65: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).
  name = new char[strlen (buf) + 1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser2.cpp:540:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len += strlen (*hcp);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser3.cpp:111: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).
  name = new char[strlen (buf) + 1];
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser3.cpp:976:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  len += strlen (*hcp);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/parser3.cpp:988:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  tt1 += strlen (*hcp);	  
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/python_mesh.cpp:640: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).
		  weightsfilename[strlen (weightsfilename)-3] = 'w';
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/python_mesh.cpp:641: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).
		  weightsfilename[strlen (weightsfilename)-2] = 'e';
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/meshing/python_mesh.cpp:642: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).
		  weightsfilename[strlen (weightsfilename)-1] = 'i';
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1333:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(filename) < 4) 
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1336:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strcmp (&filename[strlen(filename)-3], "igs") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1342:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    else if (strcmp (&filename[strlen(filename)-3], "stp") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1348:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    else if (strcmp (&filename[strlen(filename)-3], "stl") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occgeom.cpp:1354:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    else if (strcmp (&filename[strlen(filename)-4], "stlb") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:530:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		    strncpy (helpstr, cstr+2, strlen(strchr(cstr+2, '}')));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:530:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    strncpy (helpstr, cstr+2, strlen(strchr(cstr+2, '}')));
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:653:7:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
	     sprintf (buf, "0");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:916:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((strcmp (&lgfilename[strlen(lgfilename)-4], "iges") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:917:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(strcmp (&lgfilename[strlen(lgfilename)-3], "igs") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:918:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(strcmp (&lgfilename[strlen(lgfilename)-3], "IGS") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:919:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(strcmp (&lgfilename[strlen(lgfilename)-4], "IGES") == 0))
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:926: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).
    else if ((strcmp (&lgfilename[strlen(lgfilename)-4], "step") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:927:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-3], "stp") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:928:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-3], "STP") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:929:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-4], "STEP") == 0))
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:935: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).
    else if ((strcmp (&lgfilename[strlen(lgfilename)-4], "brep") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:936: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).
	     (strcmp (&lgfilename[strlen(lgfilename)-4], "Brep") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/occ/occpkg.cpp:937: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).
	     (strcmp (&lgfilename[strlen(lgfilename)-4], "BREP") == 0))
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:73: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(cfilename) < 4) 
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:76: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(cfilename) > 3 &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:77: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).
      strcmp (&cfilename[strlen(cfilename)-3], "stl") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:81: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).
  else if (strlen(cfilename) > 4 &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:82: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).
	   strcmp (&cfilename[strlen(cfilename)-4], "stlb") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:87: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).
  else if (strlen(cfilename) > 4 &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:88: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).
	   strcmp (&cfilename[strlen(cfilename)-4], "stle") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:3535: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 (strcmp (&cfilename[strlen(cfilename)-3], "stl") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:3545:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    else if (strcmp (&cfilename[strlen(cfilename)-4], "stlb") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stlgeom.cpp:3555:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    else if (strcmp (&cfilename[strlen(cfilename)-3], "nao") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/stlgeom/stltopology.cpp:357:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen (buf);
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/mvdraw.cpp:687:5:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    sprintf (buf, "x");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/mvdraw.cpp:691:5:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    sprintf (buf, "y");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/mvdraw.cpp:695:5:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    sprintf (buf, "z");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:83:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if ( (strlen (vssolution.soldata[i]->name.c_str()) == size_t(pointpos-1)) &&
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:352:17:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
                strcat (buf, " ");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/visualpkg.cpp:365:13:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            sprintf (buf, "1");
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vssolution.cpp:183:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strcmp (&filename[strlen(filename)-3], "sol") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vssolution.cpp:225:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strcmp (&filename[strlen(filename)-3], "vtk") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/libsrc/visualization/vssolution.cpp:228: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).
        surf_fn.erase (strlen(filename)-4);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngappinit.cpp:136: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 (getenv ("NETGENDIR") && strlen (getenv ("NETGENDIR")))
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngappinit.cpp:214:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len += strlen (*hcp++); 
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngappinit.cpp:224: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).
              tt1 += strlen (*hcp++);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:533:6:  [1] (buffer) strlen:
  Does not handle 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(lgfilename) < 4)
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:539: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 ((strcmp (&lgfilename[strlen(lgfilename)-4], "iges") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:540:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-3], "igs") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:541:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-3], "IGS") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:542:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-4], "IGES") == 0))
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:550: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).
	    else if (strcmp (&lgfilename[strlen(lgfilename)-3], "sat") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:557:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    else if ((strcmp (&lgfilename[strlen(lgfilename)-4], "step") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:558:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-3], "stp") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:559:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-3], "STP") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:560:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-4], "STEP") == 0))
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:572:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    else if ((strcmp (&lgfilename[strlen(lgfilename)-4], "brep") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:573:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-4], "Brep") == 0) ||
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:574:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (strcmp (&lgfilename[strlen(lgfilename)-4], "BREP") == 0))
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:623:6:  [1] (buffer) strlen:
  Does not handle 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(cfilename) < 4) {cout << "ERROR: can not recognise file format!!!" << endl;}
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:630: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 (strcmp (&filename[strlen(filename)-3], "sat") == 0)
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:778:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	    strcpy (buf, "0");
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:792:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	    strcpy (buf, "-");
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:818:4:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
	  sprintf (buf, "0");
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1446:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	optstring = new char[strlen(argv[3])+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1448: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).
	optstringcsg = new char[strlen(argv[3])+1];
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:1906: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).
    glCallLists (GLsizei(strlen(text)), GL_UNSIGNED_BYTE, text);
data/netgen-6.2.2006+really6.2.1905+dfsg/ng/ngpkg.cpp:2005:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(filename);
data/netgen-6.2.2006+really6.2.1905+dfsg/tests/catch/symboltable.cpp:41:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  SymbolTable<int> read;
data/netgen-6.2.2006+really6.2.1905+dfsg/tests/catch/symboltable.cpp:42:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ai & read;
data/netgen-6.2.2006+really6.2.1905+dfsg/tests/catch/symboltable.cpp:45:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      CHECK(read[i] == table[i]);
data/netgen-6.2.2006+really6.2.1905+dfsg/tests/catch/symboltable.cpp:46:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      CHECK(read.GetName(i) == table.GetName(i));

ANALYSIS SUMMARY:

Hits = 735
Lines analyzed = 198918 in approximately 4.49 seconds (44341 lines/second)
Physical Source Lines of Code (SLOC) = 137219
Hits@level = [0]  30 [1] 134 [2] 494 [3]   4 [4] 103 [5]   0
Hits@level+ = [0+] 765 [1+] 735 [2+] 601 [3+] 107 [4+] 103 [5+]   0
Hits/KSLOC@level+ = [0+] 5.57503 [1+] 5.3564 [2+] 4.37986 [3+] 0.779775 [4+] 0.750625 [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.