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/getdp-3.2.0+dfsg1/Common/picojson.h
Examining data/getdp-3.2.0+dfsg1/Common/ListUtils.cpp
Examining data/getdp-3.2.0+dfsg1/Common/MallocUtils.cpp
Examining data/getdp-3.2.0+dfsg1/Common/OS.cpp
Examining data/getdp-3.2.0+dfsg1/Common/TreeUtils.cpp
Examining data/getdp-3.2.0+dfsg1/Common/avl.cpp
Examining data/getdp-3.2.0+dfsg1/Common/GmshSocket.h
Examining data/getdp-3.2.0+dfsg1/Common/ListUtils.h
Examining data/getdp-3.2.0+dfsg1/Common/MallocUtils.h
Examining data/getdp-3.2.0+dfsg1/Common/Message.h
Examining data/getdp-3.2.0+dfsg1/Common/OS.h
Examining data/getdp-3.2.0+dfsg1/Common/TreeUtils.h
Examining data/getdp-3.2.0+dfsg1/Common/avl.h
Examining data/getdp-3.2.0+dfsg1/Common/onelab.h
Examining data/getdp-3.2.0+dfsg1/Common/Message.cpp
Examining data/getdp-3.2.0+dfsg1/Interface/ProParser.h
Examining data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp
Examining data/getdp-3.2.0+dfsg1/Interface/ProDefine.h
Examining data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.hpp
Examining data/getdp-3.2.0+dfsg1/Interface/MacroManager.h
Examining data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp
Examining data/getdp-3.2.0+dfsg1/Interface/MacroManager.cpp
Examining data/getdp-3.2.0+dfsg1/Interface/ProData.cpp
Examining data/getdp-3.2.0+dfsg1/Interface/ProDefines.h
Examining data/getdp-3.2.0+dfsg1/Interface/ProData.h
Examining data/getdp-3.2.0+dfsg1/Interface/ProDefine.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/GeoData.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_IterativeLinearSolver.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_ARPACK.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_ConstraintOfElement.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_AnalyticIntegration.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_AnalyticIntegration.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_AssembleTerm.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_AssembleTerm.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_GalerkinTermOfFemEquation.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_GalerkinTermOfFemEquation.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_GlobalTermOfFemEquation.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_GlobalTermOfFemEquation.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_IntegralQuantity.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_IntegralQuantity.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_PostQuantity.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_PostQuantity.h
Examining data/getdp-3.2.0+dfsg1/Kernel/GeoData.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_SmallFemTermOfFemEquation.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_SmallFemTermOfFemEquation.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Cal_SolutionErrorRatio.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.h
Examining data/getdp-3.2.0+dfsg1/Kernel/DofData.h
Examining data/getdp-3.2.0+dfsg1/Kernel/EigenSolve.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/EigenSolve.h
Examining data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/ExtendedGroup.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/ExtendedGroup.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Print.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Element.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_Geometry.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/GeoEntity.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/GeoEntity.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Element.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Treatment_Formulation.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Hexahedron.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Hexahedron.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Line.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Line.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Point.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Prism.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Prism.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Pyramid.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Pyramid.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Quadrangle.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Quadrangle.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Tetrahedron.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Tetrahedron.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Triangle.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Gauss_Triangle.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Generate_Network.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Generate_Network.h
Examining data/getdp-3.2.0+dfsg1/Kernel/rtree.h
Examining data/getdp-3.2.0+dfsg1/Kernel/GeoNormal.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/GeoTree.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_ConstraintOfElement.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_DofOfElement.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_DofOfElement.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_ElementSource.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_ElementSource.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_FunctionValue.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_FunctionValue.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Get_Geometry.h
Examining data/getdp-3.2.0+dfsg1/Kernel/LinAlg.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/LinAlg.h
Examining data/getdp-3.2.0+dfsg1/Kernel/LinAlg_SPARSKIT.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/MainKernel.h
Examining data/getdp-3.2.0+dfsg1/Kernel/MovingBand2D.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/MovingBand2D.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_ChangeOfCoordinates.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_Debug.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_HPDDM.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_IterativeLoopN.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_IterativeTimeReduction.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_PostOperation.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_TimeLoopAdaptive.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_Update.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_Vector.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Search.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_FemInterpolation.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_FemInterpolation.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Iso.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Iso.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Print.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Pos_Search.h
Examining data/getdp-3.2.0+dfsg1/Kernel/getdp.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Operation_Optimizer.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Pre_TermOfFemEquation.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/SolvingAnalyse.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/Pre_TermOfFemEquation.h
Examining data/getdp-3.2.0+dfsg1/Kernel/SolvingAnalyse.h
Examining data/getdp-3.2.0+dfsg1/Kernel/Treatment_Formulation.h
Examining data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp
Examining data/getdp-3.2.0+dfsg1/Kernel/LinAlg_PETSC.cpp
Examining data/getdp-3.2.0+dfsg1/Main/Main.cpp
Examining data/getdp-3.2.0+dfsg1/Numeric/Adapt.cpp
Examining data/getdp-3.2.0+dfsg1/Numeric/Legendre.cpp
Examining data/getdp-3.2.0+dfsg1/Numeric/NumericUtils.cpp
Examining data/getdp-3.2.0+dfsg1/Numeric/Adapt.h
Examining data/getdp-3.2.0+dfsg1/Numeric/Legendre.h
Examining data/getdp-3.2.0+dfsg1/Numeric/NumericUtils.h
Examining data/getdp-3.2.0+dfsg1/Numeric/Bessel.cpp
Examining data/getdp-3.2.0+dfsg1/Numeric/Bessel.h
Examining data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp
Examining data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.h
Examining data/getdp-3.2.0+dfsg1/utils/misc/pyram.c
Examining data/getdp-3.2.0+dfsg1/Functions/BF.h
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Facet.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_GroupOfEntities.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Node.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_NodeXYZ.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Node_3.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Perpendicular.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Region.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Volume.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/Cal_Quantity.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/Cal_Quantity.h
Examining data/getdp-3.2.0+dfsg1/Functions/Cal_Value.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/Cal_Value.h
Examining data/getdp-3.2.0+dfsg1/Functions/F.h
Examining data/getdp-3.2.0+dfsg1/Functions/F_Analytic.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_BiotSavart.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Coord.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_DiffGeom.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_ExtMath.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Geometry.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Gmsh.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Hysteresis.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Interpolation.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_MultiHar.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Octave.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_PeWe.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Raytracing.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/GF.h
Examining data/getdp-3.2.0+dfsg1/Functions/GF_Helmholtz.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/GF_HelmholtzxForm.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/GF_Laplace.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/GF_LaplacexForm.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/F_Math.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Node_2.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Edge.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Edge_2.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Edge_3.cpp
Examining data/getdp-3.2.0+dfsg1/Functions/BF_Edge_4.cpp

FINAL RESULTS:

data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:370:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      chmod(_sockname.c_str(), 0666);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:276: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(addr_un.sun_path, sockname);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:363: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(addr_un.sun_path, _sockname.c_str());
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:408:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "%s:%d", _sockname.substr(0, pos).c_str(), _portno);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:415:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(s, args.c_str(), _sockname.c_str());
data/getdp-3.2.0+dfsg1/Common/Message.cpp:91:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
static int vsnprintf(char *str, size_t size, const char *fmt, va_list ap)
data/getdp-3.2.0+dfsg1/Common/Message.cpp:98:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return vsprintf(str, fmt, ap);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:103:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define vsnprintf _vsnprintf
data/getdp-3.2.0+dfsg1/Common/Message.cpp:241:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:274:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:307:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:335:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:348:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:377:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:389:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:418:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:452:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:482:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:526:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:586:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(str2, "(%s%s%s%s%s)", pdate.c_str(), pwall.c_str(), pcpu.c_str(),
data/getdp-3.2.0+dfsg1/Common/Message.cpp:588: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/getdp-3.2.0+dfsg1/Common/Message.cpp:617:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(str, sizeof(str), fmt, args);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:619:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(str2, "%3d%%    : %s", _progressMeterCurrent, str);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:668:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s = %gs ", it->first.c_str(), it->second);
data/getdp-3.2.0+dfsg1/Common/OS.cpp:338: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.
  if(!system(NULL)) {
data/getdp-3.2.0+dfsg1/Common/OS.cpp:343:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return system(command);
data/getdp-3.2.0+dfsg1/Common/onelab.h:1745:19:  [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 res = system(command.c_str());
data/getdp-3.2.0+dfsg1/Common/picojson.h:100:18:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define SNPRINTF snprintf
data/getdp-3.2.0+dfsg1/Functions/F_Hysteresis.cpp:2360:7:  [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(solver_type,gsl_multiroot_fsolver_name(s));
data/getdp-3.2.0+dfsg1/Functions/F_Hysteresis.cpp:2472:9:  [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(solver_type,gsl_root_fsolver_name(s));
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:148: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, Fct->String);
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:156:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(tmp, tmp2);
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:171: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, Fct->String);
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:179:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(tmp, tmp2);
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:197: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, Fct->String);
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:205:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(tmp, tmp2);
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:82:9:  [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(tmp, tmp2);
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:312: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(AbsPath, reference ? reference : getdp_yyname.c_str());
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:345: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(AbsPath, name);
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:348: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(AbsPath, getdp_yyname.c_str());
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:352:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(AbsPath, name);
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:369: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(AbsPath, template_dir);
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:371:9:  [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(AbsPath, name);
data/getdp-3.2.0+dfsg1/Interface/ProDefine.cpp:162: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(Valid, V[i].string);                                       \
data/getdp-3.2.0+dfsg1/Interface/ProDefine.cpp:164:10:  [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).
    else strcat(Valid, V[i].string);                                    \
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:7447:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define YYFPRINTF fprintf
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:8104: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(getdp_yyincludename, (yyvsp[0].c)); getdp_yyincludenum++; return(0);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:8578:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmpstr, "%s_%d", (yyvsp[-3].c), k+1) ;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:8756:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmpstr, "%s_%d", (yyvsp[-3].c), k+1) ;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:10735:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmpstr, "%s_%d", (yyvsp[-14].c), k+1);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:10752:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmpstr, "%s_%d", (yyvsp[-5].c), k+1);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:18330:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmpstr, "%s_%d", (yyvsp[-3].c), k+1) ;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19805:16:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
            if(fscanf(File, "%s", dummy))
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19836: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((yyval.c), (yyvsp[-4].c)); strcat((yyval.c), tmpstr);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19836:41:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcpy((yyval.c), (yyvsp[-4].c)); strcat((yyval.c), tmpstr);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19848: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((yyval.c), (yyvsp[-4].c)) ; strcat((yyval.c), tmpstr) ;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19848:42:  [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).
      strcpy((yyval.c), (yyvsp[-4].c)) ; strcat((yyval.c), tmpstr) ;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19860: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((yyval.c), (yyvsp[-5].c)); strcat((yyval.c), tmpstr);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19860:41:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcpy((yyval.c), (yyvsp[-5].c)); strcat((yyval.c), tmpstr);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19910:9:  [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((yyval.c), s);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19930:18:  [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(i <= 0) strcpy((yyval.c), (yyvsp[-1].c));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19946: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((yyval.c), (yyvsp[-1].c));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19948: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((yyval.c), &(yyvsp[-1].c)[i+1]);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19968:9:  [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((yyval.c), s);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20038: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((yyval.c), out.c_str());
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20050: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((yyval.c), out.c_str());
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20079: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((yyval.c), tmpstr);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20093: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((yyval.c), ctime(&date_info));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20109: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((yyval.c), str_date);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20119: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((yyval.c), action.c_str());
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20145: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((yyval.c), tmp.c_str());
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20930:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmpstr, "_%s_%d", Name, List_Nbr(Problem_S.Group));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20934:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmpstr, "%s_%d", Name, Num_Index);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21034:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmpstr, "_%s_%d", Name, List_Nbr(Problem_S.Expression)) ;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21186: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(buffer, format);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21192:7:  [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(buffer, tmp);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21216:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(tmp2, tmp1, *(double*)List_Pointer(list, i));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21217: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(buffer, tmp2);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21311:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(str, fmt, args);
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:5847:19:  [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).
  return ((char *)strcpy((char *)Malloc(strlen(string)+1), string));
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:257: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(FileName, Name) ; strcat(FileName, Extension) ;
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:257:28:  [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).
  strcpy(FileName, Name) ; strcat(FileName, Extension) ;
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:796:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(FileRe, "%s_%d", Name_File, it->first);
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:797:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(FileIm, "%s_%d", Name_File, it->first);
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:800: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(FileRe, Name_File);
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:801: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(FileIm, Name_File);
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_ARPACK.cpp:88: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(path, Name_Path);
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_ARPACK.cpp:89: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(path, filename);
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:969:7:  [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_coefsNum[k],str_buff);
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:973:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(str_coefsNum[k],str_buff);
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:977:7:  [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_coefsDen[k],str_buff);
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:981:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(str_coefsDen[k], str_buff);
data/getdp-3.2.0+dfsg1/Kernel/Generate_Network.cpp:128: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(FileName, Name_Path);
data/getdp-3.2.0+dfsg1/Kernel/Generate_Network.cpp:129: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(FileName, Name);
data/getdp-3.2.0+dfsg1/Kernel/GeoEntity.cpp:464:6:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    fprintf(File_PRE, (j%10)? " %d" : "%d", Num_Entities[j]) ;
data/getdp-3.2.0+dfsg1/Kernel/LinAlg_SPARSKIT.cpp:84: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(FileName, Name_Path);
data/getdp-3.2.0+dfsg1/Kernel/LinAlg_SPARSKIT.cpp:90: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(FileName, SolverDataFileName);
data/getdp-3.2.0+dfsg1/Kernel/LinAlg_SPARSKIT.cpp:94:7:  [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(FileName, SolverDataFileName);
data/getdp-3.2.0+dfsg1/Kernel/LinAlg_SPARSKIT.cpp:99: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(FileName, Name_SolverFile);
data/getdp-3.2.0+dfsg1/Kernel/LinAlg_SPARSKIT.cpp:103:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(FileName, Name_DefaultSolverFile);
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:452: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(pro, argv[i++]);
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:643: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_ResFile[0], Name_Generic);
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:657: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_MshFile, Name_Generic);
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:67: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(sidj, cidj);
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:275:9:  [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(sidj, cidj);
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:506:13:  [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(sidj, cidj);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1145: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, Order ? Name1 : Name2) ;
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1146:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(name, Get_StringForDefine(PostSubOperation_CombinationType, Type)) ;
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1147:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(name, Order ? Name2 : Name1) ;
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1150: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, Name1) ;
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1152: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, Name2) ;
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1156: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(CurrentName, name);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1269:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
              sprintf(tmp, "Eigenvalue %d/%d: %g %s i * %g (Real Part)",
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1275:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
              sprintf(tmp, "Eigenvalue %d/%d: %g %s i * %g (Imaginary Part)",
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:389: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(PostFileName, Fix_RelativePath(PostSubOperation_P->FileOut,
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:398:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(AddExt, PostSubOperation_P->AppendExpressionFormat, Value.Val[0]);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:401:7:  [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(PostFileName, AddExt);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:408:7:  [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(PostFileName, AddExt);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:412:7:  [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(PostFileName, PostSubOperation_P->AppendStringToFileName);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:569: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(NewCoordsFileName, Fix_RelativePath(PostSubOperation_P->NewCoordinatesFile,
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2035: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(ResName, Name_Generic) ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2047: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(ResName, ResNum) ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2064: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(ResName, Name_Generic) ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2082: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(ResName, Name_Generic) ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2442: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(FileName_exMH, Name_Generic) ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2443:7:  [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(FileName_exMH, Operation_P->Case.SaveSolutionExtendedMH.ResFile) ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2478: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(FileName_exMH, Name_Generic) ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2479:7:  [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(FileName_exMH, Operation_P->Case.SaveSolutionMHtoTime.ResFile) ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2608:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(FileName, Operation_P->Case.SaveMesh.FileName);
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2611:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(FileName, Name_Path);
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2612: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(FileName, Operation_P->Case.SaveMesh.FileName);
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2618: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).
        char fmt[256]; strcpy(fmt, FileName);
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2619:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(FileName, fmt, Value.Val[0]);
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:3255: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(FileName, Operation_P->Case.Print.FileOut);
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:3258: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(FileName, Name_Path);
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:3259: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(FileName, Operation_P->Case.Print.FileOut);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1236: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(filename, name);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1237: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(filename, ext);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1277: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(filename, name);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1278: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(filename, ext);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1373: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(filename, name);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1374: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(filename, ext);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1426: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(filename, name);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1427: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(filename, ext);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1447: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(filename, name);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1448: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(filename, ext);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1491: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(filename, name);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1492: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(filename, ext);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1885:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(out,pI->com,pI->str,pI->defaultfloat);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1888:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(out,pI->com,pI->str,pI->defaultint);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1933:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	  printf(pI->com,pI->str,pI->defaultfloat);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1957:4:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	  printf(pI->com,pI->str,pI->defaultint);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1977:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      fscanf(file,"%s",buff);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1995:4:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	  fscanf(file,"%s",buff);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:211:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* emacs = getenv("EMACS");
data/getdp-3.2.0+dfsg1/Common/Message.cpp:226:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* term = getenv("TERM");
data/getdp-3.2.0+dfsg1/Common/OS.cpp:327:3:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
  CreateProcess(NULL, (char*)command, NULL, NULL, FALSE,
data/getdp-3.2.0+dfsg1/Common/OS.cpp:327:3:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
  CreateProcess(NULL, (char*)command, NULL, NULL, FALSE,
data/getdp-3.2.0+dfsg1/Common/OS.cpp:446:6:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  if(realpath(fileName.c_str(), path))
data/getdp-3.2.0+dfsg1/Common/picojson.h:1147:8:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    is.setstate(std::ios::failbit);
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:367:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      const char* template_dir = getenv("GETDP_TEMPLATES");
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:140:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(x, a, size);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:295: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).
      int portno = atoi(port + 1);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:297: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 remote[256];
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:309:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((char *)&addr_in.sin_addr.s_addr, (char *)server->h_addr, server->h_length);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:323: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 tmp[256];
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:325: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(tmp, "%d", getpid());
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:327: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(tmp, "%d", _getpid());
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:380: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).
      _portno = atoi(port + 1);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:407: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 tmp[256];
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:414:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char s[1024];
data/getdp-3.2.0+dfsg1/Common/ListUtils.cpp:105: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(&liste->array[(liste->n - 1) * liste->size], data, liste->size);
data/getdp-3.2.0+dfsg1/Common/ListUtils.cpp:117: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(data, &liste->array[index * liste->size], liste->size);
data/getdp-3.2.0+dfsg1/Common/ListUtils.cpp:126: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(&liste->array[index * liste->size], data, liste->size);
data/getdp-3.2.0+dfsg1/Common/ListUtils.cpp:372: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(data,ptr,liste->size);
data/getdp-3.2.0+dfsg1/Common/ListUtils.cpp:392: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(dest->array, src->array, src->nmax * src->size);
data/getdp-3.2.0+dfsg1/Common/ListUtils.cpp:437: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(ptr,data,liste->size);
data/getdp-3.2.0+dfsg1/Common/ListUtils.cpp:481: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(data,ptr,liste->size);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:238: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[1024];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:271: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[1024];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:304: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[1024];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:332: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[1024];
data/getdp-3.2.0+dfsg1/Common/Message.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 str[1024];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:376: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[1024];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:388: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[1024];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:415: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[5000];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:451: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[1024];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:481: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[1024];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:523: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[1024];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:542: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 tmp[128];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:543: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(tmp, "Wall = %gs", GetWallClockTime());
data/getdp-3.2.0+dfsg1/Common/Message.cpp:551: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 tmp[128];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:553: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(tmp, "CPU = %gs [%gs,%gs]", sum[0], min[0], max[0]);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:555: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(tmp, "CPU = %gs", max[0]);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:563: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 tmp[128];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:565: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(tmp, "Mem = %gMb [%gMb,%gMb]", sum[1], min[1], max[1]);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:567: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(tmp, "Mem = %gMb", max[1]);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:579: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 tmp[128];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:580: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(tmp, "Recv/Send = %g/%gMb", rmb, smb);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:584: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[256] = "";
data/getdp-3.2.0+dfsg1/Common/Message.cpp:614: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[1024], str2[4096];
data/getdp-3.2.0+dfsg1/Common/Message.cpp:667: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 tmp[256];
data/getdp-3.2.0+dfsg1/Common/OS.cpp:203:8:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 wchar_t *wbuf[2] = {NULL, NULL};
data/getdp-3.2.0+dfsg1/Common/OS.cpp:229:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return fopen(f, mode);
data/getdp-3.2.0+dfsg1/Common/OS.cpp:437:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t path[MAX_PATH];
data/getdp-3.2.0+dfsg1/Common/OS.cpp:440: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 dst[MAX_PATH];
data/getdp-3.2.0+dfsg1/Common/OS.cpp:445:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path[4096];
data/getdp-3.2.0+dfsg1/Common/TreeUtils.cpp:37: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(ptr, data, tree->size);
data/getdp-3.2.0+dfsg1/Common/TreeUtils.cpp:70: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(data, ptr, tree->size);
data/getdp-3.2.0+dfsg1/Common/TreeUtils.cpp:137:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, data, tree->size);
data/getdp-3.2.0+dfsg1/Common/onelab.h:286: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).
      setChangedValue(atoi(getNextToken(msg, pos).c_str()));
data/getdp-3.2.0+dfsg1/Common/onelab.h:287: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).
      setVisible(atoi(getNextToken(msg, pos).c_str()));
data/getdp-3.2.0+dfsg1/Common/onelab.h:288: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).
      setReadOnly(atoi(getNextToken(msg, pos).c_str()));
data/getdp-3.2.0+dfsg1/Common/onelab.h:289: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).
      int numAttributes = atoi(getNextToken(msg, pos).c_str());
data/getdp-3.2.0+dfsg1/Common/onelab.h:294: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).
      int numClients = atoi(getNextToken(msg, pos).c_str());
data/getdp-3.2.0+dfsg1/Common/onelab.h:297: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).
        int changed = atoi(getNextToken(msg, pos).c_str());
data/getdp-3.2.0+dfsg1/Common/onelab.h:313: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 tmp[1000];
data/getdp-3.2.0+dfsg1/Common/onelab.h:568:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      _values.resize(atoi(getNextToken(msg, pos).c_str()));
data/getdp-3.2.0+dfsg1/Common/onelab.h:574: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).
      setIndex(atoi(getNextToken(msg, pos).c_str()));
data/getdp-3.2.0+dfsg1/Common/onelab.h:575: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).
      _choices.resize(atoi(getNextToken(msg, pos).c_str()));
data/getdp-3.2.0+dfsg1/Common/onelab.h:578: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).
      int numValueLabels = atoi(getNextToken(msg, pos).c_str());
data/getdp-3.2.0+dfsg1/Common/onelab.h:773:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      _values.resize(atoi(getNextToken(msg, pos).c_str()));
data/getdp-3.2.0+dfsg1/Common/onelab.h:777: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).
      _choices.resize(atoi(getNextToken(msg, pos).c_str()));
data/getdp-3.2.0+dfsg1/Common/picojson.h:473: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[sizeof("-9223372036854775808")];
data/getdp-3.2.0+dfsg1/Common/picojson.h:479: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[256];
data/getdp-3.2.0+dfsg1/Common/picojson.h:533: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[7];
data/getdp-3.2.0+dfsg1/Common/picojson.h:1067: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[64];
data/getdp-3.2.0+dfsg1/Functions/F_Hysteresis.cpp:2324: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 solver_type[100]="'Multivariate Angles Root Finding for Update hr' ";
data/getdp-3.2.0+dfsg1/Functions/F_Hysteresis.cpp:2441: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 solver_type[100]="'1D Brent for Update hr' ";
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:147: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 tmp[256];
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:154: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 tmp2[256];
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:155: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(tmp2, "_%g", (A+i)->Val[0]);
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:170: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 tmp[256];
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:177: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 tmp2[256];
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:178: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(tmp2, "_%g", (A+i)->Val[0]);
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:196:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[256];
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:203: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 tmp2[256];
data/getdp-3.2.0+dfsg1/Functions/F_Misc.cpp:204: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(tmp2, "_%g", (A+i)->Val[0]);
data/getdp-3.2.0+dfsg1/Functions/F_Octave.cpp:75: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 tmp[256];
data/getdp-3.2.0+dfsg1/Functions/F_Octave.cpp:78:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "input{%d} = %.16g+%.16gi;", i + 1,
data/getdp-3.2.0+dfsg1/Functions/F_Octave.cpp:81:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "input{%d} = %.16g;", i + 1, (A + i)->Val[0]);
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:64: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 tmp[256];
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:67: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(tmp, "%.16g+%.16gj",
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:70: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(tmp, "%.16g", (A + i)->Val[0]);
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:74:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp2[256];
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:77: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(tmp2, "%.16g+%.16gj",
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:80: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(tmp2, "%.16g", (A + i)->Val[j]);
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:98:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen(file.c_str(), "r");
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:311: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 AbsPath[2048];
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:337: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 AbsPath[4096];
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:1971:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[128];
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:1983: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).
    ichoice = atoi(buff);
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:1995:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   buff[128];
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:2033: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).
          ichoice = atoi(buff);
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:2055:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void Print_ListPostOperation(int choose, int Flag_LPOS, char *name[NBR_MAX_POS])
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:2059:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   buff[128];
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:2111: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).
          ichoice = atoi(buff);
data/getdp-3.2.0+dfsg1/Interface/ProData.h:1824:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void Print_ListPostOperation(int choice, int flag_lpos, char *name[NBR_MAX_POS]);
data/getdp-3.2.0+dfsg1/Interface/ProDefine.cpp:154:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Valid[5000];
data/getdp-3.2.0+dfsg1/Interface/ProParser.h:164: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 tmp[32];
data/getdp-3.2.0+dfsg1/Interface/ProParser.h:168: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(tmp, "%g", it_attrib->second[i]); str += tmp;
data/getdp-3.2.0+dfsg1/Interface/ProParser.h:458: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.
extern char getdp_yyincludename[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:119:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char getdp_yyincludename[256] = "";
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:170:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *LoopControlVariablesNameTab[MAX_RECUR_LOOPS];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:7696: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:7885: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 yymsgbuf[128];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:8505: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 tmp[128];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:8506: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(tmp, "%d", (yyvsp[0].i));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:8524: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 tmp[128];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:8525: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(tmp, "%d", (yyvsp[0].i));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:8577: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:8755: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:10734: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:17951: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:17974: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:17995: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:18010: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:18025: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:18043: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:18329: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19804: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 dummy[1024];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19833: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19834: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(tmpstr, "_%d", (int)(yyvsp[-1].d));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19835:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-4].c))+strlen(tmpstr)+1)*sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19845: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19846: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(tmpstr, "_%d", (int)(yyvsp[-1].d));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19847:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-4].c))+strlen(tmpstr)+1)*sizeof(char)) ;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19857: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19858: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(tmpstr, "_%d", (int)(yyvsp[-1].d));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19859:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-5].c))+strlen(tmpstr)+1)*sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19921:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-1].c)) + 1) * sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19939:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-1].c)) + 1) * sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20067: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20102:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str_date[80];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20927: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21013: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 num = atoi(str);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21033: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 tmpstr[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21190: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 tmp[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21191: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(tmp, " [%d]%g", i, d);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21197: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 tmp1[256], tmp2[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21250:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char tmp[32];
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21251: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(tmp, "%g", d);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21308: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[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:4798: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).
{ getdp_yylval.i = atoi(yytext); return tINT; }
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:5884: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 tmp[2048];
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:5918: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 chars[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:5999: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 chars[256];
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:6114: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 chars[5];
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:247: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    FileName[256] ;
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:317: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  String[256] ;
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:455: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        String[256] ;
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:794: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 FileRe[256], FileIm[256] ;
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:804: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(FileRe, "_Re.txt");
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:805: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(FileIm, "_Im.txt");
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:808: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(FileRe, ".txt");
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:809: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(FileIm, ".txt");
data/getdp-3.2.0+dfsg1/Kernel/DofData.cpp:919: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            String[256] ;
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_ARPACK.cpp:59:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[256];
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_ARPACK.cpp:69: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[256];
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_ARPACK.cpp:73:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      *i = atoi(str);
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_ARPACK.cpp:79:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path[1024];
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:840: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_coefsNum[6][max_Nchar];
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:841: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_coefsDen[6][max_Nchar];
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:842: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_buff[50];
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:964:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str_coefsNum[k],"num%d(iw)=", k + 1);
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:965:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str_coefsDen[k],"den%d(iw)=", k + 1);
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:967:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(str_buff," (%+.2e)*(iw)^%d +",
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:971:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str_buff," (%+.2e)",
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:975: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_buff," (%+.2e)*(iw)^%d +",
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_SLEPC.cpp:979:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str_buff," (%+.2e)",
data/getdp-3.2.0+dfsg1/Kernel/Generate_Network.cpp:127: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 FileName[256];
data/getdp-3.2.0+dfsg1/Kernel/Generate_Network.cpp:130:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
  strcat(FileName, ".cache");
data/getdp-3.2.0+dfsg1/Kernel/Generate_Network.cpp:133:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen(FileName, "r");
data/getdp-3.2.0+dfsg1/Kernel/Generate_Network.cpp:177:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen(FileName, "w");
data/getdp-3.2.0+dfsg1/Kernel/GeoData.cpp:38: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(x, a, size);
data/getdp-3.2.0+dfsg1/Kernel/GeoData.cpp:401:9:  [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).
  gmsh::open(name);
data/getdp-3.2.0+dfsg1/Kernel/GeoData.cpp:559: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                String[256] = "" ;
data/getdp-3.2.0+dfsg1/Kernel/GeoData.cpp:1005:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char       String[256] ;
data/getdp-3.2.0+dfsg1/Kernel/GeoEntity.cpp:503: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  String[256] ;
data/getdp-3.2.0+dfsg1/Kernel/GeoNormal.cpp:91: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(NXE.NumEntities, tmp, NXE.NbrEntities * sizeof(int));
data/getdp-3.2.0+dfsg1/Kernel/GeoNormal.cpp:149: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(Normal, EXV_P->Vector, 3*sizeof(double));
data/getdp-3.2.0+dfsg1/Kernel/GeoNormal.cpp:154: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(EXV.Vector, Normal, 3*sizeof(double));
data/getdp-3.2.0+dfsg1/Kernel/LinAlg_SPARSKIT.cpp:26:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *SolverOptions[100];
data/getdp-3.2.0+dfsg1/Kernel/LinAlg_SPARSKIT.cpp:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char FileName[256];
data/getdp-3.2.0+dfsg1/Kernel/LinAlg_SPARSKIT.cpp:154: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(V2->V, V1->V, V1->N*sizeof(double)) ;
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:37:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char   *Name_PostOperation[NBR_MAX_POS] = {0};
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:38:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char   *Name_ResFile[NBR_MAX_RES] = {0};
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:39:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char   *Name_GmshReadFile[NBR_MAX_RES] = {0};
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:205:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          int s = atoi(argv[i + 1]), j = 0;
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:228: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).
	  Message::SetVerbosity(atoi(argv[i])); i++;
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:242: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).
          Message::SetNumThreads(atoi(argv[i++]));
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:266: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).
	  Message::SetProgressMeterStep(atoi(argv[i])); i++;
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:276: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).
	  Flag_PRE = 1; *lres = -atoi(argv[i]+1); i++;
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:313: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).
	  Flag_PRE = Flag_CAL = 1; *lres = -atoi(argv[i]+1); i++;
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:327: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).
	  Flag_POS = 1; *lpos = -atoi(argv[i]+1); i++;
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:418: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).
	  Tag_GmshReadFile[j] = atoi(argv[i]); i++; j++;
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:471: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(pro,".pro");
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:481:9:  [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(pro,".pro");
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:617: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 pro[256];
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:644:5:  [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(Name_ResFile[0], ".res");
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:658:5:  [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(Name_MshFile, ".msh");
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:61:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char sidj[STRING_SIZE];
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:65:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char cidj[STRING_SIZE];
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:86:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char key[STRING_SIZE];
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:192:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char dataType[2] = {dataTypes[i][0], dataTypes[i][1]};
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:212:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char dataType[2];
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:269: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 sidj[STRING_SIZE];
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:273: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 cidj[STRING_SIZE];
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:502: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 sidj[STRING_SIZE];
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:504: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 cidj[STRING_SIZE];
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:682:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char key[STRING_SIZE];
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:696:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char key[STRING_SIZE];
data/getdp-3.2.0+dfsg1/Kernel/Operation_IterativeLinearSolver.cpp:1207:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[50];
data/getdp-3.2.0+dfsg1/Kernel/Operation_IterativeLinearSolver.cpp:1209:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(filename, "log_cpu_%d", mpi_comm_rank);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:68:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char CurrentName[256] = "";
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1133:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[256] ;
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1154: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(name, "unnamed");
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1208: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      tmp[1024];
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1229: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(tmp, "Step %d/%d: Time = %g", i+1, NbTimeStep, valr);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1244: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(tmp, "%g Hz (real part: COSINUS)", freq);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1246: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(tmp, "%g Hz (imag part: -SINUS)", freq);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:1262: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(tmp, "Eigenvalue %d/%d: %g",
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:40:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char PostFileName[256];
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:396: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 AddExt[100];
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:400: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(AddExt, "%.16g", Value.Val[0]);
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:405: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 AddExt[100] ;
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:406: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(AddExt, "_%03d", (PostSubOperation_P->OverrideTimeStepValue >= 0) ?
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:568: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 NewCoordsFileName[256];
data/getdp-3.2.0+dfsg1/Kernel/Pos_Print.cpp:1613:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[1024];
data/getdp-3.2.0+dfsg1/Kernel/SolvingAnalyse.cpp:33: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.
extern char   *Name_PostOperation[NBR_MAX_POS] ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingAnalyse.cpp:34: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.
extern char   *Name_MshFile, *Name_ResFile[NBR_MAX_RES], *Name_AdaptFile ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:52:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char  *Name_MshFile, *Name_ResFile[NBR_MAX_RES] ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:748: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    ResName[256], ResNum[256] ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:749: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    FileName[256];
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:750: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    FileName_exMH[256];
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2037: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(ResName, ".res") ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2045: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(ResNum, "%d.res", (int)Current.TimeStep) ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2083: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(ResName, ".res") ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2444: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(FileName_exMH, ".res") ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2480: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(FileName_exMH, ".res") ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2618: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 fmt[256]; strcpy(fmt, FileName);
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:3286:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buffer[1024];
data/getdp-3.2.0+dfsg1/Kernel/rtree.h:437:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    m_file = fopen(a_fileName, "rb");
data/getdp-3.2.0+dfsg1/Kernel/rtree.h:447:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    m_file = fopen(a_fileName, "wb");
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:291:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    pf = fopen("fort.13","w");
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1229: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  filename[256];
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1238:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  pfile = fopen(filename, "wb") ;
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1274: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 filename[256];
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1279:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  pfile = fopen(filename, "wb") ;
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1371: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  filename[256];
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1375:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  pfile = fopen(filename, "rb") ;
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1423: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 filename[256];
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1428:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  pfile = fopen(filename, "rb") ;
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1445: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 filename[256];
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1449:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  pfile = fopen(filename, "r") ;
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1489: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 filename[256];
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1493:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  pfile = fopen(filename, "r") ;
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1896:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[128];
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1908:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(!(file = fopen(name,"r"))){
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1909:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen(name,"w");
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1966: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).
	  fprintf(file,"%25s %12d\n",pI->str,atoi(buff));
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1967: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).
	  (pI->action)(p,atoi(buff),pI->defaultfloat);
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:2032:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	vali = atoi(value);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:150:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(1000 * ms);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:196: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).
    SendMessage(type, strlen(str), str);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:296:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int remotelen = strlen(sockname) - strlen(port);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:296: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).
      int remotelen = strlen(sockname) - strlen(port);
data/getdp-3.2.0+dfsg1/Common/GmshSocket.h:299:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(remote, sockname, remotelen);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:93: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(fmt) > size - 1){ // just copy the format
data/getdp-3.2.0+dfsg1/Common/Message.cpp:94:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(str, fmt, size - 1);
data/getdp-3.2.0+dfsg1/Common/Message.cpp:528: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(fmt)) strcat(str, " ");
data/getdp-3.2.0+dfsg1/Common/Message.cpp:528:19:  [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.
  if(strlen(fmt)) strcat(str, " ");
data/getdp-3.2.0+dfsg1/Common/OS.cpp:211:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t l = strlen(f);
data/getdp-3.2.0+dfsg1/Common/OS.cpp:315:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep((long)(1.e6 * s));
data/getdp-3.2.0+dfsg1/Common/onelab.h:320:53:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        for(int i = 0; i < numc; i++) msg.back() += fgetc(fp);
data/getdp-3.2.0+dfsg1/Common/picojson.h:485:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t decimal_point_len = strlen(decimal_point);
data/getdp-3.2.0+dfsg1/Common/picojson.h:646:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int getc() {
data/getdp-3.2.0+dfsg1/Common/picojson.h:676:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int ch = getc();
data/getdp-3.2.0+dfsg1/Common/picojson.h:685:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (getc() != expected) {
data/getdp-3.2.0+dfsg1/Common/picojson.h:693:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (getc() != *pi) {
data/getdp-3.2.0+dfsg1/Common/picojson.h:705:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((hex = in.getc()) == -1) {
data/getdp-3.2.0+dfsg1/Common/picojson.h:734:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (in.getc() != '\\' || in.getc() != 'u') {
data/getdp-3.2.0+dfsg1/Common/picojson.h:734:33:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (in.getc() != '\\' || in.getc() != 'u') {
data/getdp-3.2.0+dfsg1/Common/picojson.h:766:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch = in.getc();
data/getdp-3.2.0+dfsg1/Common/picojson.h:773:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((ch = in.getc()) == -1) {
data/getdp-3.2.0+dfsg1/Common/picojson.h:844:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ch = in.getc();
data/getdp-3.2.0+dfsg1/Common/picojson.h:863:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int ch = in.getc();
data/getdp-3.2.0+dfsg1/Common/picojson.h:1071:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int ch = in.getc();
data/getdp-3.2.0+dfsg1/Functions/F_Hysteresis.cpp:2869:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if(getchar()){
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:73:7:  [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(tmp, "[");
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:81:20:  [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.
        if(j != 2) strcat(tmp2, ",");
data/getdp-3.2.0+dfsg1/Functions/F_Python.cpp:84:7:  [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(tmp, "]");
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:301: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).
  if(!name || !strlen(name)) return "";
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:313:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int i = strlen(AbsPath) - 1;
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:341: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(name) > 0 && (name[0] == '/' || name[0] == '\\')) ||
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:342: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).
     (strlen(name) > 3 && name[1] == ':' && (name[2] == '\\' || name[2] == '/'))){
data/getdp-3.2.0+dfsg1/Interface/ProData.cpp:370:9:  [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(AbsPath, "/");
data/getdp-3.2.0+dfsg1/Interface/ProDefine.cpp:165:5:  [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(Valid, " ");                                                 \
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:7593:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#   define yystrlen strlen
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:17244: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(LoopControlVariablesNameTab[ImbricatedLoop-1])){
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19835: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).
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-4].c))+strlen(tmpstr)+1)*sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19835:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-4].c))+strlen(tmpstr)+1)*sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19847: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).
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-4].c))+strlen(tmpstr)+1)*sizeof(char)) ;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19847:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-4].c))+strlen(tmpstr)+1)*sizeof(char)) ;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19859: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).
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-5].c))+strlen(tmpstr)+1)*sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19859:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-5].c))+strlen(tmpstr)+1)*sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19903:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size += strlen(s) + 1;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19921: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).
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-1].c)) + 1) * sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19923: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).
      for(i = strlen((yyvsp[-1].c)) - 1; i >= 0; i--){
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19925:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy((yyval.c), (yyvsp[-1].c), i);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19939: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).
      (yyval.c) = (char *)Malloc((strlen((yyvsp[-1].c)) + 1) * sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19941: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).
      for(i = strlen((yyvsp[-1].c)) - 1; i >= 0; i--){
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19961:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size += strlen(s) + 1;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:19970:46:  [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.
        if(i != List_Nbr((yyvsp[-1].l)) - 1) strcat((yyval.c), "\n");
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20078: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).
	(yyval.c) = (char*)Malloc((strlen(tmpstr)+1)*sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20092: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).
      (yyval.c) = (char *)Malloc((strlen(ctime(&date_info))+1)*sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20094:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (yyval.c)[strlen((yyval.c))-1] = 0;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20108: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).
      (yyval.c) = (char *)Malloc((strlen(str_date)+1)*sizeof(char));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20464:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(yyval.i) = strlen((yyvsp[-1].c));
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:20908:3:  [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(getdp_yyincludename, "");
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21183: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(unsigned int i = 0; i < strlen(format); i++)
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21201: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).
  while(j < (int)strlen(format) && format[j] != '%') j++;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21202:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buffer, format, j);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21207:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(j < (int)strlen(format)){
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21209:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(buffer, "%");
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21212: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).
      while(j < (int)strlen(format) && format[j] != '%') j++;
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21214:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(tmp1, &(format[k]), j-k);
data/getdp-3.2.0+dfsg1/Interface/ProParser.tab.cpp:21223: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).
  if(j != (int)strlen(format))
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:2371:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(getdp_yyin);				\
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:2488:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:5580: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).
	return yy_scan_bytes( yystr, (int) strlen(yystr) );
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:5847:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return ((char *)strcpy((char *)Malloc(strlen(string)+1), string));
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:5923: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).
  l_skip = (skip)? strlen(skip) : 0;
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:5924:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l_until = strlen(until);
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:6004: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).
  l_skip = (skip)? strlen(skip) : 0;
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:6005:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l_until = strlen(until);
data/getdp-3.2.0+dfsg1/Interface/ProParser.yy.cpp:6006: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).
  l_until2 = (until2)? strlen(until2) : 0;
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_ARPACK.cpp:62:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(str) && strcmp(str, "\n"))
data/getdp-3.2.0+dfsg1/Kernel/EigenSolve_ARPACK.cpp:72:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(str) && strcmp(str, "\n"))
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:133:3:  [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(pro, "");
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:450: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).
      if (!strlen(pro)) {
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:461: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(pro)){
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:469:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strcmp(pro+(strlen(pro)-4), ".pro") &&
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:470: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).
	 strcmp(pro+(strlen(pro)-4), ".PRO"))
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:473: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).
	Name_Generic[strlen(pro)-4] = '\0';
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:479:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strcmp(pro+(strlen(pro)-4), ".pro") &&
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:480: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).
         strcmp(pro+(strlen(pro)-4), ".PRO"))
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:485: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).
    i = strlen(Name_Path)-1;
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:642:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    Name_ResFile[0] = (char*)Malloc((strlen(Name_Generic)+5)*sizeof(char));
data/getdp-3.2.0+dfsg1/Kernel/MainKernel.cpp:656: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).
    Name_MshFile = (char*)Malloc((strlen(Name_Generic)+5)*sizeof(char));
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:62:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(sidj, s, sizeof(sidj));
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:87:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(key, names[i].c_str(), sizeof(key));
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:270:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(sidj, s, sizeof(sidj));
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:299:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(&(vnames[i*STRING_SIZE]), names[i].c_str(), STRING_SIZE);
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:503:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(sidj, s, sizeof(sidj));
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:537:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(&(vnames_toscatter[i*STRING_SIZE]), names[i].c_str(), STRING_SIZE);
data/getdp-3.2.0+dfsg1/Kernel/Operation_Broadcast.cpp:683:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(key, names[i].c_str(), sizeof(key));
data/getdp-3.2.0+dfsg1/Kernel/Pos_Format.cpp:105: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).
    for(i = 0; i < (int)strlen(text)+1; i++)
data/getdp-3.2.0+dfsg1/Kernel/Pos_Formulation.cpp:415: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(PostFileName) ||
data/getdp-3.2.0+dfsg1/Kernel/Pos_Print.cpp:1591: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).
  if((!str || !strlen(str)) && (!str2 || !strlen(str2)) && !List_Nbr(expr))
data/getdp-3.2.0+dfsg1/Kernel/Pos_Print.cpp:1591:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if((!str || !strlen(str)) && (!str2 || !strlen(str2)) && !List_Nbr(expr))
data/getdp-3.2.0+dfsg1/Kernel/SolvingAnalyse.cpp:617: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).
    while(Name_PostOperation[i] && strlen(Name_PostOperation[i])){
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2044:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(ResName, "-") ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2046: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).
	for(int i = 0; i < 5+4-(int)strlen(ResNum); i++) strcat(ResName, "0") ;
data/getdp-3.2.0+dfsg1/Kernel/SolvingOperations.cpp:2046:51:  [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.
	for(int i = 0; i < 5+4-(int)strlen(ResNum); i++) strcat(ResName, "0") ;
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1926:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	  strcpy(buff, "\n");
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1949:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	  strcpy(buff, "\n");
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1988:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    if((getc(file)=='*')&&(getc(file)=='/')){
data/getdp-3.2.0+dfsg1/contrib/Sparskit/Sparskit.cpp:1988:29:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    if((getc(file)=='*')&&(getc(file)=='/')){

ANALYSIS SUMMARY:

Hits = 529
Lines analyzed = 112491 in approximately 3.37 seconds (33351 lines/second)
Physical Source Lines of Code (SLOC) = 90342
Hits@level = [0] 604 [1] 106 [2] 262 [3]   7 [4] 153 [5]   1
Hits@level+ = [0+] 1133 [1+] 529 [2+] 423 [3+] 161 [4+] 154 [5+]   1
Hits/KSLOC@level+ = [0+] 12.5412 [1+] 5.85553 [2+] 4.68221 [3+] 1.78212 [4+] 1.70463 [5+] 0.011069
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.